Home | History | Annotate | Download | only in src

Lines Matching refs:Transitions

56    Each transition structure describes the possible transitions out
58 contains a vector of numbers of the states that transitions can go
63 deletes transitions by having them point to zero.
111 | Transitions. |
118 } transitions;
122 TRANSITIONS->states[Num]? Can be a token (amongst which the error
125 #define TRANSITION_SYMBOL(Transitions, Num) \
126 (Transitions->states[Num]->accessing_symbol)
128 /* Is the TRANSITIONS->states[Num] a shift? (as opposed to gotos). */
130 #define TRANSITION_IS_SHIFT(Transitions, Num) \
131 (ISTOKEN (TRANSITION_SYMBOL (Transitions, Num)))
133 /* Is the TRANSITIONS->states[Num] a goto?. */
135 #define TRANSITION_IS_GOTO(Transitions, Num) \
136 (!TRANSITION_IS_SHIFT (Transitions, Num))
138 /* Is the TRANSITIONS->states[Num] labelled by the error token? */
140 #define TRANSITION_IS_ERROR(Transitions, Num) \
141 (TRANSITION_SYMBOL (Transitions, Num) == errtoken->number)
146 #define TRANSITION_DISABLE(Transitions, Num) \
147 (Transitions->states[Num] = NULL)
149 #define TRANSITION_IS_DISABLED(Transitions, Num) \
150 (Transitions->states[Num] == NULL)
154 #define FOR_EACH_SHIFT(Transitions, Iter) \
156 Iter < Transitions->num \
157 && (TRANSITION_IS_DISABLED (Transitions, Iter) \
158 || TRANSITION_IS_SHIFT (Transitions, Iter)); \
160 if (!TRANSITION_IS_DISABLED (Transitions, Iter))
165 struct state *transitions_to (transitions *shifts, symbol_number sym);
202 transitions *transitions;
226 /* Set the transitions of STATE. */