public class ErrorInfo extends DecisionEventInfo
configs, decision, fullCtx, input, startIndex, stopIndex| Constructor and Description |
|---|
ErrorInfo(int decision,
ATNConfigSet configs,
TokenStream input,
int startIndex,
int stopIndex,
boolean fullCtx)
Constructs a new instance of the
ErrorInfo class with the
specified detailed syntax error information. |
public ErrorInfo(int decision,
ATNConfigSet configs,
TokenStream input,
int startIndex,
int stopIndex,
boolean fullCtx)
ErrorInfo class with the
specified detailed syntax error information.decision - The decision numberconfigs - The final configuration set reached during prediction
prior to reaching the ATNSimulator.ERROR stateinput - The input token streamstartIndex - The start index for the current predictionstopIndex - The index at which the syntax error was identifiedfullCtx - true if the syntax error was identified during LL
prediction; otherwise, false if the syntax error was identified
during SLL prediction