Home | History | Annotate | Download | only in genrb

Lines Matching full:lookahead

86 struct Lookahead
111 struct Lookahead lookahead[MAX_LOOKAHEAD + 1];
129 /* The nature of the lookahead buffer:
131 MAX_LOOKAHEAD lookahead tokens and a slot for the current token and value.
160 state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status);
176 ustr_deinit(&state->lookahead[i].value);
177 ustr_deinit(&state->lookahead[i].comment);
188 result = state->lookahead[state->lookaheadPosition].type;
192 *tokenValue = &state->lookahead[state->lookaheadPosition].value;
197 *linenumber = state->lookahead[state->lookaheadPosition].line;
202 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status);
207 ustr_setlen(&state->lookahead[i].comment, 0, status);
208 ustr_setlen(&state->lookahead[i].value, 0, status);
209 state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status);
234 *tokenValue = &state->lookahead[i].value;
239 *linenumber = state->lookahead[i].line;
243 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status);
246 return state->lookahead[i].type;
1857 work it out using the lookahead tokens. */
1981 ustr_init(&state.lookahead[i].value);
1982 ustr_init(&state.lookahead[i].comment);