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