Home | History | Annotate | Download | only in genrb

Lines Matching refs:lookahead

76 struct Lookahead
101 struct Lookahead lookahead[MAX_LOOKAHEAD + 1];
119 /* The nature of the lookahead buffer:
121 MAX_LOOKAHEAD lookahead tokens and a slot for the current token and value.
150 state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status);
166 ustr_deinit(&state->lookahead[i].value);
167 ustr_deinit(&state->lookahead[i].comment);
178 result = state->lookahead[state->lookaheadPosition].type;
182 *tokenValue = &state->lookahead[state->lookaheadPosition].value;
187 *linenumber = state->lookahead[state->lookaheadPosition].line;
192 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status);
197 ustr_setlen(&state->lookahead[i].comment, 0, status);
198 ustr_setlen(&state->lookahead[i].value, 0, status);
199 state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status);
224 *tokenValue = &state->lookahead[i].value;
229 *linenumber = state->lookahead[i].line;
233 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status);
236 return state->lookahead[i].type;
2004 work it out using the lookahead tokens. */
2128 ustr_init(&state.lookahead[i].value);
2129 ustr_init(&state.lookahead[i].comment);