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.
Show file Open project: antlr/antlr4

Public Properties

Property Type Description
decision int
fullCtx bool
startIndex int
stopIndex int

Public Methods

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

Method Details

DecisionEventInfo() public method

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

Property Details

decision public property

The invoked decision number which this event is related to.
The invoked decision number which this event is related to.
public int decision
return int

fullCtx public property

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

startIndex public 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
return int

stopIndex public 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
return int