public final class RangeTransition extends Transition
| Modifier and Type | Field | Description |
|---|---|---|
int |
from |
|
int |
to |
ACTION, ATOM, EPSILON, NOT_SET, PRECEDENCE, PREDICATE, RANGE, RULE, serializationNames, serializationTypes, SET, target, WILDCARD| Constructor | Description |
|---|---|
RangeTransition(ATNState target,
int from,
int to) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getSerializationType() |
|
IntervalSet |
label() |
|
boolean |
matches(int symbol,
int minVocabSymbol,
int maxVocabSymbol) |
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisEpsilonpublic RangeTransition(ATNState target, int from, int to)
public int getSerializationType()
getSerializationType in class Transitionpublic IntervalSet label()
label in class Transitionpublic boolean matches(int symbol,
int minVocabSymbol,
int maxVocabSymbol)
matches in class TransitionCopyright © 1992–2019 ANTLR. All rights reserved.