Lines Matching defs:getNextToken
236 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
237 /// token the parser is looking at. getNextToken reads another token from the
240 static int getNextToken() {
272 getNextToken(); // eat identifier.
278 getNextToken(); // eat (
290 getNextToken();
295 getNextToken();
303 getNextToken(); // consume the number
309 getNextToken(); // eat (.
315 getNextToken(); // eat ).
321 getNextToken(); // eat the if.
329 getNextToken(); // eat the then
337 getNextToken();
347 getNextToken(); // eat the for.
353 getNextToken(); // eat identifier.
357 getNextToken(); // eat '='.
364 getNextToken();
372 getNextToken();
379 getNextToken(); // eat 'in'.
390 getNextToken(); // eat the var.
400 getNextToken(); // eat identifier.
405 getNextToken(); // eat the '='.
415 getNextToken(); // eat the ','.
424 getNextToken(); // eat 'in'.
461 getNextToken();
481 getNextToken(); // eat binop
526 getNextToken();
529 getNextToken();
535 getNextToken();
538 getNextToken();
544 getNextToken();
551 getNextToken();
560 while (getNextToken() == tok_identifier)
566 getNextToken(); // eat ')'.
577 getNextToken(); // eat def.
598 getNextToken(); // eat extern.
1013 getNextToken();
1025 getNextToken();
1043 getNextToken();
1053 case ';': getNextToken(); break; // ignore top-level semicolons.
1097 getNextToken();