/** * Creates a new tree field only constructor {@code AFuncDeclIR TAG=func} 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 access_ the {@link String} node for the {@code access} child of this {@link AFuncDeclIR} node * @param abstract_ the {@link Boolean} node for the {@code abstract} child of this {@link AFuncDeclIR} node * @param methodType_ the {@link AMethodTypeIR} node for the {@code methodType} child of this {@link AFuncDeclIR} node * @param name_ the {@link String} node for the {@code name} child of this {@link AFuncDeclIR} node * @param formalParams_ the {@link NodeList} node for the {@code formalParams} child of this {@link AFuncDeclIR} node * @param templateTypes_ the {@link NodeList} node for the {@code templateTypes} child of this {@link AFuncDeclIR} node * @param implicit_ the {@link Boolean} node for the {@code implicit} child of this {@link AFuncDeclIR} node * @param raises_ the {@link NodeList} node for the {@code raises} child of this {@link AFuncDeclIR} node * @param body_ the {@link SExpIR} node for the {@code body} child of this {@link AFuncDeclIR} node */ public AFuncDeclIR(String access_, Boolean abstract_, AMethodTypeIR methodType_, String name_, List<? extends AFormalParamLocalParamIR> formalParams_, List<? extends ATemplateTypeIR> templateTypes_, Boolean implicit_, List<? extends STypeIR> raises_, SExpIR body_) { super(null,null,null); this.setAccess(access_); this.setAbstract(abstract_); this.setMethodType(methodType_); this.setName(name_); this.setFormalParams(formalParams_); this.setTemplateTypes(templateTypes_); this.setImplicit(implicit_); this.setRaises(raises_); this.setBody(body_); }
this.setImplicit(implicit_); this.setRaises(raises_); this.setBody(body_);