Lines Matching refs:getNextToken
265 static int getNextToken() { in getNextToken() function
297 getNextToken(); // eat identifier. in ParseIdentifierExpr()
303 getNextToken(); // eat ( in ParseIdentifierExpr()
315 getNextToken(); in ParseIdentifierExpr()
320 getNextToken(); in ParseIdentifierExpr()
328 getNextToken(); // consume the number in ParseNumberExpr()
334 getNextToken(); // eat (. in ParseParenExpr()
340 getNextToken(); // eat ). in ParseParenExpr()
346 getNextToken(); // eat the if. in ParseIfExpr()
354 getNextToken(); // eat the then in ParseIfExpr()
362 getNextToken(); in ParseIfExpr()
372 getNextToken(); // eat the for. in ParseForExpr()
378 getNextToken(); // eat identifier. in ParseForExpr()
382 getNextToken(); // eat '='. in ParseForExpr()
389 getNextToken(); in ParseForExpr()
397 getNextToken(); in ParseForExpr()
404 getNextToken(); // eat 'in'. in ParseForExpr()
415 getNextToken(); // eat the var. in ParseVarExpr()
425 getNextToken(); // eat identifier. in ParseVarExpr()
430 getNextToken(); // eat the '='. in ParseVarExpr()
440 getNextToken(); // eat the ','. in ParseVarExpr()
449 getNextToken(); // eat 'in'. in ParseVarExpr()
486 getNextToken(); in ParseUnary()
506 getNextToken(); // eat binop in ParseBinOpRHS()
551 getNextToken(); in ParsePrototype()
554 getNextToken(); in ParsePrototype()
560 getNextToken(); in ParsePrototype()
563 getNextToken(); in ParsePrototype()
569 getNextToken(); in ParsePrototype()
576 getNextToken(); in ParsePrototype()
585 while (getNextToken() == tok_identifier) in ParsePrototype()
591 getNextToken(); // eat ')'. in ParsePrototype()
602 getNextToken(); // eat def. in ParseDefinition()
623 getNextToken(); // eat extern. in ParseExtern()
1407 getNextToken(); in HandleDefinition()
1421 getNextToken(); in HandleExtern()
1443 getNextToken(); in HandleTopLevelExpression()
1455 case ';': getNextToken(); break; // ignore top-level semicolons. in MainLoop()
1533 getNextToken(); in main()