Home | History | Annotate | Download | only in genrb

Lines Matching refs:Lookahead

84 struct Lookahead
109 struct Lookahead lookahead[MAX_LOOKAHEAD + 1];
127 /* The nature of the lookahead buffer:
129 MAX_LOOKAHEAD lookahead tokens and a slot for the current token and value.
158 state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status);
174 ustr_deinit(&state->lookahead[i].value);
175 ustr_deinit(&state->lookahead[i].comment);
186 result = state->lookahead[state->lookaheadPosition].type;
190 *tokenValue = &state->lookahead[state->lookaheadPosition].value;
195 *linenumber = state->lookahead[state->lookaheadPosition].line;
200 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status);
205 ustr_setlen(&state->lookahead[i].comment, 0, status);
206 ustr_setlen(&state->lookahead[i].value, 0, status);
207 state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahead[i].line, &state->lookahead[i].comment, status);
232 *tokenValue = &state->lookahead[i].value;
237 *linenumber = state->lookahead[i].line;
241 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status);
244 return state->lookahead[i].type;
1855 work it out using the lookahead tokens. */
1979 ustr_init(&state.lookahead[i].value);
1980 ustr_init(&state.lookahead[i].comment);