class_docstr: A token stream is an iterable that yields :class:`Token`\s.  The
  parser however does not iterate over it but calls :meth:`next` to go
  one token ahead.  The current active token is stored as :attr:`current`.
class_docstr_tok: ["A","token","stream","is","an","iterable","that","yields",":","class",":","`","Token","`","\\s",".","The","parser","however","does","not","iterate","over","it","but","calls",":","meth",":","`","next","`","to","go","one","token","ahead",".","The","current","active","token","is","stored","as",":","attr",":","`","current","`","."]
docstr: Close the stream.
docstr_tok: ["Close","the","stream","."]
code: def close(self) -> None:
      """Close the stream."""
      self.current = Token(self.current.lineno, TOKEN_EOF, "")
      self._iter = iter(())
      self.closed = True
  
imports: import re
  import typing
  from ast import literal_eval
  from collections import deque
  from sys import intern
  from ._identifier import pattern
  from .exceptions import TemplateSyntaxError
  from .utils import LRUCache
label_desc: Use image node_id 11 for calling the TokenStream obj's underlying member method code with example usage: obj.close() without return types