public class Transition extends Object implements Comparable<Transition>
| Modifier and Type | Field and Description |
|---|---|
Label |
label
What label must be consumed to transition to target
|
State |
target
The target of this transition
|
| Constructor and Description |
|---|
Transition(int label,
State target) |
Transition(Label label,
State target) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Transition other) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isAction() |
boolean |
isEpsilon() |
boolean |
isSemanticPredicate() |
String |
toString() |
public Label label
public State target
public Transition(int label,
State target)
public boolean isEpsilon()
public boolean isAction()
public boolean isSemanticPredicate()
public int compareTo(Transition other)
compareTo in interface Comparable<Transition>Copyright © 1992–2014 ANTLR. All rights reserved.