public class ErrorInfo extends DecisionEventInfo
decision, fullCtx, input, startIndex, state, stopIndex| Constructor and Description |
|---|
ErrorInfo(int decision,
SimulatorState state,
TokenStream input,
int startIndex,
int stopIndex)
Constructs a new instance of the
ErrorInfo class with the
specified detailed syntax error information. |
public ErrorInfo(int decision,
@NotNull
SimulatorState state,
@NotNull
TokenStream input,
int startIndex,
int stopIndex)
ErrorInfo class with the
specified detailed syntax error information.decision - The decision numberstate - The final simulator state 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 identifiedCopyright © 1992–2024 Daniel Sun. All rights reserved.