def case_0(node):
    """ Case when node have only one children.
    Only in that case node.visited changed.
    
    Example:
    T->[a] to a."""
    parent = node.parent
    child = node.children[0]
    child.visited = True
    parent.replace_child(node, child)
    return parent
