public class ErrorInfo extends DecisionEventInfoThis 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.
public ErrorInfo(int decision, ATNConfigSet configs, TokenStream input, int startIndex, int stopIndex, boolean fullCtx)Constructs a new instance of the
ErrorInfoclass with the specified detailed syntax error information.
decision- The decision number
configs- The final configuration set reached during prediction prior to reaching the
input- The input token stream
startIndex- The start index for the current prediction
stopIndex- The index at which the syntax error was identified
trueif the syntax error was identified during LL prediction; otherwise,
falseif the syntax error was identified during SLL prediction