Lines Matching full:getnexttoken
238 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
239 /// token the parser is looking at. getNextToken reads another token from the
242 static int getNextToken() {
274 getNextToken(); // eat identifier.
280 getNextToken(); // eat (
292 getNextToken();
297 getNextToken();
305 getNextToken(); // consume the number
311 getNextToken(); // eat (.
317 getNextToken(); // eat ).
323 getNextToken(); // eat the if.
331 getNextToken(); // eat the then
339 getNextToken();
349 getNextToken(); // eat the for.
355 getNextToken(); // eat identifier.
359 getNextToken(); // eat '='.
366 getNextToken();
374 getNextToken();
381 getNextToken(); // eat 'in'.
392 getNextToken(); // eat the var.
402 getNextToken(); // eat identifier.
407 getNextToken(); // eat the '='.
417 getNextToken(); // eat the ','.
426 getNextToken(); // eat 'in'.
463 getNextToken();
483 getNextToken(); // eat binop
528 getNextToken();
531 getNextToken();
537 getNextToken();
540 getNextToken();
546 getNextToken();
553 getNextToken();
562 while (getNextToken() == tok_identifier)
568 getNextToken(); // eat ')'.
579 getNextToken(); // eat def.
600 getNextToken(); // eat extern.
1260 getNextToken();
1274 getNextToken();
1296 getNextToken();
1308 case ';': getNextToken(); break; // ignore top-level semicolons.
1363 getNextToken();