Lines Matching full:getnexttoken
240 /// CurTok/getNextToken - Provide a simple token buffer. CurTok is the current
241 /// token the parser is looking at. getNextToken reads another token from the
244 static int getNextToken() {
276 getNextToken(); // eat identifier.
282 getNextToken(); // eat (
294 getNextToken();
299 getNextToken();
307 getNextToken(); // consume the number
313 getNextToken(); // eat (.
319 getNextToken(); // eat ).
325 getNextToken(); // eat the if.
333 getNextToken(); // eat the then
341 getNextToken();
351 getNextToken(); // eat the for.
357 getNextToken(); // eat identifier.
361 getNextToken(); // eat '='.
368 getNextToken();
376 getNextToken();
383 getNextToken(); // eat 'in'.
394 getNextToken(); // eat the var.
404 getNextToken(); // eat identifier.
409 getNextToken(); // eat the '='.
419 getNextToken(); // eat the ','.
428 getNextToken(); // eat 'in'.
465 getNextToken();
485 getNextToken(); // eat binop
530 getNextToken();
533 getNextToken();
539 getNextToken();
542 getNextToken();
548 getNextToken();
555 getNextToken();
564 while (getNextToken() == tok_identifier)
570 getNextToken(); // eat ')'.
581 getNextToken(); // eat def.
602 getNextToken(); // eat extern.
1301 getNextToken();
1315 getNextToken();
1337 getNextToken();
1349 case ';': getNextToken(); break; // ignore top-level semicolons.
1404 getNextToken();