Lines Matching defs:next
56 if not hasattr(builtins, 'next'):
58 def next(obj):
59 return obj.next()
710 # Get the next token.
713 # Dispatch on the next token type.
747 # Peek ahead to get the next token to figure out which.
748 next = self._GetNextToken()
749 self._AddBackToken(next)
750 if next.token_type == tokenize.SYNTAX and next.name == '(':
908 return next(self.tokens)
933 GetNextToken = lambda: next(it)
1142 new_name, next = self.GetName(seq_copy[i:])
1143 assert new_name, 'Got empty new_name, next=%s' % next
1145 if next and next.token_type == tokenize.SYNTAX:
1146 new_name.append(next)
1213 next = self._GetNextToken()
1218 if next.token_type != tokenize.NAME:
1221 token = next
1604 # Pull off the next token(s?) and make that part of the method name.