RuleStopState class

The last node in the ATN for a rule, unless that rule is the start symbol. In that case, there is one transition to EOF. Later, we might encode references to all calls to this rule to compute FOLLOW sets for error handling.

Inheritance

Constructors

RuleStopState(int ruleIndex)

Properties

atn ATN
Which ATN are we in? */
getter/setter pairinherited
epsilonOnlyTransitions bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
nextTokenWithinRule IntervalSet?
Used to cache lookahead during parsing, not used during construction */
getter/setter pairinherited
numberOfTransitions int
no setterinherited
ruleIndex int
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateNumber int
getter/setter pairinherited
stateType StateType
no setteroverride
transitions List<Transition>
Track the transitions emanating from this ATN state. */
getter/setter pairinherited

Methods

addTransition(Transition e) → void
inherited
addTransitionAt(int index, Transition e) → void
inherited
isNonGreedyExitState() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onlyHasEpsilonTransitions() bool
inherited
removeTransition(int index) Transition
inherited
setRuleIndex(int ruleIndex) → void
inherited
setTransition(int i, Transition e) → void
inherited
toString() String
A string representation of this object.
inherited
transition(int i) Transition
inherited

Operators

operator ==(Object o) bool
The equality operator.
inherited