C# 클래스 Antlr4.Runtime.Atn.LookaheadEventInfo

This class represents profiling event information for tracking the lookahead depth required in order to make a prediction.
상속: DecisionEventInfo
파일 보기 프로젝트 열기: sharwell/antlr4cs

공개 메소드들

메소드 설명
LookaheadEventInfo ( int decision, SimulatorState state, int predictedAlt, ITokenStream input, int startIndex, int stopIndex, bool fullCtx ) : Antlr4.Runtime

Constructs a new instance of the LookaheadEventInfo class with the specified detailed lookahead information.

메소드 상세

LookaheadEventInfo() 공개 메소드

Constructs a new instance of the LookaheadEventInfo class with the specified detailed lookahead information.
public LookaheadEventInfo ( int decision, SimulatorState state, int predictedAlt, ITokenStream input, int startIndex, int stopIndex, bool fullCtx ) : Antlr4.Runtime
decision int The decision number
state SimulatorState /// The final simulator state containing the necessary /// information to determine the result of a prediction, or /// /// if /// the final state is not available ///
predictedAlt int The alternative chosen by /// .
input ITokenStream The input token stream
startIndex int The start index for the current prediction
stopIndex int The index at which the prediction was finally made
fullCtx bool /// /// /// if the current lookahead is part of an LL /// prediction; otherwise, /// /// if the current lookahead is part of /// an SLL prediction ///
리턴 Antlr4.Runtime