/** * Creates a new tree field only constructor {@code AMapSeqUpdateStmIR TAG=mapSeqUpdate} 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 col_ the {@link SExpIR} node for the {@code col} child of this {@link AMapSeqUpdateStmIR} node * @param index_ the {@link SExpIR} node for the {@code index} child of this {@link AMapSeqUpdateStmIR} node * @param value_ the {@link SExpIR} node for the {@code value} child of this {@link AMapSeqUpdateStmIR} node */ public AMapSeqUpdateStmIR(SExpIR col_, SExpIR index_, SExpIR value_) { super(null,null,null); this.setCol(col_); this.setIndex(index_); this.setValue(value_); }
/** * Creates a new complete constructor {@code AMapSeqUpdateStmIR} 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 col_ the {@link SExpIR} node for the {@code col} child of this {@link AMapSeqUpdateStmIR} node * @param index_ the {@link SExpIR} node for the {@code index} child of this {@link AMapSeqUpdateStmIR} node * @param value_ the {@link SExpIR} node for the {@code value} child of this {@link AMapSeqUpdateStmIR} node */ public AMapSeqUpdateStmIR(SourceNode sourceNode_, Object tag_, List<? extends ClonableString> metaData_, SExpIR col_, SExpIR index_, SExpIR value_) { super(sourceNode_,tag_,metaData_); this.setCol(col_); this.setIndex(index_); this.setValue(value_); }
mapSeqUpd.setCol(col); mapSeqUpd.setIndex(index.clone()); mapSeqUpd.setValue(value.clone());