Пример #1
0
 public virtual void CaseTKeywordDeclfirst(TKeywordDeclfirst node)
 {
     DefaultCase(node);
 }
Пример #2
0
 internal override void RemoveChild(Node child)
 {
     if ( _keyword_declfirst_ == child )
     {
     _keyword_declfirst_ = null;
     return;
     }
     if ( _identifier_ == child )
     {
     _identifier_ = null;
     return;
     }
     if ( _operator_assign_ == child )
     {
     _operator_assign_ = null;
     return;
     }
     if ( _expression_ == child )
     {
     _expression_ = null;
     return;
     }
 }
Пример #3
0
     public ADeclarefirstnormal(
         TKeywordDeclfirst _keyword_declfirst_,
         TIdentifier _identifier_,
         TOperatorAssign _operator_assign_,
         PExpression _expression_
 )
     {
         SetKeywordDeclfirst (_keyword_declfirst_);
         SetIdentifier (_identifier_);
         SetOperatorAssign (_operator_assign_);
         SetExpression (_expression_);
     }
Пример #4
0
        public void SetKeywordDeclfirst(TKeywordDeclfirst node)
        {
            if(_keyword_declfirst_ != null)
            {
            _keyword_declfirst_.Parent(null);
            }

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

            node.Parent(this);
            }

            _keyword_declfirst_ = node;
        }
Пример #5
0
 public override void CaseTKeywordDeclfirst(TKeywordDeclfirst node)
 {
     index = 18;
 }