Home | History | Annotate | Download | only in Chapter5

Lines Matching full: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() { return CurTok = gettok(); }
256 getNextToken(); // consume the number
262 getNextToken(); // eat (.
269 getNextToken(); // eat ).
279 getNextToken(); // eat identifier.
285 getNextToken(); // eat (
299 getNextToken();
304 getNextToken();
311 getNextToken(); // eat the if.
320 getNextToken(); // eat the then
329 getNextToken();
341 getNextToken(); // eat the for.
347 getNextToken(); // eat identifier.
351 getNextToken(); // eat '='.
358 getNextToken();
367 getNextToken();
375 getNextToken(); // eat 'in'.
423 getNextToken(); // eat binop
463 getNextToken();
469 while (getNextToken() == tok_identifier)
475 getNextToken(); // eat ')'.
482 getNextToken(); // eat def.
505 getNextToken(); // eat extern.
833 getNextToken();
846 getNextToken();
874 getNextToken();
886 getNextToken();
935 getNextToken();