Lines Matching refs:getNextToken
275 static int getNextToken() { return CurTok = gettok(); } in getNextToken() function
309 getNextToken(); // consume the number in ParseNumberExpr()
315 getNextToken(); // eat (. in ParseParenExpr()
322 getNextToken(); // eat ). in ParseParenExpr()
332 getNextToken(); // eat identifier. in ParseIdentifierExpr()
338 getNextToken(); // eat ( in ParseIdentifierExpr()
352 getNextToken(); in ParseIdentifierExpr()
357 getNextToken(); in ParseIdentifierExpr()
364 getNextToken(); // eat the if. in ParseIfExpr()
373 getNextToken(); // eat the then in ParseIfExpr()
382 getNextToken(); in ParseIfExpr()
394 getNextToken(); // eat the for. in ParseForExpr()
400 getNextToken(); // eat identifier. in ParseForExpr()
404 getNextToken(); // eat '='. in ParseForExpr()
411 getNextToken(); in ParseForExpr()
420 getNextToken(); in ParseForExpr()
428 getNextToken(); // eat 'in'. in ParseForExpr()
441 getNextToken(); // eat the var. in ParseVarExpr()
451 getNextToken(); // eat identifier. in ParseVarExpr()
456 getNextToken(); // eat the '='. in ParseVarExpr()
468 getNextToken(); // eat the ','. in ParseVarExpr()
477 getNextToken(); // eat 'in'. in ParseVarExpr()
522 getNextToken(); in ParseUnary()
543 getNextToken(); // eat binop in ParseBinOpRHS()
592 getNextToken(); in ParsePrototype()
595 getNextToken(); in ParsePrototype()
601 getNextToken(); in ParsePrototype()
604 getNextToken(); in ParsePrototype()
610 getNextToken(); in ParsePrototype()
617 getNextToken(); in ParsePrototype()
626 while (getNextToken() == tok_identifier) in ParsePrototype()
632 getNextToken(); // eat ')'. in ParsePrototype()
644 getNextToken(); // eat def. in ParseDefinition()
667 getNextToken(); // eat extern. in ParseExtern()
1112 getNextToken(); in HandleDefinition()
1125 getNextToken(); in HandleExtern()
1154 getNextToken(); in HandleTopLevelExpression()
1166 getNextToken(); in MainLoop()
1218 getNextToken(); in main()