示例#1
0
/*        
        internal void Jump(TAG st, RThread th)
        {
            th.frame = frame;
            if (th.scopes.Contains(scope))
            {
                while (scope != (Scope)th.scopes.Peek())
                {
                    th.scopes.Pop();
                }
            }
            if (th.iter.Contains(iter))
            {
                while (iter != th.iter.Peek())
                {
                    th.iter.Pop();
                }
            }
            throw new eTagJump(st);
        }
        internal void Pop(RThread th)
        {
            if (th.protTag.Contains(this))
            {
                while (this != (Tag)th.protTag.Peek())
                {
                    th.protTag.Pop();
                }
            }
            th.CurrentTag.retval = retval;
        }
*/
        
        internal void SetResult(Tag prv)
        {
            if (prv != null)
            {
                prv.retval = retval;
            }
        }
示例#2
0
 internal eTagJump(Tag.TAG t, Exception e, string s) :
     base(s, e)
 {
     state = t;
 }
示例#3
0
 internal eTagJump(Tag.TAG t)
 {
     state = t;
 }