Exemple #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;
        }
Exemple #2
0
 internal override void RemoveChild(Node child)
 {
     if ( _braceblock_ == child )
     {
     _braceblock_ = null;
     return;
     }
 }
Exemple #3
0
     public AABlock(
         PBraceblock _braceblock_
 )
     {
         SetBraceblock (_braceblock_);
     }