UNPKG

822 BTypeScriptView Raw
1import { TextDocument } from 'vscode-languageserver-textdocument';
2import { Range } from 'vscode-languageserver-types';
3import { Dockerfile } from './dockerfile';
4import { Argument } from './argument';
5import { JSONArgument } from './jsonArgument';
6import { ModifiableInstruction } from './modifiableInstruction';
7export declare class JSONInstruction extends ModifiableInstruction {
8 private readonly openingBracket;
9 private readonly closingBracket;
10 private readonly jsonStrings;
11 constructor(document: TextDocument, range: Range, dockerfile: Dockerfile, escapeChar: string, instruction: string, instructionRange: Range);
12 protected stopSearchingForFlags(_value: string): boolean;
13 getOpeningBracket(): Argument | null;
14 getJSONStrings(): JSONArgument[];
15 getClosingBracket(): Argument | null;
16}