void replace_children(array(AbstractSimpleNode) children)
Replaces the nodes children with the provided ones.