A node that represents a chunk of text. This node isnot a tag.
Create a new TextNode.
The text of the node.
OverridesBaseNode.constructor
ReadonlynameThe name of the node.
The text of the node.
Clones the code, creating a new deep-copied node.
Converts the node into a tree-like overview of all children.
The number of spaces to indent the output. Defaults to2.
The tree-like overview of all children.
Inherited fromBaseNode.nodeTree
ProtectednodeGets the children of the node tree.
The number of spaces to indent the output.
The children of the node tree.
OverridesBaseNode.nodeTreeChildren
ProtectednodeGets the heading of the node tree.
The heading of the node tree.
OverridesBaseNode.nodeTreeHeading
Gets the textual representation of the node as BBCode.An alias forBaseNode.toString.
Inherited fromBaseNode.toBBCode
Converts the node into a textual representation of the node as BBCode.A node should return the exact same string as the input toParser.parse providedindented isfalse.
The textual representation of the node as BBCode.
Generated usingTypeDoc