/** * Creates a new complete constructor {@code ACallStm} 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 ILexNameToken} node for the {@code name} child of this {@link ACallStm} node * @param args_ the {@link NodeList} node for the {@code args} child of this {@link ACallStm} node * @param rootdef_ the {@link PDefinition} <b>graph</a> node for the {@code rootdef} child of this {@link ACallStm} node. * <i>The parent of this {@code rootdef } will not be changed by adding it to this node.</i> */ public ACallStm(ILexLocation location_, PType type_, ILexNameToken name_, List<? extends PExp> args_, PDefinition rootdef_) { super(location_,type_); this.setName(name_); this.setArgs(args_); this.setRootdef(rootdef_); }
node.setRootdef(opdef);