Lines Matching refs:next_token
1087 static uint32_t next_token(uint32_t expected) in next_token() function
1329 next_token(TC_LPAREN); in parse_lrparen_list()
1351 while (!((tc = next_token(expected_tc)) & term_tc)) { in parse_expr()
1389 next_token(TC_GETLINE); in parse_expr()
1484 tc = next_token(TC_LPAREN /* length(...) */ in parse_expr()
1568 while ((tc = next_token(TS_GRPSEQ | TC_RBRACE)) != TC_RBRACE) { in chain_until_rbrace()
1585 tc = next_token(TS_GRPSEQ); in chain_group()
1610 if (next_token(TS_GRPSEQ | TC_RBRACE | TC_ELSE) == TC_ELSE) { in chain_group()
1630 next_token(TC_WHILE); in chain_group()
1636 next_token(TC_LPAREN); in chain_group()
1706 tclass = next_token(TS_OPSEQ | TC_LBRACE | TC_BEGIN | TC_END | TC_FUNCDECL in parse_program()
1721 next_token(TC_LBRACE); in parse_program()
1729 next_token(TC_LBRACE); in parse_program()
1737 next_token(TC_FUNCTION); in parse_program()
1747 if (next_token(TC_VARIABLE | TC_RPAREN) == TC_RPAREN) { in parse_program()
1756 if (next_token(TC_COMMA | TC_RPAREN) == TC_RPAREN) in parse_program()
1762 while (next_token(TC_LBRACE | TC_NEWLINE) == TC_NEWLINE) in parse_program()
1792 tclass = next_token(TS_OPSEQ | TC_LBRACE | TC_BEGIN | TC_END | TC_FUNCDECL in parse_program()