/** * Creates a new complete constructor {@code AProductType} 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 types_ the {@link GraphNodeList} <b>graph</a> node for the {@code types} child of this {@link AProductType} node. * <i>The parent of this {@code types } will not be changed by adding it to this node.</i> */ public AProductType(ILexLocation location_, Boolean resolved_, List<? extends PDefinition> definitions_, List<? extends PType> types_) { super(location_,resolved_,definitions_); this.setTypes(types_); }
public static AProductType newAProductType(ILexLocation location, List<PType> types) { AProductType result = new AProductType(); initType(result, location); result.setTypes(types); return result; }
type.setTypes(fixed); return type;