UNPKG

dockerfile-ast

Version:

Parse a Dockerfile into an array of instructions and comments.

9 lines (8 loc) 470 B
import { TextDocument } from 'vscode-languageserver-textdocument'; import { Range } from 'vscode-languageserver-types'; import { Dockerfile } from '../dockerfile'; import { JSONInstruction } from '../jsonInstruction'; export declare class Add extends JSONInstruction { constructor(document: TextDocument, range: Range, dockerfile: Dockerfile, escapeChar: string, instruction: string, instructionRange: Range); stopSearchingForFlags(argument: string): boolean; }