Alternation Capture
A ParserCapture subclass produced by AlternationElement.
This capture records which branch of an alternation was successfully matched.
Properties
Link copied to clipboard
Returns true if this node is an AlternationCapture.
Link copied to clipboard
Returns true if this node is a RepeatableCapture.
Link copied to clipboard
The parser stack frames active when this Node was created.
Functions
Link copied to clipboard
Executes the block with this node as an AlternationCapture receiver if it is one.
Link copied to clipboard
Executes the block with this node as a RepeatableCapture receiver if it is one.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns all tokens captured by this Node, and its descendant subnodes, recursively.