/** * Creates a new complete constructor {@code AStringPattern} 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 value_ the {@link ILexStringToken} node for the {@code value} child of this {@link AStringPattern} node */ public AStringPattern(ILexLocation location_, List<? extends PDefinition> definitions_, Boolean resolved_, ILexStringToken value_) { super(location_,definitions_,resolved_); this.setValue(value_); }
public static AStringPattern newAStringPattern(LexStringToken token) { AStringPattern result = new AStringPattern(); initPattern(result, token.location); result.setValue(token); return result; }