예제 #1
0
 public virtual void CaseTOperatorOpeningBrace(TOperatorOpeningBrace 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 SetOperatorOpeningBrace(TOperatorOpeningBrace node)
        {
            if(_operator_opening_brace_ != null)
            {
            _operator_opening_brace_.Parent(null);
            }

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

            node.Parent(this);
            }

            _operator_opening_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 CaseTOperatorOpeningBrace(TOperatorOpeningBrace node)
 {
     index = 20;
 }