/** * Creates a new complete constructor {@code AApplyExp} 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 root_ the {@link PExp} node for the {@code root} child of this {@link AApplyExp} node * @param args_ the {@link NodeList} node for the {@code args} child of this {@link AApplyExp} node * @param argtypes_ the {@link GraphNodeList} <b>graph</a> node for the {@code argtypes} child of this {@link AApplyExp} node. * <i>The parent of this {@code argtypes } will not be changed by adding it to this node.</i> * @param recursive_ the {@link PDefinition} <b>graph</a> node for the {@code recursive} child of this {@link AApplyExp} node. * <i>The parent of this {@code recursive } will not be changed by adding it to this node.</i> */ public AApplyExp(PType type_, ILexLocation location_, PExp root_, List<? extends PExp> args_, List<? extends PType> argtypes_, PDefinition recursive_) { super(type_,location_); this.setRoot(root_); this.setArgs(args_); this.setArgtypes(argtypes_); this.setRecursive(recursive_); }
node.setArgtypes(new ArrayList<PType>());