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

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

                node.Parent(this);
            }

            _token_ = node;
        }
 public virtual void CaseTOr(TOr node)
 {
     DefaultCase(node);
 }
示例#4
0
 public AOrBinop(
         TOr _token_
 )
 {
     SetToken(_token_);
 }
示例#5
0
 public override void CaseTOr(TOr node)
 {
     index = 87;
 }