1 | import { TextDocument } from 'vscode-languageserver-textdocument';
|
2 | import { Range } from 'vscode-languageserver-types';
|
3 | import { Instruction } from './instruction';
|
4 | import { Dockerfile } from './dockerfile';
|
5 | export declare class Parser {
|
6 | private escapeChar;
|
7 | static createInstruction(document: TextDocument, dockerfile: Dockerfile, escapeChar: string, lineRange: Range, instruction: string, instructionRange: Range): Instruction;
|
8 | private getParserDirectives;
|
9 | private document;
|
10 | private buffer;
|
11 | parse(buffer: string): Dockerfile;
|
12 | private processInstruction;
|
13 | private parseHeredocName;
|
14 | private processHeredocs;
|
15 | private processArguments;
|
16 | private processComment;
|
17 | private parseHeredoc;
|
18 | private createInstruction;
|
19 | }
|