Lines Matching refs:getNextToken
287 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
321 getNextToken(); // consume the number in ParseNumberExpr()
327 getNextToken(); // eat (. in ParseParenExpr()
334 getNextToken(); // eat ). in ParseParenExpr()
344 getNextToken(); // eat identifier. in ParseIdentifierExpr()
350 getNextToken(); // eat ( in ParseIdentifierExpr()
364 getNextToken(); in ParseIdentifierExpr()
369 getNextToken(); in ParseIdentifierExpr()
376 getNextToken(); // eat the if. in ParseIfExpr()
385 getNextToken(); // eat the then in ParseIfExpr()
394 getNextToken(); in ParseIfExpr()
406 getNextToken(); // eat the for. in ParseForExpr()
412 getNextToken(); // eat identifier. in ParseForExpr()
416 getNextToken(); // eat '='. in ParseForExpr()
423 getNextToken(); in ParseForExpr()
432 getNextToken(); in ParseForExpr()
440 getNextToken(); // eat 'in'. in ParseForExpr()
453 getNextToken(); // eat the var. in ParseVarExpr()
463 getNextToken(); // eat identifier. in ParseVarExpr()
468 getNextToken(); // eat the '='. in ParseVarExpr()
480 getNextToken(); // eat the ','. in ParseVarExpr()
489 getNextToken(); // eat 'in'. in ParseVarExpr()
534 getNextToken(); in ParseUnary()
555 getNextToken(); // eat binop in ParseBinOpRHS()
604 getNextToken(); in ParsePrototype()
607 getNextToken(); in ParsePrototype()
613 getNextToken(); in ParsePrototype()
616 getNextToken(); in ParsePrototype()
622 getNextToken(); in ParsePrototype()
629 getNextToken(); in ParsePrototype()
638 while (getNextToken() == tok_identifier) in ParsePrototype()
644 getNextToken(); // eat ')'. in ParsePrototype()
656 getNextToken(); // eat def. in ParseDefinition()
679 getNextToken(); // eat extern. in ParseExtern()
1107 getNextToken(); in HandleDefinition()
1120 getNextToken(); in HandleExtern()
1147 getNextToken(); in HandleTopLevelExpression()
1159 getNextToken(); in MainLoop()
1209 getNextToken(); in main()