Comparable<Transition>RuleClosureTransitionpublic class Transition extends Object implements Comparable<Transition>
| Modifier and Type | Field | Description |
|---|---|---|
Label |
label |
What label must be consumed to transition to target
|
State |
target |
The target of this transition
|
| Constructor | Description |
|---|---|
Transition(int label,
State target) |
|
Transition(Label label,
State target) |
| Modifier and Type | Method | 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–2018 ANTLR. All rights reserved.