code: def parse(self, data, filename='', debuglevel=0):
          
          self.lexer.filename = filename
          self.lexer.reset_lineno()
          if not data or data.isspace():
              return []
          return self.parser.parse(data, lexer=self.lexer, debug=debuglevel)
docs: Parse given data.
  
              data:
                  A string containing the filter definition
              filename:
                  Name of the file being parsed (for meaningful
                  error messages)
              debuglevel:
                  Debug level to yacc