public AAssignstmt( TId _id_, TAssign _assign_, PExpr _expr_, TEol _eol_ ) { SetId(_id_); SetAssign(_assign_); SetExpr(_expr_); SetEol(_eol_); }
public void SetAssign(TAssign node) { if (_assign_ != null) { _assign_.Parent(null); } if (node != null) { if (node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _assign_ = node; }
internal override void RemoveChild(Node child) { if (_id_ == child) { _id_ = null; return; } if (_assign_ == child) { _assign_ = null; return; } if (_expr_ == child) { _expr_ = null; return; } if (_eol_ == child) { _eol_ = null; return; } }