C# Класс Antlr4.Runtime.Atn.ErrorInfo

This class represents profiling event information for a syntax error identified during prediction.
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.
Наследование: DecisionEventInfo
Показать файл Открыть проект

Открытые методы

Метод Описание
ErrorInfo ( int decision, SimulatorState state, ITokenStream input, int startIndex, int stopIndex ) : Antlr4.Runtime

Constructs a new instance of the ErrorInfo class with the specified detailed syntax error information.

Описание методов

ErrorInfo() публичный Метод

Constructs a new instance of the ErrorInfo class with the specified detailed syntax error information.
public ErrorInfo ( int decision, SimulatorState state, ITokenStream input, int startIndex, int stopIndex ) : Antlr4.Runtime
decision int The decision number
state SimulatorState /// The final simulator state reached during prediction /// prior to reaching the /// /// state ///
input ITokenStream The input token stream
startIndex int The start index for the current prediction
stopIndex int The index at which the syntax error was identified
Результат Antlr4.Runtime