Lines Matching refs:peek_token
104 def peek_token(self):
336 while lex.peek_token().token_type != TokenType.END_OF_FILE:
337 cur_token_type = lex.peek_token().token_type
369 while lex.peek_token().token_type != TokenType.END_OF_FILE:
370 cur_token_type = lex.peek_token().token_type
373 token = lex.peek_token()
374 if lex.peek_token().token_type != TokenType.ID:
415 token = lex.peek_token()
436 if lex.peek_token().token_type != TokenType.ID:
437 token = lex.peek_token()
444 if lex.peek_token().token_type != TokenType.ID:
445 token = lex.peek_token()