docs: def Reset(self):
      """Reset the lexer to process a new data feed."""
      # The first state
      self.state = "INITIAL"
      self.state_stack = []
  
      # The buffer we are parsing now
      self.buffer = ""
      self.error = 0
      self.verbose = 0
  
      # The index into the buffer where we are currently pointing
      self.processed = 0
      self.processed_buffer = ""