BasicState

TODO add class description

class BasicState : ATNState {}

Members

Functions

getStateType
int getStateType()

@uml @override

Inherited Members

From ATNState

INITIAL_NUM_TRANSITIONS
int INITIAL_NUM_TRANSITIONS;
Undocumented in source.
INVALID_STATE_NUMBER
int INVALID_STATE_NUMBER;
Undocumented in source.
atn
ATN atn;

@uml Which ATN are we in?

stateNumber
int stateNumber;
Undocumented in source.
ruleIndex
int ruleIndex;

@uml at runtime, we don't have Rule objects

epsilonOnlyTransitions
bool epsilonOnlyTransitions;
Undocumented in source.
transitions
Transition[] transitions;

@uml Track the transitions emanating from this ATN state.

nextTokenWithinRule
IntervalSet nextTokenWithinRule;

@uml Used to cache lookahead during parsing, not used during construction

hashCode
int hashCode()

@uml @pure @safe

equals
bool equals(Object o)

@uml @pure @safe

isNonGreedyExitState
bool isNonGreedyExitState()

@uml @pure @safe

toString
string toString()

@uml @pure @safe @override

getTransitions
Transition[] getTransitions()

@uml @pure @safe

getNumberOfTransitions
int getNumberOfTransitions()

@uml @pure @safe

addTransition
void addTransition(Transition e)
Undocumented in source. Be warned that the author may not have intended to support it.
transition
Transition transition(int i)
Undocumented in source. Be warned that the author may not have intended to support it.
setTransition
void setTransition(int i, Transition e)
Undocumented in source. Be warned that the author may not have intended to support it.
removeTransition
Transition removeTransition(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
getStateType
int getStateType()
Undocumented in source.
onlyHasEpsilonTransitions
bool onlyHasEpsilonTransitions()
Undocumented in source. Be warned that the author may not have intended to support it.
setRuleIndex
void setRuleIndex(int ruleIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
isOptimized
bool isOptimized()
Undocumented in source. Be warned that the author may not have intended to support it.
numberOfOptimizedTransitions
size_t numberOfOptimizedTransitions()
Undocumented in source. Be warned that the author may not have intended to support it.
getOptimizedTransition
Transition getOptimizedTransition(size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
addOptimizedTransition
void addOptimizedTransition(Transition e)
Undocumented in source. Be warned that the author may not have intended to support it.
setOptimizedTransition
void setOptimizedTransition(size_t i, Transition e)
Undocumented in source. Be warned that the author may not have intended to support it.
removeOptimizedTransition
void removeOptimizedTransition(size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
optimizedTransitions
Transition[] optimizedTransitions()
Undocumented in source. Be warned that the author may not have intended to support it.
optimizedTransitions
void optimizedTransitions(Transition[] optimizedTransitions)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta