UNPKG

ts-fusion-parser

Version:

Parser for Neos Fusion Files

18 lines (17 loc) 558 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TagNameNode = void 0; const AbstractNode_1 = require("../../../common/AbstractNode"); class TagNameNode extends AbstractNode_1.AbstractNode { constructor(position, name, parent = undefined) { super(position, parent); this.name = name; } toString() { return this.name.substring(1); } static From(token, parent = undefined) { return new this(token.position, token.value, parent); } } exports.TagNameNode = TagNameNode;