Lines Matching refs:lookahead
111 struct Lookahead lookahead[MAX_LOOKAHEAD + 1]; member
160 …state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahe… in initLookahead()
176 ustr_deinit(&state->lookahead[i].value); in cleanupLookahead()
177 ustr_deinit(&state->lookahead[i].comment); in cleanupLookahead()
188 result = state->lookahead[state->lookaheadPosition].type; in getToken()
192 *tokenValue = &state->lookahead[state->lookaheadPosition].value; in getToken()
197 *linenumber = state->lookahead[state->lookaheadPosition].line; in getToken()
202 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status); in getToken()
207 ustr_setlen(&state->lookahead[i].comment, 0, status); in getToken()
208 ustr_setlen(&state->lookahead[i].value, 0, status); in getToken()
209 …state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahe… in getToken()
234 *tokenValue = &state->lookahead[i].value; in peekToken()
239 *linenumber = state->lookahead[i].line; in peekToken()
243 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status); in peekToken()
246 return state->lookahead[i].type; in peekToken()
1982 ustr_init(&state.lookahead[i].value); in parse()
1983 ustr_init(&state.lookahead[i].comment); in parse()