Exemple #1
0
 public AMultipleArguments(
     PArgument _argument_,
     TComma _comma_,
     PArguments _arguments_
     )
 {
     SetArgument(_argument_);
     SetComma(_comma_);
     SetArguments(_arguments_);
 }
Exemple #2
0
 internal override void RemoveChild(Node child)
 {
     if (_argument_ == child)
     {
         _argument_ = null;
         return;
     }
     if (_comma_ == child)
     {
         _comma_ = null;
         return;
     }
     if (_arguments_ == child)
     {
         _arguments_ = null;
         return;
     }
 }
Exemple #3
0
        public void SetComma(TComma node)
        {
            if (_comma_ != null)
            {
                _comma_.Parent(null);
            }

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

                node.Parent(this);
            }

            _comma_ = node;
        }