C# Class Antlr4.Runtime.Atn.PredicateTransition

TODO: this is old comment: A tree of semantic predicates from the grammar AST if label==SEMPRED.
TODO: this is old comment: A tree of semantic predicates from the grammar AST if label==SEMPRED. In the ATN, labels will always be exactly one predicate, but the DFA may have to combine a bunch of them as it collects predicates from multiple ATN configurations into a single DFA state.
Inheritance: AbstractPredicateTransition
Afficher le fichier Open project: antlr/antlr4 Class Usage Examples

Méthodes publiques

Свойство Type Description
isCtxDependent bool
predIndex int
ruleIndex int

Méthodes publiques

Méthode Description
Matches ( int symbol, int minVocabSymbol, int maxVocabSymbol ) : bool
PredicateTransition ( ATNState target, int ruleIndex, int predIndex, bool isCtxDependent ) : Antlr4.Runtime.Atn

Private Methods

Méthode Description
ToString ( ) : string

Method Details

Matches() public méthode

public Matches ( int symbol, int minVocabSymbol, int maxVocabSymbol ) : bool
symbol int
minVocabSymbol int
maxVocabSymbol int
Résultat bool

PredicateTransition() public méthode

public PredicateTransition ( ATNState target, int ruleIndex, int predIndex, bool isCtxDependent ) : Antlr4.Runtime.Atn
target ATNState
ruleIndex int
predIndex int
isCtxDependent bool
Résultat Antlr4.Runtime.Atn

Property Details

isCtxDependent public_oe property

public bool isCtxDependent
Résultat bool

predIndex public_oe property

public int predIndex
Résultat int

ruleIndex public_oe property

public int ruleIndex
Résultat int