Example #1
0
 internal override void RemoveChild(Node child)
 {
     if (_token_ == child)
     {
         _token_ = null;
         return;
     }
 }
Example #2
0
        public void SetToken(TBreak 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 CaseTBreak(TBreak node)
 {
     DefaultCase(node);
 }
Example #4
0
 public ABreakStm(
         TBreak _token_
 )
 {
     SetToken(_token_);
 }
Example #5
0
 public override void CaseTBreak(TBreak node)
 {
     index = 0;
 }