public void SetIncDecOp(PIncDecOp node) { if (_inc_dec_op_ != null) { _inc_dec_op_.Parent(null); } if (node != null) { if (node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _inc_dec_op_ = node; }
internal override void RemoveChild(Node child) { if (_lvalue_ == child) { _lvalue_ = null; return; } if (_inc_dec_op_ == child) { _inc_dec_op_ = null; return; } }
public AIncDecExp( PLvalue _lvalue_, PIncDecOp _inc_dec_op_ ) { SetLvalue(_lvalue_); SetIncDecOp(_inc_dec_op_); }