Beispiel #1
0
        public void SetIfelse(PIfelse node)
        {
            if(_ifelse_ != null)
            {
            _ifelse_.Parent(null);
            }

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

            node.Parent(this);
            }

            _ifelse_ = node;
        }
Beispiel #2
0
 internal override void RemoveChild(Node child)
 {
     if ( _ifelse_ == child )
     {
     _ifelse_ = null;
     return;
     }
 }
Beispiel #3
0
     public AHExpression(
         PIfelse _ifelse_
 )
     {
         SetIfelse (_ifelse_);
     }