public final class RangeTransition extends Transition
Modifier and Type | Field and Description |
---|---|
int |
from |
int |
to |
ACTION, ATOM, EPSILON, NOT_SET, PRECEDENCE, PREDICATE, RANGE, RULE, serializationNames, serializationTypes, SET, target, WILDCARD
Constructor and Description |
---|
RangeTransition(ATNState target,
int from,
int to) |
Modifier and Type | Method and Description |
---|---|
int |
getSerializationType() |
IntervalSet |
label() |
boolean |
matches(int symbol,
int minVocabSymbol,
int maxVocabSymbol) |
String |
toString() |
isEpsilon
public RangeTransition(ATNState target, int from, int to)
public int getSerializationType()
getSerializationType
in class Transition
public IntervalSet label()
label
in class Transition
public boolean matches(int symbol, int minVocabSymbol, int maxVocabSymbol)
matches
in class Transition
Copyright © 1992–2020 ANTLR. All rights reserved.