/** * Creates a new complete constructor {@code ANewExpIR} 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 name_ the {@link ATypeNameIR} node for the {@code name} child of this {@link ANewExpIR} node * @param args_ the {@link NodeList} node for the {@code args} child of this {@link ANewExpIR} node */ public ANewExpIR(SourceNode sourceNode_, Object tag_, List<? extends ClonableString> metaData_, STypeIR type_, ATypeNameIR name_, List<? extends SExpIR> args_) { super(sourceNode_,tag_,metaData_,type_); this.setName(name_); this.setArgs(args_); }
/** * Creates a new tree field only constructor {@code ANewExpIR TAG=new} 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 name_ the {@link ATypeNameIR} node for the {@code name} child of this {@link ANewExpIR} node * @param args_ the {@link NodeList} node for the {@code args} child of this {@link ANewExpIR} node */ public ANewExpIR(STypeIR type_, ATypeNameIR name_, List<? extends SExpIR> args_) { super(null,null,null,type_); this.setName(name_); this.setArgs(args_); }