/** * Creates a new complete constructor {@code AFromModuleImportsIR} 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 AFromModuleImportsIR} node * @param signatures_ the {@link NodeListList} node for the {@code signatures} child of this {@link AFromModuleImportsIR} node */ public AFromModuleImportsIR(SourceNode sourceNode_, Object tag_, List<? extends ClonableString> metaData_, String name_, Collection<? extends List<SImportIR>> signatures_) { super(sourceNode_,tag_,metaData_); this.setName(name_); this.setSignatures(signatures_); }
/** * Creates a new tree field only constructor {@code AFromModuleImportsIR TAG=fromModule} 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 AFromModuleImportsIR} node * @param signatures_ the {@link NodeListList} node for the {@code signatures} child of this {@link AFromModuleImportsIR} node */ public AFromModuleImportsIR(String name_, Collection<? extends List<SImportIR>> signatures_) { super(null,null,null); this.setName(name_); this.setSignatures(signatures_); }
fromImportCg.setName(name);