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