public Start( PProg _base_, EOF _eof_) { SetPProg(_base_); SetEOF(_eof_); }
internal override void RemoveChild(Node child) { if (_base_ == child) { _base_ = null; return; } if (_eof_ == child) { _eof_ = null; return; } }
public void SetEOF(EOF node) { if (_eof_ != null) { _eof_.Parent(null); } if (node != null) { if (node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _eof_ = node; }