Called when the parser enters a production method.
Name of the production rule.
Current position in the source.
Called when the parser throws a parse error.
The error message.
Current position at the time of failure.
Called when the parser exits a production method.
Name of the production rule.
Current position after the attempt.
Whether the production successfully matched input.
Accumulates a full parse trace as an array of ParseEvent objects.
Attach to an ObservableRDParser via
withObserver(new TraceObserver()), then inspectobserver.eventsafter parsing.