Lines Matching refs:getNextToken
239 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
240 /// token the parser is looking at. getNextToken reads another token from the
243 static int getNextToken() {
275 getNextToken(); // eat identifier.
281 getNextToken(); // eat (
293 getNextToken();
298 getNextToken();
306 getNextToken(); // consume the number
312 getNextToken(); // eat (.
318 getNextToken(); // eat ).
324 getNextToken(); // eat the if.
332 getNextToken(); // eat the then
340 getNextToken();
350 getNextToken(); // eat the for.
356 getNextToken(); // eat identifier.
360 getNextToken(); // eat '='.
367 getNextToken();
375 getNextToken();
382 getNextToken(); // eat 'in'.
393 getNextToken(); // eat the var.
403 getNextToken(); // eat identifier.
408 getNextToken(); // eat the '='.
418 getNextToken(); // eat the ','.
427 getNextToken(); // eat 'in'.
464 getNextToken();
484 getNextToken(); // eat binop
529 getNextToken();
532 getNextToken();
538 getNextToken();
541 getNextToken();
547 getNextToken();
554 getNextToken();
563 while (getNextToken() == tok_identifier)
569 getNextToken(); // eat ')'.
580 getNextToken(); // eat def.
601 getNextToken(); // eat extern.
1305 getNextToken();
1319 getNextToken();
1341 getNextToken();
1353 case ';': getNextToken(); break; // ignore top-level semicolons.
1408 getNextToken();