/** * Sets the {@code _first} child of this {@link ACompMapExpIR} node. * @param value the new {@code _first} child of this {@link ACompMapExpIR} node */ public void setFirst(AMapletExpIR value) { if (this._first != null) { this._first.parent(null); } if (value != null) { if (value.parent() != null) { value.parent().removeChild(value); } value.parent(this); } this._first = value; }