Replaces a child node with a new node, and updates the parent node and parent pointers
The new child node or null if the child node was a root node
If the child node does not have a parent node set
Generated using TypeDoc
Replaces a child node with a new node, and updates the parent node and parent pointers