/** * Creates a deep clone of this {@link ALetBeStStm} node while putting all * old node-new node relations in the map {@code oldToNewMap}. * @param oldToNewMap the map filled with the old node-new node relation * @return a deep clone of this {@link ALetBeStStm} node */ public ALetBeStStm clone(Map<INode,INode> oldToNewMap) { ALetBeStStm node = new ALetBeStStm( _location, _type, cloneNode(_bind, oldToNewMap), cloneNode(_suchThat, oldToNewMap), cloneNode(_statement, oldToNewMap), _def ); oldToNewMap.put(this, node); return node; }