replace

open override fun replace(old: Expression, new: Expression): Boolean

Replaces the existing node specified in old with the one in new. Implementation how to do that might be specific to the holder.

An indication whether this operation was successful needs to be returned.