UNPKG

ts-fusion-parser

Version:

Parser for Neos Fusion Files

18 lines (17 loc) 617 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BlockExpressionNode = void 0; const AbstractNode_1 = require("../../../common/AbstractNode"); const EelNode_1 = require("./EelNode"); class BlockExpressionNode 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.BlockExpressionNode = BlockExpressionNode;