internal override void RemoveChild(Node child) { if (_visibility_modifier_ == child) { _visibility_modifier_ = null; return; } if (_static_ == child) { _static_ = null; return; } if (_ref_ == child) { _ref_ = null; return; } if (_out_ == child) { _out_ = null; return; } if (_const_ == child) { _const_ = null; return; } if (_type_ == child) { _type_ = null; return; } if (_name_ == child) { _name_ = null; return; } if (_init_ == child) { _init_ = null; return; } }
public void SetOut(TOut node) { if (_out_ != null) { _out_.Parent(null); } if (node != null) { if (node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _out_ = node; }
public virtual void CaseTOut(TOut node) { DefaultCase(node); }
public AALocalDecl( PVisibilityModifier _visibility_modifier_, TStatic _static_, TRef _ref_, TOut _out_, TConst _const_, PType _type_, TIdentifier _name_, PExp _init_ ) { SetVisibilityModifier(_visibility_modifier_); SetStatic(_static_); SetRef(_ref_); SetOut(_out_); SetConst(_const_); SetType(_type_); SetName(_name_); SetInit(_init_); }
public override void CaseTOut(TOut node) { index = 15; }