Add a filter class to the parser.

def addFilter(self, filterclass):
        """Add a filter class to the parser."""
        if filterclass not in self.filters:
            self.filters.append(filterclass)