public virtual void CaseTKeywordIf(TKeywordIf node)
 {
     DefaultCase(node);
 }
Exemple #2
0
 internal override void RemoveChild(Node child)
 {
     if ( _keyword_if_ == child )
     {
     _keyword_if_ = null;
     return;
     }
     if ( _ifexpr_ == child )
     {
     _ifexpr_ = null;
     return;
     }
     if ( _block_ == child )
     {
     _block_ = null;
     return;
     }
 }
Exemple #3
0
     public AIf(
         TKeywordIf _keyword_if_,
         PIfexpr _ifexpr_,
         PBlock _block_
 )
     {
         SetKeywordIf (_keyword_if_);
         SetIfexpr (_ifexpr_);
         SetBlock (_block_);
     }
Exemple #4
0
        public void SetKeywordIf(TKeywordIf node)
        {
            if(_keyword_if_ != null)
            {
            _keyword_if_.Parent(null);
            }

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

            node.Parent(this);
            }

            _keyword_if_ = node;
        }
Exemple #5
0
 public override void CaseTKeywordIf(TKeywordIf node)
 {
     index = 21;
 }