(node, level=0)
print tree with indentation
print tree with indentation
print tree with indentation
def _print_tree(node, level=0):
    """
    print tree with indentation
    """

    if type(node) is list:
        neon_logger.display(("    " * level) + ", ".join(native_str(s) for s in node[0:3]))
        if len(node) > 3:
            _print_tree(node[3], level + 1)
        if len(node) > 4:
            _print_tree(node[4], level + 1)
    else:
        neon_logger.display(("    " * level) + native_str(node))
def _print_tree ( node , level = 0 ) : if type ( node ) is list : neon_logger . display ( ( "    " * level ) + ", " . join ( native_str ( s ) for s in node [ 0 : 3 ] ) ) if len ( node ) > 3 : _print_tree ( node [ 3 ] , level + 1 ) if len ( node ) > 4 : _print_tree ( node [ 4 ] , level + 1 ) else : neon_logger . display ( ( "    " * level ) + native_str ( node ) )