public static ARepeatTraceDefinition newARepeatTraceDefinition( ILexLocation location, PTraceCoreDefinition core, long from, long to) { return new ARepeatTraceDefinition(location, core, from, to); }
/** * Returns a deep clone of this {@link ARepeatTraceDefinition} node. * @return a deep clone of this {@link ARepeatTraceDefinition} node */ public ARepeatTraceDefinition clone() { return new ARepeatTraceDefinition( _location, cloneNode(_core), _from, _to ); }
/** * Creates a deep clone of this {@link ARepeatTraceDefinition} 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 ARepeatTraceDefinition} node */ public ARepeatTraceDefinition clone(Map<INode,INode> oldToNewMap) { ARepeatTraceDefinition node = new ARepeatTraceDefinition( _location, cloneNode(_core, oldToNewMap), _from, _to ); oldToNewMap.put(this, node); return node; }