UNPKG

701 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 /**
10 * Returns there here-documents that are defined in this RUN
11 * instruction.
12 *
13 * This API is experimental and subject to change.
14 */
15 getHeredocs(): Heredoc[];
16}