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