/** * Creates a new complete constructor {@code ARecordModifier} 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 tag_ the {@link ILexIdentifierToken} node for the {@code tag} child of this {@link ARecordModifier} node * @param value_ the {@link PExp} node for the {@code value} child of this {@link ARecordModifier} node */ public ARecordModifier(ILexIdentifierToken tag_, PExp value_) { super(); this.setTag(tag_); this.setValue(value_); }
public static ARecordModifier newARecordModifier(LexIdentifierToken tag, PExp value) { ARecordModifier result = new ARecordModifier(); result.setTag(tag); result.setValue(value); return result; }