UNPKG

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