ActionTransition

TODO add class description

Constructors

this
this(ATNState target, int ruleIndex)
Undocumented in source.
this
this(ATNState target, int ruleIndex, int actionIndex, bool isCtxDependent)
Undocumented in source.

Members

Functions

actionIndex
void actionIndex(int actionIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
actionIndex
int actionIndex()
Undocumented in source. Be warned that the author may not have intended to support it.
getSerializationType
int getSerializationType()

@uml @override

isEpsilon
bool isEpsilon()

@uml @override

matches
bool matches(int symbol, int minVocabSymbol, int maxVocabSymbol)

@uml @override

toString
string toString()

@uml @override

Variables

isCtxDependent
bool isCtxDependent;

@uml e.g., $i ref in action

ruleIndex
int ruleIndex;
Undocumented in source.

Inherited Members

From Transition

target
ATNState target;

The target of this transition.

serializationNames
string[] serializationNames;
Undocumented in source.
getSerializationType
int getSerializationType()
Undocumented in source.
isEpsilon
bool isEpsilon()

Determines if the transition is an "epsilon" transition.

label
IntervalSet label()
Undocumented in source. Be warned that the author may not have intended to support it.
matches
bool matches(int symbol, int minVocabSymbol, int maxVocabSymbol)
Undocumented in source.

Meta