Home | History | Annotate | Download | only in Chapter5

Lines Matching full:getnexttoken

286 /// CurTok/getNextToken - Provide a simple token buffer.  CurTok is the current
287 /// token the parser is looking at. getNextToken reads another token from the
290 static int getNextToken() { return CurTok = gettok(); }
324 getNextToken(); // consume the number
330 getNextToken(); // eat (.
337 getNextToken(); // eat ).
347 getNextToken(); // eat identifier.
353 getNextToken(); // eat (
367 getNextToken();
372 getNextToken();
379 getNextToken(); // eat the if.
388 getNextToken(); // eat the then
397 getNextToken();
409 getNextToken(); // eat the for.
415 getNextToken(); // eat identifier.
419 getNextToken(); // eat '='.
426 getNextToken();
435 getNextToken();
443 getNextToken(); // eat 'in'.
456 getNextToken(); // eat the var.
466 getNextToken(); // eat identifier.
471 getNextToken(); // eat the '='.
483 getNextToken(); // eat the ','.
492 getNextToken(); // eat 'in'.
537 getNextToken();
558 getNextToken(); // eat binop
607 getNextToken();
610 getNextToken();
616 getNextToken();
619 getNextToken();
625 getNextToken();
632 getNextToken();
641 while (getNextToken() == tok_identifier)
647 getNextToken(); // eat ')'.
659 getNextToken(); // eat def.
689 getNextToken(); // eat extern.
1134 getNextToken();
1147 getNextToken();
1175 getNextToken();
1187 getNextToken();
1278 getNextToken();