Lines Matching refs:getNextToken
242 static int getNextToken() { in getNextToken() function
274 getNextToken(); // eat identifier. in ParseIdentifierExpr()
280 getNextToken(); // eat ( in ParseIdentifierExpr()
292 getNextToken(); in ParseIdentifierExpr()
297 getNextToken(); in ParseIdentifierExpr()
305 getNextToken(); // consume the number in ParseNumberExpr()
311 getNextToken(); // eat (. in ParseParenExpr()
317 getNextToken(); // eat ). in ParseParenExpr()
323 getNextToken(); // eat the if. in ParseIfExpr()
331 getNextToken(); // eat the then in ParseIfExpr()
339 getNextToken(); in ParseIfExpr()
349 getNextToken(); // eat the for. in ParseForExpr()
355 getNextToken(); // eat identifier. in ParseForExpr()
359 getNextToken(); // eat '='. in ParseForExpr()
366 getNextToken(); in ParseForExpr()
374 getNextToken(); in ParseForExpr()
381 getNextToken(); // eat 'in'. in ParseForExpr()
392 getNextToken(); // eat the var. in ParseVarExpr()
402 getNextToken(); // eat identifier. in ParseVarExpr()
407 getNextToken(); // eat the '='. in ParseVarExpr()
417 getNextToken(); // eat the ','. in ParseVarExpr()
426 getNextToken(); // eat 'in'. in ParseVarExpr()
463 getNextToken(); in ParseUnary()
483 getNextToken(); // eat binop in ParseBinOpRHS()
528 getNextToken(); in ParsePrototype()
531 getNextToken(); in ParsePrototype()
537 getNextToken(); in ParsePrototype()
540 getNextToken(); in ParsePrototype()
546 getNextToken(); in ParsePrototype()
553 getNextToken(); in ParsePrototype()
562 while (getNextToken() == tok_identifier) in ParsePrototype()
568 getNextToken(); // eat ')'. in ParsePrototype()
579 getNextToken(); // eat def. in ParseDefinition()
600 getNextToken(); // eat extern. in ParseExtern()
1264 getNextToken(); in HandleDefinition()
1278 getNextToken(); in HandleExtern()
1300 getNextToken(); in HandleTopLevelExpression()
1312 case ';': getNextToken(); break; // ignore top-level semicolons. in MainLoop()
1367 getNextToken(); in main()