code: def Compile(self, filter_implementation):
      
      operator = self.operator.lower()
      if operator in ('and', '&&'):
        method = 'AndFilter'
      elif operator in ('or', '||'):
        method = 'OrFilter'
      else:
        raise errors.ParseError(
            'Invalid binary operator {0:s}.'.format(operator))
  
      args = [x.Compile(filter_implementation) for x in self.args]
      return filter_implementation.FILTERS[method](arguments=args)
docs: Compile the binary expression into a filter object.