1 | import { TextDocument, Range } from 'vscode-languageserver-types';
|
2 | import { Dockerfile } from './dockerfile';
|
3 | import { Instruction } from './instruction';
|
4 | import { Property } from './property';
|
5 | import { Argument } from './argument';
|
6 | export declare abstract class PropertyInstruction extends Instruction {
|
7 | private properties;
|
8 | constructor(document: TextDocument, range: Range, dockerfile: Dockerfile, escapeChar: string, instruction: string, instructionRange: Range);
|
9 | getProperties(): Property[];
|
10 | /**
|
11 | * Goes from the back of the string and returns the first
|
12 | * non-whitespace character that is found. If an escape character
|
13 | * is found with newline characters, the escape character will
|
14 | * not be considered a non-whitespace character and its index in
|
15 | * the string will not be returned.
|
16 | *
|
17 | * @param content the string to search through
|
18 | * @return the index in the string for the first non-whitespace
|
19 | * character when searching from the end of the string
|
20 | */
|
21 | private findTrailingNonWhitespace;
|
22 | getPropertyArguments(): Argument[];
|
23 | private createSpacedArgument;
|
24 | }
|