public static ABracketedExpressionTraceCoreDefinition newABracketedExpressionTraceCoreDefinition( ILexLocation location, List<ATraceDefinitionTerm> list) { return new ABracketedExpressionTraceCoreDefinition(location, list); }
/** * Returns a deep clone of this {@link ABracketedExpressionTraceCoreDefinition} node. * @return a deep clone of this {@link ABracketedExpressionTraceCoreDefinition} node */ public ABracketedExpressionTraceCoreDefinition clone() { return new ABracketedExpressionTraceCoreDefinition( _location, cloneList(_terms) ); }
/** * Creates a deep clone of this {@link ABracketedExpressionTraceCoreDefinition} 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 ABracketedExpressionTraceCoreDefinition} node */ public ABracketedExpressionTraceCoreDefinition clone(Map<INode,INode> oldToNewMap) { ABracketedExpressionTraceCoreDefinition node = new ABracketedExpressionTraceCoreDefinition( _location, cloneList(_terms, oldToNewMap) ); oldToNewMap.put(this, node); return node; }