/** * Creates a new tree field only constructor {@code ATuplePatternIR TAG=tuple} 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 patterns_ the {@link NodeList} node for the {@code patterns} child of this {@link ATuplePatternIR} node */ public ATuplePatternIR(List<? extends SPatternIR> patterns_) { super(null,null,null); this.setPatterns(patterns_); }
/** * Creates a new complete constructor {@code ATuplePatternIR} 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 patterns_ the {@link NodeList} node for the {@code patterns} child of this {@link ATuplePatternIR} node */ public ATuplePatternIR(SourceNode sourceNode_, Object tag_, List<? extends ClonableString> metaData_, List<? extends SPatternIR> patterns_) { super(sourceNode_,tag_,metaData_); this.setPatterns(patterns_); }