Gets the {@link RuleContext} at the time this exception was thrown.
Gets the set of input symbols which could potentially follow the previously matched symbol at the time this exception was thrown.
Get the ATN state number the parser was in at the time the error occurred. For {@link NoViableAltException} and {@link LexerNoViableAltException} exceptions, this is the {@link DecisionState} number. For others, it is the state whose outgoing edge we couldn't match.
Gets the {@link Recognizer} where this exception occurred.
The {@link Recognizer} where this exception originated.
The root of the ANTLR exception hierarchy. In general, ANTLR tracks just 3 kinds of errors: prediction errors, failed predicate errors, and mismatched input errors. In each case, the parser knows where it is in the input, where it is in the ATN, the rule invocation stack, and what kind of problem occurred.