예제 #1
0
 internal override void RemoveChild(Node child)
 {
     if (_token_ == child)
     {
         _token_ = null;
         return;
     }
 }
예제 #2
0
        public void SetToken(TOrOr node)
        {
            if (_token_ != null)
            {
                _token_.Parent(null);
            }

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

                node.Parent(this);
            }

            _token_ = node;
        }
예제 #3
0
 public virtual void CaseTOrOr(TOrOr node)
 {
     DefaultCase(node);
 }
예제 #4
0
 public ALazyOrBinop(
         TOrOr _token_
 )
 {
     SetToken(_token_);
 }
예제 #5
0
 public override void CaseTOrOr(TOrOr node)
 {
     index = 75;
 }