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