/** * Creates a new complete constructor {@code AModuleImportsIR} 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 String} node for the {@code name} child of this {@link AModuleImportsIR} node * @param imports_ the {@link NodeList} node for the {@code imports} child of this {@link AModuleImportsIR} node */ public AModuleImportsIR(SourceNode sourceNode_, Object tag_, List<? extends ClonableString> metaData_, String name_, List<? extends AFromModuleImportsIR> imports_) { super(sourceNode_,tag_,metaData_); this.setName(name_); this.setImports(imports_); }
/** * Creates a new tree field only constructor {@code AModuleImportsIR TAG=module} 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 String} node for the {@code name} child of this {@link AModuleImportsIR} node * @param imports_ the {@link NodeList} node for the {@code imports} child of this {@link AModuleImportsIR} node */ public AModuleImportsIR(String name_, List<? extends AFromModuleImportsIR> imports_) { super(null,null,null); this.setName(name_); this.setImports(imports_); }