예제 #1
0
        public void SetBraceblock(PBraceblock node)
        {
            if(_braceblock_ != null)
            {
            _braceblock_.Parent(null);
            }

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

            node.Parent(this);
            }

            _braceblock_ = node;
        }
예제 #2
0
 internal override void RemoveChild(Node child)
 {
     if ( _braceblock_ == child )
     {
     _braceblock_ = null;
     return;
     }
 }
예제 #3
0
     public AABlock(
         PBraceblock _braceblock_
 )
     {
         SetBraceblock (_braceblock_);
     }