dockerfile-ast
Version:
Parse a Dockerfile into an array of instructions and comments.
14 lines (13 loc) • 504 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.Add = void 0;
const jsonInstruction_1 = require("../jsonInstruction");
class Add extends jsonInstruction_1.JSONInstruction {
constructor(document, range, dockerfile, escapeChar, instruction, instructionRange) {
super(document, range, dockerfile, escapeChar, instruction, instructionRange);
}
stopSearchingForFlags(argument) {
return argument.indexOf("--") === -1;
}
}
exports.Add = Add;
;