UNPKG

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