| Modifier and Type | Field and Description |
|---|---|
| public final DecisionState | atnStartState
From which ATN state did we create this DFA? |
| public final int | |
| private final boolean | precedenceDfa
|
| public volatile DFAState | |
| public final Map | states
A set of all DFA states. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final DFAState | Returns: The start state corresponding to the specified precedence, ornull if no start state exists for the specified precedence.The current precedence. precedence)Get the start state for a specific precedence value. |
| public List | |
| public final boolean | Returns: true if this is a precedence DFA; otherwise,
false.Gets whether this DFA is a precedence DFA. |
| public final void | setPrecedenceDfa(boolean
true if this is a precedence DFA; otherwise,
false
Deprecated
This method no longer performs any action.
Sets whether this is a precedence DFA.
|
| public final void | setPrecedenceStartState(int
The current precedence. precedence, DFAState The start state corresponding to the specified
precedence. startState)Set the start state for a specific precedence value. |
| public String | |
| public String | |
| public String | |
| public String |
| atnStartState | back to summary |
|---|---|
| public final DecisionState atnStartState From which ATN state did we create this DFA? | |
| decision | back to summary |
|---|---|
| public final int decision | |
| precedenceDfa | back to summary |
|---|---|
| private final boolean precedenceDfa
| |
| s0 | back to summary |
|---|---|
| public volatile DFAState s0 | |
| states | back to summary |
|---|---|
| public final Map<DFAState, DFAState> states A set of all DFA states. Use | |
| DFA | back to summary |
|---|---|
| public DFA(DecisionState atnStartState) | |
| DFA | back to summary |
|---|---|
| public DFA(DecisionState atnStartState, int decision) | |
| getPrecedenceStartState | back to summary |
|---|---|
| public final DFAState getPrecedenceStartState(int precedence) Get the start state for a specific precedence value.
| |
| getStates | back to summary |
|---|---|
| public List Return a list of all states in this DFA, ordered by state number. | |
| isPrecedenceDfa | back to summary |
|---|---|
| public final boolean isPrecedenceDfa() Gets whether this DFA is a precedence DFA. Precedence DFAs use a special
start state
| |
| setPrecedenceDfa | back to summary |
|---|---|
| public final void setPrecedenceDfa(boolean precedenceDfa)
Deprecated This method no longer performs any action. Sets whether this is a precedence DFA.
| |
| setPrecedenceStartState | back to summary |
|---|---|
| public final void setPrecedenceStartState(int precedence, DFAState startState) Set the start state for a specific precedence value.
| |
| toLexerString | back to summary |
|---|---|
| public String toLexerString() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| toString | back to summary |
|---|---|
| public String toString(String[] tokenNames)
Deprecated Use
| |
| toString | back to summary |
|---|---|
| public String toString(Vocabulary vocabulary) | |