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