Gets a child of this subtree by name.
Returns the index of a child by name or size_t.max.
Gets the name of child with index index.
Childs of this subtree. Will be empty for tokens.
Text content for tokens.
Checks if this subtree has a child with some name.
Name for nonterminals.
Information about the grammar for this tree node.
Location of this tree node in the source file.
Type of tree node. Should match the used subclass.
ID of nonterminal for this tree starting at grammarInfo.startNonterminalID or SymbolID.max if not applicable. See grammarInfo.allNonterminals[nonterminalID - grammarInfo.startNonterminalID] for details about the nonterminal.
ID of production for this tree starting at grammarInfo.startProductionID or ProductionID.max if not applicable. See grammarInfo.allProductions[productionID - grammarInfo.startProductionID] for details about the prodution.
Type of location in source file.
Template for determining how location ranges are stored (start + length, start + end, ...).
Base class for all tree nodes.