Пример #1
0
 public virtual void CaseTOperatorClosingBrace(TOperatorClosingBrace node)
 {
     DefaultCase(node);
 }
Пример #2
0
 internal override void RemoveChild(Node child)
 {
     if ( _operator_opening_brace_ == child )
     {
     _operator_opening_brace_ = null;
     return;
     }
     if ( _a_ == child )
     {
     _a_ = null;
     return;
     }
     if ( _tabblock_ == child )
     {
     _tabblock_ = null;
     return;
     }
     if ( _b_ == child )
     {
     _b_ = null;
     return;
     }
     if ( _operator_closing_brace_ == child )
     {
     _operator_closing_brace_ = null;
     return;
     }
 }
Пример #3
0
        public void SetOperatorClosingBrace(TOperatorClosingBrace node)
        {
            if(_operator_closing_brace_ != null)
            {
            _operator_closing_brace_.Parent(null);
            }

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

            node.Parent(this);
            }

            _operator_closing_brace_ = node;
        }
Пример #4
0
     public ABracetabblock(
         TOperatorOpeningBrace _operator_opening_brace_,
         TNewline _a_,
         PTabblock _tabblock_,
         TNewline _b_,
         TOperatorClosingBrace _operator_closing_brace_
 )
     {
         SetOperatorOpeningBrace (_operator_opening_brace_);
         SetA (_a_);
         SetTabblock (_tabblock_);
         SetB (_b_);
         SetOperatorClosingBrace (_operator_closing_brace_);
     }
Пример #5
0
     public ABraceblock(
         TOperatorOpeningBrace _operator_opening_brace_,
         PBraceblockinside _braceblockinside_,
         TOperatorClosingBrace _operator_closing_brace_
 )
     {
         SetOperatorOpeningBrace (_operator_opening_brace_);
         SetBraceblockinside (_braceblockinside_);
         SetOperatorClosingBrace (_operator_closing_brace_);
     }
Пример #6
0
 public override void CaseTOperatorClosingBrace(TOperatorClosingBrace node)
 {
     index = 13;
 }