AbstractAn interface for nodes that can hold children.
The children of the node.
Implementation ofChildrenHolder.children
AbstractnameThe name of the node.
Adds a child to the node. If the node is aTextNode, attempts to flatten the node with a previous TextNode.
The child to add.
Implementation ofChildrenHolder.addChild
AbstractcloneClones 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
ProtectedAbstractnodeGets the heading of the node tree.
The heading of the node tree.
Inherited fromBaseNode.nodeTreeHeading
Gets the textual representation of the node as BBCode.An alias forBaseNode.toString.
Inherited fromBaseNode.toBBCode
AbstracttoConverts 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.
Inherited fromBaseNode.toString
Generated usingTypeDoc