/** * Creates a new tree field only constructor {@code AParameterType TAG=parameter} 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 ILexNameToken} node for the {@code name} child of this {@link AParameterType} node */ public AParameterType(ILexLocation location_, Boolean resolved_, ILexNameToken name_) { super(location_,resolved_,null); this.setName(name_); }
/** * Creates a new complete constructor {@code AParameterType} 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 ILexNameToken} node for the {@code name} child of this {@link AParameterType} node */ public AParameterType(ILexLocation location_, Boolean resolved_, List<? extends PDefinition> definitions_, ILexNameToken name_) { super(location_,resolved_,definitions_); this.setName(name_); }
public static AParameterType newAParameterType(ILexNameToken name) { AParameterType result = new AParameterType(); initType(result, name.getLocation()); result.setName(name); return result; }