replace

abstract fun replace(node: Node, replacementNode: Node): Boolean(source)