A BBCode node. This represents a tag and it's children.
The attributes of the tag.
Ref:AttributeType
Implementation ofAttributeHolder.attributes
The children of the node.
Inherited fromChildrenHolderNode.children
The name of the tag.
`[b]Hello World![/b]` ->`b`OverridesChildrenHolderNode.name
OptionalvalueThe value of the tag.
Implementation ofValueHolder.value
Adds a child to the node. If the node is aTextNode, attempts to flatten the node with a previous TextNode.
The child to add.
Inherited fromChildrenHolderNode.addChild
Clones the code, creating a new deep-copied node.
OverridesChildrenHolderNode.clone
Makes the opening tag of the node. This will include the name, and all attributes.
The opening tag of the 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 fromChildrenHolderNode.nodeTree
ProtectednodeGets the children of the node tree.
The number of spaces to indent the output.
The children of the node tree.
Inherited fromChildrenHolderNode.nodeTreeChildren
ProtectednodeGets the heading of the node tree.
The heading of the node tree.
OverridesChildrenHolderNode.nodeTreeHeading
Sets the attribute of the node.
The key of the attribute.
The value of the attribute.
UseAttributeHolder.attributes instead.
Implementation ofAttributeHolder.setAttribute
Sets the value of the node.
The value of the node.
UseValueHolder.value instead.
Implementation ofValueHolder.setValue
Gets the textual representation of the node as BBCode.An alias forBaseNode.toString.
Inherited fromChildrenHolderNode.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.
OverridesChildrenHolderNode.toString
Generated usingTypeDoc