def parse(self, data):
parsed_data = self.yacc.parse(<EOL>data, lexer=self.lexer.get_yacc_compat_lexer(), debug=self.debug)<EOL>self.errors = self.lexer.errors + self.errors<EOL>return parsed_data, self.errors<EOL>
Args:
    data (str): Raw filter expression.