public APlusExpr( PExpr _expr_, TPlus _plus_, PExpr2 _expr2_ ) { SetExpr(_expr_); SetPlus(_plus_); SetExpr2(_expr2_); }
internal override void RemoveChild(Node child) { if (_expr_ == child) { _expr_ = null; return; } if (_plus_ == child) { _plus_ = null; return; } if (_expr2_ == child) { _expr2_ = null; return; } }
public void SetPlus(TPlus node) { if (_plus_ != null) { _plus_.Parent(null); } if (node != null) { if (node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _plus_ = node; }