C# Class Antlr4.Runtime.Atn.DecisionEventInfo

This is the base class for gathering detailed information about prediction events which occur during parsing.
This is the base class for gathering detailed information about prediction events which occur during parsing.
Afficher le fichier Open project: antlr/antlr4

Méthodes publiques

Свойство Type Description
decision int
fullCtx bool
startIndex int
stopIndex int

Méthodes publiques

Méthode Description
DecisionEventInfo ( int decision, SimulatorState state, ITokenStream input, int startIndex, int stopIndex, bool fullCtx ) : Antlr4.Runtime

Method Details

DecisionEventInfo() public méthode

public DecisionEventInfo ( int decision, SimulatorState state, ITokenStream input, int startIndex, int stopIndex, bool fullCtx ) : Antlr4.Runtime
decision int
state SimulatorState
input ITokenStream
startIndex int
stopIndex int
fullCtx bool
Résultat Antlr4.Runtime

Property Details

decision public_oe property

The invoked decision number which this event is related to.
The invoked decision number which this event is related to.
public int decision
Résultat int

fullCtx public_oe property

if the current event occurred during LL prediction; otherwise, if the input occurred during SLL prediction.
public bool fullCtx
Résultat bool

startIndex public_oe property

The token index in the input stream at which the current prediction was originally invoked.
The token index in the input stream at which the current prediction was originally invoked.
public int startIndex
Résultat int

stopIndex public_oe property

The token index in the input stream at which the current event occurred.
The token index in the input stream at which the current event occurred.
public int stopIndex
Résultat int