Package org.antlr.analysis
Class RuleClosureTransition
java.lang.Object
org.antlr.analysis.Transition
org.antlr.analysis.RuleClosureTransition
- All Implemented Interfaces:
Comparable
A transition used to reference another rule. It tracks two targets
really: the actual transition target and the state following the
state that refers to the other rule. Conversion of an NFA that
falls off the end of a rule will be able to figure out who invoked
that rule because of these special transitions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionWhat node to begin computations following ref to rulePtr to the rule definition object for this rule refFields inherited from class org.antlr.analysis.Transition
label, target
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.antlr.analysis.Transition
compareTo, equals, hashCode, isAction, isEpsilon, isSemanticPredicate, toString
-
Field Details
-
rule
Ptr to the rule definition object for this rule ref -
followState
What node to begin computations following ref to rule
-
-
Constructor Details
-
RuleClosureTransition
-