ts-fusion-parser
Version:
Parser for Neos Fusion Files
18 lines (17 loc) • 716 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AssignedObjectPath = void 0;
const VisitableAbstractNode_1 = require("./VisitableAbstractNode");
const AbstractNode_1 = require("../../common/AbstractNode");
class AssignedObjectPath extends VisitableAbstractNode_1.VisitableAbstractNode {
constructor(position, parent, objectPath, isRelative) {
super(position, parent);
this.objectPath = objectPath;
AbstractNode_1.AbstractNode.setParentOfNode(this.objectPath, this);
this.isRelative = isRelative;
}
visit(visitor, ...args) {
return visitor.visitAssignedObjectPath(this);
}
}
exports.AssignedObjectPath = AssignedObjectPath;