def METHOD_NAME(self, apiview):
    """Generates token for the node and it's children recursively and add it to apiview
    :param ApiView: apiview
    """
    if self.child_nodes:
        # Add name space level functions first
        for c in filter(filter_function, self.child_nodes):
            c.METHOD_NAME(apiview)
            apiview.set_blank_lines(2)
        # Add classes
        for c in filter(filter_class, self.child_nodes):
            c.METHOD_NAME(apiview)
            apiview.set_blank_lines(2)