UNPKG

817 BTypeScriptView Raw
1import { TextDocument } from 'vscode-languageserver-textdocument';
2import { Range } from 'vscode-languageserver-types';
3import { Dockerfile } from '../dockerfile';
4import { Heredoc } from '../heredoc';
5import { JSONInstruction } from '../jsonInstruction';
6export declare class Run extends JSONInstruction {
7 constructor(document: TextDocument, range: Range, dockerfile: Dockerfile, escapeChar: string, instruction: string, instructionRange: Range);
8 stopSearchingForFlags(argument: string): boolean;
9 private createSingleLineHeredocs;
10 private getName;
11 private getNameRange;
12 /**
13 * Returns there here-documents that are defined in this RUN
14 * instruction.
15 *
16 * This API is experimental and subject to change.
17 */
18 getHeredocs(): Heredoc[];
19 private getDelimiterRange;
20}