@Override public SPatternIR caseAIgnorePattern(AIgnorePattern node, IRInfo question) throws AnalysisException { return new AIgnorePatternIR(); }
/** * Returns a deep clone of this {@link AIgnorePatternIR} node. * @return a deep clone of this {@link AIgnorePatternIR} node */ public AIgnorePatternIR clone() { return new AIgnorePatternIR( _sourceNode, _tag, _metaData ); }
/** * Creates a deep clone of this {@link AIgnorePatternIR} 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 AIgnorePatternIR} node */ public AIgnorePatternIR clone(Map<INode,INode> oldToNewMap) { AIgnorePatternIR node = new AIgnorePatternIR( _sourceNode, _tag, _metaData ); oldToNewMap.put(this, node); return node; }