Lines Matching defs:getNextToken
218 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
219 /// token the parser is looking at. getNextToken reads another token from the
222 static int getNextToken() {
254 getNextToken(); // eat identifier.
260 getNextToken(); // eat (
272 getNextToken();
277 getNextToken();
285 getNextToken(); // consume the number
291 getNextToken(); // eat (.
297 getNextToken(); // eat ).
303 getNextToken(); // eat the if.
311 getNextToken(); // eat the then
319 getNextToken();
329 getNextToken(); // eat the for.
335 getNextToken(); // eat identifier.
339 getNextToken(); // eat '='.
346 getNextToken();
354 getNextToken();
361 getNextToken(); // eat 'in'.
396 getNextToken();
416 getNextToken(); // eat binop
461 getNextToken();
464 getNextToken();
470 getNextToken();
473 getNextToken();
479 getNextToken();
486 getNextToken();
495 while (getNextToken() == tok_identifier)
501 getNextToken(); // eat ')'.
512 getNextToken(); // eat def.
533 getNextToken(); // eat extern.
850 getNextToken();
862 getNextToken();
880 getNextToken();
890 case ';': getNextToken(); break; // ignore top-level semicolons.
933 getNextToken();