code: def CompileFilter(self, filter_expression):
      
      filter_parser = pfilter.BaseParser(filter_expression).Parse()
      matcher = filter_parser.Compile(pfilter.PlasoAttributeFilterImplementation)
  
      self._filter_expression = filter_expression
      self._matcher = matcher
docs: Compiles the filter expression.
  
      The filter expression contains an object filter expression.
  
      Args:
        filter_expression (str): filter expression.
  
      Raises:
        ParseError: if the filter expression cannot be parsed.