Example #1
0
        public void SetFunctiondeclaration(PFunctiondeclaration node)
        {
            if(_functiondeclaration_ != null)
            {
            _functiondeclaration_.Parent(null);
            }

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

            node.Parent(this);
            }

            _functiondeclaration_ = node;
        }
Example #2
0
 internal override void RemoveChild(Node child)
 {
     if ( _functiondeclaration_ == child )
     {
     _functiondeclaration_ = null;
     return;
     }
 }
Example #3
0
     public ABDeclarefirst(
         PFunctiondeclaration _functiondeclaration_
 )
     {
         SetFunctiondeclaration (_functiondeclaration_);
     }