/** * Creates a new complete constructor {@code ATuplePattern} node with the given nodes as children. * @deprecated This method should not be used, use AstFactory instead. * The basic child nodes are removed from their previous parents. * @param plist_ the {@link NodeList} node for the {@code plist} child of this {@link ATuplePattern} node */ public ATuplePattern(ILexLocation location_, List<? extends PDefinition> definitions_, Boolean resolved_, List<? extends PPattern> plist_) { super(location_,definitions_,resolved_); this.setPlist(plist_); }
public static ATuplePattern newATuplePattern(ILexLocation location, List<PPattern> list) { ATuplePattern result = new ATuplePattern(); initPattern(result, location); result.setPlist(list); return result; }