/** * Returns a deep clone of this {@link AOperationValueImportIR} node. * @return a deep clone of this {@link AOperationValueImportIR} node */ public AOperationValueImportIR clone() { return new AOperationValueImportIR( _sourceNode, _tag, _metaData, _name, _renamed, _fromModuleName, _importType ); }
/** * Creates a deep clone of this {@link AOperationValueImportIR} 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 AOperationValueImportIR} node */ public AOperationValueImportIR clone(Map<INode,INode> oldToNewMap) { AOperationValueImportIR node = new AOperationValueImportIR( _sourceNode, _tag, _metaData, _name, _renamed, _fromModuleName, _importType ); oldToNewMap.put(this, node); return node; }
@Override public SImportIR caseAOperationValueImport(AOperationValueImport node, IRInfo question) throws AnalysisException { return initValueImport(node, new AOperationValueImportIR(), question); }