(self, nodes, debug=False)
return nodes
Takes a group of nodes and runs the filters provided by the parser's
        plugins.
Takes a group of nodes and runs the filters provided by the parser's
        plugins.
Takes a group of nodes and runs the filters provided by the parser s plugins .
def filterize(self, nodes, debug=False):
        """Takes a group of nodes and runs the filters provided by the parser's
        plugins.
        """

        # Call each filter in the priorized list of plugin filters
        if debug:
            print_debug(debug, "Pre-filtered group: %r" % nodes)
        for f in self.filters():
            if debug:
                print_debug(debug, "..Applying: %r" % f)
            nodes = f(self, nodes)
            if debug:
                print_debug(debug, "..Result: %r" % nodes)
            if nodes is None:
                raise Exception("Filter %r did not return anything" % f)
        return nodes
def filterize ( self , nodes , debug = False ) : # Call each filter in the priorized list of plugin filters if debug : print_debug ( debug , "Pre-filtered group: %r" % nodes ) for f in self . filters ( ) : if debug : print_debug ( debug , "..Applying: %r" % f ) nodes = f ( self , nodes ) if debug : print_debug ( debug , "..Result: %r" % nodes ) if nodes is None : raise Exception ( "Filter %r did not return anything" % f ) return nodes