UNPKG

ts-fusion-parser

Version:

Parser for Neos Fusion Files

18 lines (17 loc) 604 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NotOperationNode = void 0; const AbstractNode_1 = require("../../../common/AbstractNode"); const EelNode_1 = require("./EelNode"); class NotOperationNode extends EelNode_1.EelNode { constructor(node, position, parent = undefined) { super(position, parent); this.node = node; AbstractNode_1.AbstractNode.setParentOfNode(node, this); this.position = position; } toString(intend) { return `!${this.node.toString()}`; } } exports.NotOperationNode = NotOperationNode;