internal override void RemoveChild(Node child) { if (_token_ == child) { _token_ = null; return; } if (_cond_ == child) { _cond_ = null; return; } if (_then_ == child) { _then_ = null; return; } if (_else_ == child) { _else_ = null; return; } }
public void SetToken(TQuestionmark node) { if (_token_ != null) { _token_.Parent(null); } if (node != null) { if (node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _token_ = node; }
public virtual void CaseTQuestionmark(TQuestionmark node) { DefaultCase(node); }
public AIfExp( TQuestionmark _token_, PExp _cond_, PExp _then_, PExp _else_ ) { SetToken(_token_); SetCond(_cond_); SetThen(_then_); SetElse(_else_); }
public override void CaseTQuestionmark(TQuestionmark node) { index = 64; }