Home | History | Annotate | Download | only in genrb

Lines Matching full:lookahead

56 struct Lookahead
81 struct Lookahead lookahead[MAX_LOOKAHEAD + 1];
99 /* The nature of the lookahead buffer:
101 MAX_LOOKAHEAD lookahead tokens and a slot for the current token and value.
130 state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status);
146 ustr_deinit(&state->lookahead[i].value);
147 ustr_deinit(&state->lookahead[i].comment);
158 result = state->lookahead[state->lookaheadPosition].type;
162 *tokenValue = &state->lookahead[state->lookaheadPosition].value;
167 *linenumber = state->lookahead[state->lookaheadPosition].line;
172 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status);
177 ustr_setlen(&state->lookahead[i].comment, 0, status);
178 ustr_setlen(&state->lookahead[i].value, 0, status);
179 state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status);
204 *tokenValue = &state->lookahead[i].value;
209 *linenumber = state->lookahead[i].line;
213 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status);
216 return state->lookahead[i].type;
1911 work it out using the lookahead tokens. */
2032 ustr_init(&state.lookahead[i].value);
2033 ustr_init(&state.lookahead[i].comment);