Beispiel #1
0
 public override void CaseTTRational(TTRational node)
 {
     index = 2;
 }
Beispiel #2
0
 internal override void RemoveChild(Node child)
 {
     if ( _t_rational_ == child )
     {
     _t_rational_ = null;
     return;
     }
 }
Beispiel #3
0
     public ARationalSexp(
         TTRational _t_rational_
 )
     {
         SetTRational (_t_rational_);
     }
Beispiel #4
0
        public void SetTRational(TTRational node)
        {
            if(_t_rational_ != null)
            {
            _t_rational_.Parent(null);
            }

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

            node.Parent(this);
            }

            _t_rational_ = node;
        }
Beispiel #5
0
 public virtual void CaseTTRational(TTRational node)
 {
     DefaultCase(node);
 }