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
파일 보기 프로젝트 열기: antlr/antlr4

공개 메소드들

메소드 설명
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