ErrorInfo

@uml This class represents profiling event information for a syntax error identified during prediction. Syntax errors occur when the prediction algorithm is unable to identify an alternative which would lead to a successful parse.

@see Parser#notifyErrorListeners(Token, String, RecognitionException) @see ANTLRErrorListener#syntaxError

Constructors

this
this(int decision, ATNConfigSet configs, TokenStream input, size_t startIndex, size_t stopIndex, bool fullCtx)

@uml Constructs a new instance of the {@link ErrorInfo} class with the specified detailed syntax error information.

Inherited Members

From DecisionEventInfo

decision
int decision;

The invoked decision number which this event is related to.

configs
ATNConfigSet configs;

The configuration set containing additional information relevant to the prediction state when the current event occurred, or {@code null} if no additional information is relevant or available.

input
TokenStream input;

The input token stream which is being parsed.

startIndex
size_t startIndex;
Undocumented in source.
stopIndex
size_t stopIndex;
Undocumented in source.
fullCtx
bool fullCtx;

{@code true} if the current event occurred during LL prediction; otherwise, {@code false} if the input occurred during SLL prediction.

Meta