- getCurrentNode
Returns the current node, that is being parsed (not necessarily finished).
- getLatestChild
Called by branching parsers, to save the current state of tree, before trying
parsers that could mod
- pop
When a parser finishes, the current node is popped so we are back to the parent
parser.
- push
Upon applying a parser with Parser#label, the label name is used to create a new
child node under th
- setCurrentResult
Whenever a labeled parser succeeds, it calls this method to set its result in
the trace.
- setLatestChild
Called by labeled parser to reset the current child node when the current node
failed. Also called b
- setStateAs
Set the enclosing parser's tree state into the nested parser's state. Called for
both nested token-l