Lines Matching refs:next
54 if not hasattr(builtins, 'next'):
56 def next(obj):
57 return obj.next()
720 # Get the next token.
723 # Dispatch on the next token type.
753 # Pop the next token and only put it back if it's not
756 next = self._GetNextToken()
757 if next.name != 'class':
758 self._AddBackToken(next)
765 # Peek ahead to get the next token to figure out which.
766 next = self._GetNextToken()
767 self._AddBackToken(next)
768 if next.token_type == tokenize.SYNTAX and next.name == '(':
946 return next(self.tokens)
973 GetNextToken = lambda: next(it)
1182 new_name, next = self.GetName(seq_copy[i:])
1183 assert new_name, 'Got empty new_name, next=%s' % next
1185 if next and next.token_type == tokenize.SYNTAX:
1186 new_name.append(next)
1253 next = self._GetNextToken()
1258 if next.token_type != tokenize.NAME:
1261 token = next
1644 # Pull off the next token(s?) and make that part of the method name.