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 AFieldDecl(
         PVisibilityModifier _visibility_modifier_,
         TStatic _static_,
         TConst _const_,
         PType _type_,
         TIdentifier _name_,
         PExp _init_
 )
 {
     SetVisibilityModifier(_visibility_modifier_);
     SetStatic(_static_);
     SetConst(_const_);
     SetType(_type_);
     SetName(_name_);
     SetInit(_init_);
 }
        public void SetConst(TConst node)
        {
            if (_const_ != null)
            {
                _const_.Parent(null);
            }

            if (node != null)
            {
                if (node.Parent() != null)
                {
                    node.Parent().RemoveChild(node);
                }

                node.Parent(this);
            }

            _const_ = node;
        }
 internal override void RemoveChild(Node child)
 {
     if (_const_ == child)
     {
         _const_ = null;
         return;
     }
     if (_pre_pointers_.Contains(child))
     {
         _pre_pointers_.Remove(child);
         return;
     }
     if (_lvalue_ == child)
     {
         _lvalue_ = null;
         return;
     }
     if (_generic_token_ == child)
     {
         _generic_token_ = null;
         return;
     }
     if (_generic_types_.Contains(child))
     {
         _generic_types_.Remove(child);
         return;
     }
     if (_post_pointers_.Contains(child))
     {
         _post_pointers_.Remove(child);
         return;
     }
     if (_local_decl_right_.Contains(child))
     {
         _local_decl_right_.Remove(child);
         return;
     }
 }
 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 AShadySAssignmentExp(
         TConst _const_,
         IList _pre_pointers_,
         PLvalue _lvalue_,
         TLt _generic_token_,
         IList _generic_types_,
         IList _post_pointers_,
         IList _local_decl_right_
 )
 {
     SetConst(_const_);
     this._pre_pointers_ = new TypedList(new PrePointers_Cast(this));
     this._pre_pointers_.Clear();
     this._pre_pointers_.AddAll(_pre_pointers_);
     SetLvalue(_lvalue_);
     SetGenericToken(_generic_token_);
     this._generic_types_ = new TypedList(new GenericTypes_Cast(this));
     this._generic_types_.Clear();
     this._generic_types_.AddAll(_generic_types_);
     this._post_pointers_ = new TypedList(new PostPointers_Cast(this));
     this._post_pointers_.Clear();
     this._post_pointers_.AddAll(_post_pointers_);
     this._local_decl_right_ = new TypedList(new LocalDeclRight_Cast(this));
     this._local_decl_right_.Clear();
     this._local_decl_right_.AddAll(_local_decl_right_);
 }
 internal override void RemoveChild(Node child)
 {
     if (_const_ == child)
     {
         _const_ = null;
         return;
     }
     if (_type_ == child)
     {
         _type_ = null;
         return;
     }
     if (_local_decl_right_.Contains(child))
     {
         _local_decl_right_.Remove(child);
         return;
     }
 }
 public AMultiLocalDecl(
         TConst _const_,
         PType _type_,
         IList _local_decl_right_
 )
 {
     SetConst(_const_);
     SetType(_type_);
     this._local_decl_right_ = new TypedList(new LocalDeclRight_Cast(this));
     this._local_decl_right_.Clear();
     this._local_decl_right_.AddAll(_local_decl_right_);
 }
 public virtual void CaseTConst(TConst node)
 {
     DefaultCase(node);
 }
 public override void CaseTConst(TConst node)
 {
     index = 1;
 }