/** * Creates a new complete constructor {@code SBinaryExpBase} 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 left_ the {@link SExpIR} node for the {@code left} child of this {@link SBinaryExpBase} node * @param right_ the {@link SExpIR} node for the {@code right} child of this {@link SBinaryExpBase} node */ public SBinaryExpBase(SourceNode sourceNode_, Object tag_, List<? extends ClonableString> metaData_, STypeIR type_, SExpIR left_, SExpIR right_) { super(sourceNode_,tag_,metaData_,type_); this.setLeft(left_); this.setRight(right_); }
/** * Creates a new tree field only constructor {@code SBinaryExpBase TAG=#Binary} 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 left_ the {@link SExpIR} node for the {@code left} child of this {@link SBinaryExpBase} node * @param right_ the {@link SExpIR} node for the {@code right} child of this {@link SBinaryExpBase} node */ public SBinaryExpBase(STypeIR type_, SExpIR left_, SExpIR right_) { super(null,null,null,type_); this.setLeft(left_); this.setRight(right_); }