/** * Creates a new tree field only constructor {@code ASetRangeSetExp TAG=setRange} 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 first_ the {@link PExp} node for the {@code first} child of this {@link ASetRangeSetExp} node * @param last_ the {@link PExp} node for the {@code last} child of this {@link ASetRangeSetExp} node */ public ASetRangeSetExp(ILexLocation location_, PExp first_, PExp last_) { super(null,location_,null); this.setFirst(first_); this.setLast(last_); }
public static ASetRangeSetExp newASetRangeSetExp(ILexLocation start, PExp first, PExp last) { ASetRangeSetExp result = new ASetRangeSetExp(); initExpression(result, start); result.setFirst(first); result.setLast(last); return result; }
/** * Creates a new complete constructor {@code ASetRangeSetExp} 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 first_ the {@link PExp} node for the {@code first} child of this {@link ASetRangeSetExp} node * @param last_ the {@link PExp} node for the {@code last} child of this {@link ASetRangeSetExp} node * @param ftype_ the {@link PType} <b>graph</a> node for the {@code ftype} child of this {@link ASetRangeSetExp} node. * <i>The parent of this {@code ftype } will not be changed by adding it to this node.</i> * @param ltype_ the {@link PType} <b>graph</a> node for the {@code ltype} child of this {@link ASetRangeSetExp} node. * <i>The parent of this {@code ltype } will not be changed by adding it to this node.</i> */ public ASetRangeSetExp(PType type_, ILexLocation location_, SSetType setType_, PExp first_, PExp last_, PType ftype_, PType ltype_) { super(type_,location_,setType_); this.setFirst(first_); this.setLast(last_); this.setFtype(ftype_); this.setLtype(ltype_); }