parameters: (superclass, all_nodes=_all_nodes)
return_statement: return frozenset(node_names)
docstring: Filter out AST nodes that are subclasses of ``superclass``.
docstring_summary: Filter out AST nodes that are subclasses of ``superclass``.
docstring_tokens: Filter out AST nodes that are subclasses of superclass .
function: def _filter_nodes(superclass, all_nodes=_all_nodes):
      """Filter out AST nodes that are subclasses of ``superclass``."""
      node_names = (node.__name__ for node in all_nodes
                    if issubclass(node, superclass))
      return frozenset(node_names)
function_tokens: def _filter_nodes ( superclass , all_nodes = _all_nodes ) : node_names = ( node . __name__ for node in all_nodes if issubclass ( node , superclass ) ) return frozenset ( node_names )