code: def reset(self):
          
          self.indchar = None
          self.comments = {}
          self.refs = []
          self.set_skips([])
          self.docstring = ""
          self.ichain_count = 0
          self.tre_store_count = 0
          self.case_check_count = 0
          self.stmt_lambdas = []
          if self.strict:
              self.unused_imports = set()
          self.bind()
docs: Resets references.