public final class RuleTransition extends Transition
| Modifier and Type | Field and Description |
|---|---|
ATNState |
followState
What node to begin computations following ref to rule
|
int |
ruleIndex
Ptr to the rule definition object for this rule ref
|
ACTION, ATOM, EPSILON, NOT_SET, PREDICATE, RANGE, RULE, serializationNames, serializationTypes, SET, target, WILDCARD| Constructor and Description |
|---|
RuleTransition(RuleStartState ruleStart,
int ruleIndex,
ATNState followState) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSerializationType() |
boolean |
isEpsilon()
Are we epsilon, action, sempred?
|
boolean |
matches(int symbol,
int minVocabSymbol,
int maxVocabSymbol) |
labelpublic final int ruleIndex
public RuleTransition(@NotNull RuleStartState ruleStart, int ruleIndex, @NotNull ATNState followState)
public int getSerializationType()
getSerializationType in class Transitionpublic boolean isEpsilon()
TransitionisEpsilon in class Transitionpublic boolean matches(int symbol,
int minVocabSymbol,
int maxVocabSymbol)
matches in class TransitionCopyright © 1992-2013 ANTLR. All Rights Reserved.