def evaluate(self):
try:<EOL><INDENT>self.condition = self.terms.prune(ConditionBinOp)<EOL><DEDENT>except AttributeError:<EOL><INDENT>raise ValueError("<STR_LIT>"<EOL>"<STR_LIT>".format(expr=self.expr,<EOL>slf=self))<EOL><DEDENT>try:<EOL><INDENT>self.filter = self.terms.prune(FilterBinOp)<EOL><DEDENT>except AttributeError:<EOL><INDENT>raise ValueError("<STR_LIT>"<EOL>"<STR_LIT>".format(expr=self.expr,<EOL>slf=self))<EOL><DEDENT>return self.condition, self.filter<EOL>
create and return the numexpr condition and filter