| java.lang.Object org.antlr.analysis.Transition
All known Subclasses: org.antlr.analysis.RuleClosureTransition,
Transition | public class Transition implements Comparable(Code) | | A generic transition between any two state machine states. It defines
some special labels that indicate things like epsilon transitions and
that the label is actually a set of labels or a semantic predicate.
This is a one way link. It emanates from a state (usually via a list of
transitions) and has a label/target pair. I have abstracted the notion
of a Label to handle the various kinds of things it can be.
|
label | public Label label(Code) | | What label must be consumed to transition to target
|
target | public State target(Code) | | The target of this transition
|
Transition | public Transition(int label, State target)(Code) | | |
hashCode | public int hashCode()(Code) | | |
isEpsilon | public boolean isEpsilon()(Code) | | |
isSemanticPredicate | public boolean isSemanticPredicate()(Code) | | |
|
|