def next(self):
self.current_token = next(self.token_stream, None)<EOL>if self.current_token is None:<EOL><INDENT>self.token_span = self.token_span[<NUM_LIT:1>], self.token_span[<NUM_LIT:1>]<EOL>raise self.error('<STR_LIT>')<EOL><DEDENT>self.token_span = self.current_token.span<EOL>return self<EOL>
Move to the next token in the token stream.