/** * Creates a new complete constructor {@code SMapTypeBase} 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 empty_ the {@link Boolean} node for the {@code empty} child of this {@link SMapTypeBase} node * @param injective_ the {@link Boolean} node for the {@code injective} child of this {@link SMapTypeBase} node * @param from_ the {@link STypeIR} node for the {@code from} child of this {@link SMapTypeBase} node * @param to_ the {@link STypeIR} node for the {@code to} child of this {@link SMapTypeBase} node */ public SMapTypeBase(SourceNode sourceNode_, Object tag_, List<? extends ClonableString> metaData_, Boolean optional_, ANamedTypeDeclIR namedInvType_, Boolean empty_, Boolean injective_, STypeIR from_, STypeIR to_) { super(sourceNode_,tag_,metaData_,optional_,namedInvType_); this.setEmpty(empty_); this.setInjective(injective_); this.setFrom(from_); this.setTo(to_); }
/** * Creates a new tree field only constructor {@code SMapTypeBase TAG=#map} 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 empty_ the {@link Boolean} node for the {@code empty} child of this {@link SMapTypeBase} node * @param injective_ the {@link Boolean} node for the {@code injective} child of this {@link SMapTypeBase} node * @param from_ the {@link STypeIR} node for the {@code from} child of this {@link SMapTypeBase} node * @param to_ the {@link STypeIR} node for the {@code to} child of this {@link SMapTypeBase} node */ public SMapTypeBase(Boolean optional_, ANamedTypeDeclIR namedInvType_, Boolean empty_, Boolean injective_, STypeIR from_, STypeIR to_) { super(null,null,null,optional_,namedInvType_); this.setEmpty(empty_); this.setInjective(injective_); this.setFrom(from_); this.setTo(to_); }