/** * 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 */ public SMapTypeBase(ILexLocation location_, Boolean resolved_, Boolean empty_) { super(location_,resolved_,null); this.setEmpty(empty_); }
/** * 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 from_ the {@link PType} <b>graph</a> node for the {@code from} child of this {@link SMapTypeBase} node. * <i>The parent of this {@code from } will not be changed by adding it to this node.</i> * @param to_ the {@link PType} <b>graph</a> node for the {@code to} child of this {@link SMapTypeBase} node. * <i>The parent of this {@code to } will not be changed by adding it to this node.</i> * @param empty_ the {@link Boolean} node for the {@code empty} child of this {@link SMapTypeBase} node */ public SMapTypeBase(ILexLocation location_, Boolean resolved_, List<? extends PDefinition> definitions_, PType from_, PType to_, Boolean empty_) { super(location_,resolved_,definitions_); this.setFrom(from_); this.setTo(to_); this.setEmpty(empty_); }