public AMultExpr2( PExpr2 _expr2_, TMult _mult_, POperand _operand_ ) { SetExpr2(_expr2_); SetMult(_mult_); SetOperand(_operand_); }
internal override void RemoveChild(Node child) { if (_expr2_ == child) { _expr2_ = null; return; } if (_mult_ == child) { _mult_ = null; return; } if (_operand_ == child) { _operand_ = null; return; } }
public void SetMult(TMult node) { if (_mult_ != null) { _mult_.Parent(null); } if (node != null) { if (node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _mult_ = node; }