'Set the filter attributes to its default values'

def _reset(self):

    self._in_declare = False
    self._in_dbldollar = False
    self._is_create = False
    self._begin_depth = 0
    self.consume_ws = False
    self.tokens = []
    self.level = 0
