public static ALetDefBindingTraceDefinition newALetDefBindingTraceDefinition( ILexLocation location, List<AValueDefinition> localDefs, PTraceDefinition body) { return new ALetDefBindingTraceDefinition(location, localDefs, body); }
/** * Returns a deep clone of this {@link ALetDefBindingTraceDefinition} node. * @return a deep clone of this {@link ALetDefBindingTraceDefinition} node */ public ALetDefBindingTraceDefinition clone() { return new ALetDefBindingTraceDefinition( _location, cloneList(_localDefs), cloneNode(_body) ); }
/** * Creates a deep clone of this {@link ALetDefBindingTraceDefinition} 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 ALetDefBindingTraceDefinition} node */ public ALetDefBindingTraceDefinition clone(Map<INode,INode> oldToNewMap) { ALetDefBindingTraceDefinition node = new ALetDefBindingTraceDefinition( _location, cloneList(_localDefs, oldToNewMap), cloneNode(_body, oldToNewMap) ); oldToNewMap.put(this, node); return node; }