Esempio n. 1
0
 internal override void RemoveChild(Node child)
 {
     if ( _simple_ == child )
     {
     _simple_ = null;
     return;
     }
     if ( _operator_opening_parenthesis_ == child )
     {
     _operator_opening_parenthesis_ = null;
     return;
     }
     if ( _argumentlist_ == child )
     {
     _argumentlist_ = null;
     return;
     }
     if ( _operator_closing_parenthesis_ == child )
     {
     _operator_closing_parenthesis_ = null;
     return;
     }
 }
Esempio n. 2
0
        public void SetArgumentlist(PArgumentlist node)
        {
            if(_argumentlist_ != null)
            {
            _argumentlist_.Parent(null);
            }

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

            node.Parent(this);
            }

            _argumentlist_ = node;
        }
Esempio n. 3
0
 internal override void RemoveChild(Node child)
 {
     if ( _argumentlist_ == child )
     {
     _argumentlist_ = null;
     return;
     }
     if ( _operator_comma_ == child )
     {
     _operator_comma_ = null;
     return;
     }
     if ( _expression_ == child )
     {
     _expression_ = null;
     return;
     }
 }
Esempio n. 4
0
     public ACall(
         PSimple _simple_,
         TOperatorOpeningParenthesis _operator_opening_parenthesis_,
         PArgumentlist _argumentlist_,
         TOperatorClosingParenthesis _operator_closing_parenthesis_
 )
     {
         SetSimple (_simple_);
         SetOperatorOpeningParenthesis (_operator_opening_parenthesis_);
         SetArgumentlist (_argumentlist_);
         SetOperatorClosingParenthesis (_operator_closing_parenthesis_);
     }
Esempio n. 5
0
     public ABArgumentlist(
         PArgumentlist _argumentlist_,
         TOperatorComma _operator_comma_,
         PExpression _expression_
 )
     {
         SetArgumentlist (_argumentlist_);
         SetOperatorComma (_operator_comma_);
         SetExpression (_expression_);
     }