Lines Matching refs:getNextToken
259 static int getNextToken() { in getNextToken() function
298 getNextToken(); // eat identifier. in ParseIdentifierExpr()
304 getNextToken(); // eat ( in ParseIdentifierExpr()
316 getNextToken(); in ParseIdentifierExpr()
321 getNextToken(); in ParseIdentifierExpr()
329 getNextToken(); // consume the number in ParseNumberExpr()
335 getNextToken(); // eat (. in ParseParenExpr()
342 getNextToken(); // eat ). in ParseParenExpr()
348 getNextToken(); // eat the if. in ParseIfExpr()
357 getNextToken(); // eat the then in ParseIfExpr()
366 getNextToken(); in ParseIfExpr()
378 getNextToken(); // eat the for. in ParseForExpr()
384 getNextToken(); // eat identifier. in ParseForExpr()
388 getNextToken(); // eat '='. in ParseForExpr()
395 getNextToken(); in ParseForExpr()
404 getNextToken(); in ParseForExpr()
412 getNextToken(); // eat 'in'. in ParseForExpr()
425 getNextToken(); // eat the var. in ParseVarExpr()
435 getNextToken(); // eat identifier. in ParseVarExpr()
440 getNextToken(); // eat the '='. in ParseVarExpr()
451 getNextToken(); // eat the ','. in ParseVarExpr()
460 getNextToken(); // eat 'in'. in ParseVarExpr()
498 getNextToken(); in ParseUnary()
519 getNextToken(); // eat binop in ParseBinOpRHS()
567 getNextToken(); in ParsePrototype()
570 getNextToken(); in ParsePrototype()
576 getNextToken(); in ParsePrototype()
579 getNextToken(); in ParsePrototype()
585 getNextToken(); in ParsePrototype()
592 getNextToken(); in ParsePrototype()
601 while (getNextToken() == tok_identifier) in ParsePrototype()
607 getNextToken(); // eat ')'. in ParsePrototype()
619 getNextToken(); // eat def. in ParseDefinition()
642 getNextToken(); // eat extern. in ParseExtern()
1320 getNextToken(); in HandleDefinition()
1329 getNextToken(); in HandleExtern()
1363 getNextToken(); in HandleTopLevelExpression()
1375 case ';': getNextToken(); continue; // ignore top-level semicolons. in MainLoop()
1432 getNextToken(); in main()