예제 #1
0
 public virtual void CaseTKeywordFrom(TKeywordFrom node)
 {
     DefaultCase(node);
 }
예제 #2
0
 internal override void RemoveChild(Node child)
 {
     if ( _keyword_for_ == child )
     {
     _keyword_for_ = null;
     return;
     }
     if ( _identifier_ == child )
     {
     _identifier_ = null;
     return;
     }
     if ( _keyword_from_ == child )
     {
     _keyword_from_ = null;
     return;
     }
     if ( _a_ == child )
     {
     _a_ = null;
     return;
     }
     if ( _keyword_to_ == child )
     {
     _keyword_to_ = null;
     return;
     }
     if ( _b_ == child )
     {
     _b_ = null;
     return;
     }
     if ( _block_ == child )
     {
     _block_ = null;
     return;
     }
 }
예제 #3
0
     public AForrange(
         TKeywordFor _keyword_for_,
         TIdentifier _identifier_,
         TKeywordFrom _keyword_from_,
         PSimple _a_,
         TKeywordTo _keyword_to_,
         PSimple _b_,
         PBlock _block_
 )
     {
         SetKeywordFor (_keyword_for_);
         SetIdentifier (_identifier_);
         SetKeywordFrom (_keyword_from_);
         SetA (_a_);
         SetKeywordTo (_keyword_to_);
         SetB (_b_);
         SetBlock (_block_);
     }
예제 #4
0
        public void SetKeywordFrom(TKeywordFrom node)
        {
            if(_keyword_from_ != null)
            {
            _keyword_from_.Parent(null);
            }

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

            node.Parent(this);
            }

            _keyword_from_ = node;
        }
예제 #5
0
 public override void CaseTKeywordFrom(TKeywordFrom node)
 {
     index = 14;
 }