I misunderstood you, of course I can find the node in old ast which was replaced, using operator =.
Sure it works, but the problem is I have to pass oldNodes each time from old node to new one.