Lines Matching refs:getNextToken
258 static int getNextToken() { in getNextToken() function
290 getNextToken(); // eat identifier. in ParseIdentifierExpr()
296 getNextToken(); // eat ( in ParseIdentifierExpr()
308 getNextToken(); in ParseIdentifierExpr()
313 getNextToken(); in ParseIdentifierExpr()
321 getNextToken(); // consume the number in ParseNumberExpr()
327 getNextToken(); // eat (. in ParseParenExpr()
333 getNextToken(); // eat ). in ParseParenExpr()
339 getNextToken(); // eat the if. in ParseIfExpr()
347 getNextToken(); // eat the then in ParseIfExpr()
355 getNextToken(); in ParseIfExpr()
365 getNextToken(); // eat the for. in ParseForExpr()
371 getNextToken(); // eat identifier. in ParseForExpr()
375 getNextToken(); // eat '='. in ParseForExpr()
382 getNextToken(); in ParseForExpr()
390 getNextToken(); in ParseForExpr()
397 getNextToken(); // eat 'in'. in ParseForExpr()
408 getNextToken(); // eat the var. in ParseVarExpr()
418 getNextToken(); // eat identifier. in ParseVarExpr()
423 getNextToken(); // eat the '='. in ParseVarExpr()
433 getNextToken(); // eat the ','. in ParseVarExpr()
442 getNextToken(); // eat 'in'. in ParseVarExpr()
479 getNextToken(); in ParseUnary()
499 getNextToken(); // eat binop in ParseBinOpRHS()
544 getNextToken(); in ParsePrototype()
547 getNextToken(); in ParsePrototype()
553 getNextToken(); in ParsePrototype()
556 getNextToken(); in ParsePrototype()
562 getNextToken(); in ParsePrototype()
569 getNextToken(); in ParsePrototype()
578 while (getNextToken() == tok_identifier) in ParsePrototype()
584 getNextToken(); // eat ')'. in ParsePrototype()
595 getNextToken(); // eat def. in ParseDefinition()
616 getNextToken(); // eat extern. in ParseExtern()
1036 getNextToken(); in HandleDefinition()
1050 getNextToken(); in HandleExtern()
1071 getNextToken(); in HandleTopLevelExpression()
1083 case ';': getNextToken(); break; // ignore top-level semicolons. in MainLoop()
1192 getNextToken(); in main()