C# Class Antlr4.Runtime.Atn.LookaheadEventInfo

This class represents profiling event information for tracking the lookahead depth required in order to make a prediction.
Inheritance: DecisionEventInfo
Datei anzeigen Open project: sharwell/antlr4cs

Public Methods

Method Description
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.

Method Details

LookaheadEventInfo() public method

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 ///
return Antlr4.Runtime