/** * Creates a deep clone of this {@link ASetCompSetExp} 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 ASetCompSetExp} node */ public ASetCompSetExp clone(Map<INode,INode> oldToNewMap) { ASetCompSetExp node = new ASetCompSetExp( _type, _location, _setType, cloneNode(_first, oldToNewMap), cloneList(_bindings, oldToNewMap), cloneNode(_predicate, oldToNewMap) ); oldToNewMap.put(this, node); return node; }