/** * Creates a deep clone of this {@link AMinusUnaryExpIR} 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 AMinusUnaryExpIR} node */ public AMinusUnaryExpIR clone(Map<INode,INode> oldToNewMap) { AMinusUnaryExpIR node = new AMinusUnaryExpIR( _sourceNode, _tag, _metaData, cloneNode(_type, oldToNewMap), cloneNode(_exp, oldToNewMap) ); oldToNewMap.put(this, node); return node; }