public final class ActionTransition extends Transition
Modifier and Type | Field and Description |
---|---|
int |
actionIndex |
boolean |
isCtxDependent |
int |
ruleIndex |
ACTION, ATOM, EPSILON, NOT_SET, PREDICATE, RANGE, RULE, serializationNames, serializationTypes, SET, target, WILDCARD
Constructor and Description |
---|
ActionTransition(ATNState target,
int ruleIndex) |
ActionTransition(ATNState target,
int ruleIndex,
int actionIndex,
boolean isCtxDependent) |
Modifier and Type | Method and Description |
---|---|
int |
getSerializationType() |
boolean |
isEpsilon()
Are we epsilon, action, sempred?
|
boolean |
matches(int symbol,
int minVocabSymbol,
int maxVocabSymbol) |
String |
toString() |
label
public final int ruleIndex
public final int actionIndex
public final boolean isCtxDependent
public int getSerializationType()
getSerializationType
in class Transition
public boolean isEpsilon()
Transition
isEpsilon
in class Transition
public boolean matches(int symbol, int minVocabSymbol, int maxVocabSymbol)
matches
in class Transition
Copyright © 1992-2013 ANTLR. All Rights Reserved.