Lines Matching refs:getNextToken
411 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
445 getNextToken(); // consume the number in ParseNumberExpr()
451 getNextToken(); // eat (. in ParseParenExpr()
458 getNextToken(); // eat ). in ParseParenExpr()
470 getNextToken(); // eat identifier. in ParseIdentifierExpr()
476 getNextToken(); // eat ( in ParseIdentifierExpr()
490 getNextToken(); in ParseIdentifierExpr()
495 getNextToken(); in ParseIdentifierExpr()
504 getNextToken(); // eat the if. in ParseIfExpr()
513 getNextToken(); // eat the then in ParseIfExpr()
522 getNextToken(); in ParseIfExpr()
534 getNextToken(); // eat the for. in ParseForExpr()
540 getNextToken(); // eat identifier. in ParseForExpr()
544 getNextToken(); // eat '='. in ParseForExpr()
551 getNextToken(); in ParseForExpr()
560 getNextToken(); in ParseForExpr()
568 getNextToken(); // eat 'in'. in ParseForExpr()
581 getNextToken(); // eat the var. in ParseVarExpr()
591 getNextToken(); // eat identifier. in ParseVarExpr()
596 getNextToken(); // eat the '='. in ParseVarExpr()
608 getNextToken(); // eat the ','. in ParseVarExpr()
617 getNextToken(); // eat 'in'. in ParseVarExpr()
662 getNextToken(); in ParseUnary()
684 getNextToken(); // eat binop in ParseBinOpRHS()
735 getNextToken(); in ParsePrototype()
738 getNextToken(); in ParsePrototype()
744 getNextToken(); in ParsePrototype()
747 getNextToken(); in ParsePrototype()
753 getNextToken(); in ParsePrototype()
760 getNextToken(); in ParsePrototype()
769 while (getNextToken() == tok_identifier) in ParsePrototype()
775 getNextToken(); // eat ')'. in ParsePrototype()
787 getNextToken(); // eat def. in ParseDefinition()
811 getNextToken(); // eat extern. in ParseExtern()
1332 getNextToken(); in HandleDefinition()
1344 getNextToken(); in HandleExtern()
1356 getNextToken(); in HandleTopLevelExpression()
1367 getNextToken(); in MainLoop()
1416 getNextToken(); in main()