1 | import { TextDocument } from 'vscode-languageserver-textdocument';
|
2 | import { Range } from 'vscode-languageserver-types';
|
3 | import { Dockerfile } from './dockerfile';
|
4 | import { Line } from './line';
|
5 | import { Argument } from './argument';
|
6 | import { Heredoc } from './heredoc';
|
7 | import { Variable } from './variable';
|
8 | export declare class Instruction extends Line {
|
9 | protected readonly dockerfile: Dockerfile;
|
10 | protected readonly escapeChar: string;
|
11 | private readonly instruction;
|
12 | private readonly instructionRange;
|
13 | constructor(document: TextDocument, range: Range, dockerfile: Dockerfile, escapeChar: string, instruction: string, instructionRange: Range);
|
14 | toString(): string;
|
15 | protected getRangeContent(range: Range | null): string | null;
|
16 | getInstructionRange(): Range;
|
17 | getInstruction(): string;
|
18 | getKeyword(): string;
|
19 | getArgumentsRange(): Range | null;
|
20 | getArgumentsRanges(): Range[];
|
21 | getRawArgumentsContent(): string | null;
|
22 | getArgumentsContent(): string | null;
|
23 | getArguments(): Argument[];
|
24 | private getRawArguments;
|
25 | getExpandedArguments(): Argument[];
|
26 | getVariables(): Variable[];
|
27 | private parseVariables;
|
28 | private isBuildVariable;
|
29 | private createSingleLineHeredocs;
|
30 | private getName;
|
31 | private getNameRange;
|
32 | protected getHeredocs(): Heredoc[];
|
33 | private getDelimiterRange;
|
34 | }
|