UNPKG

692 BTypeScriptView Raw
1import { TextDocument } from 'vscode-languageserver-textdocument';
2import { Range } from 'vscode-languageserver-types';
3import { Dockerfile } from '../dockerfile';
4import { Property } from '../property';
5import { PropertyInstruction } from '../propertyInstruction';
6export declare class Arg extends PropertyInstruction {
7 private property;
8 constructor(document: TextDocument, range: Range, dockerfile: Dockerfile, escapeChar: string, instruction: string, instructionRange: Range);
9 /**
10 * Returns the variable defined by this ARG. This may be null if
11 * this ARG instruction is malformed and has no variable
12 * declaration.
13 */
14 getProperty(): Property | null;
15}