(node)
Yield all direct child nodes of *node*, that is, all fields that are nodes
    and all items of fields that are lists of nodes.
Yield all direct child nodes of *node*, that is, all fields that are nodes
    and all items of fields that are lists of nodes.
Yield all direct child nodes of * node * that is all fields that are nodes and all items of fields that are lists of nodes .
def iter_child_nodes(node):
    """
    Yield all direct child nodes of *node*, that is, all fields that are nodes
    and all items of fields that are lists of nodes.
    """
    for name, field in iter_fields(node):
        if isinstance(field, AST):
            yield field
        elif isinstance(field, list):
            for item in field:
                if isinstance(item, AST):
                    yield item
def iter_child_nodes ( node ) : for name , field in iter_fields ( node ) : if isinstance ( field , AST ) : yield field elif isinstance ( field , list ) : for item in field : if isinstance ( item , AST ) : yield item