public final class AtomTransition extends Transition
Modifier and Type | Field and Description |
---|---|
int |
label
The token type or character value; or, signifies special label.
|
ACTION, ATOM, EPSILON, NOT_SET, PREDICATE, RANGE, RULE, serializationNames, serializationTypes, SET, target, WILDCARD
Constructor and Description |
---|
AtomTransition(ATNState target,
int label) |
Modifier and Type | Method and Description |
---|---|
int |
getSerializationType() |
IntervalSet |
label() |
boolean |
matches(int symbol,
int minVocabSymbol,
int maxVocabSymbol) |
String |
toString() |
isEpsilon
public final int label
public int getSerializationType()
getSerializationType
in class Transition
@NotNull public IntervalSet label()
label
in class Transition
public boolean matches(int symbol, int minVocabSymbol, int maxVocabSymbol)
matches
in class Transition
Copyright © 1992-2013 ANTLR. All Rights Reserved.