Creates and initializes a root node.
Add the given string as a symbol.
The character sequence to add.
Add a line of descendants that represent the characters in the given string.
Show the symbol this node represents.
The symbol this node represents.
Find the descendant that takes as many characters as possible from the input.
Find or create a child for the given character.
Find a child with the given character.
Unwind to a valid node; this node is "valid" if its ancestry represents a complete symbol. If this node is not valid, put back the character and ask the parent to unwind.
Generated using TypeDoc
This class is a special case of a
SymbolNode
. ASymbolRootNode
object has no symbol of its own, but has children that represent all possible symbols.