Ejemplo n.º 1
0
 protected override void VisitThrowException(ThrowException node, object data)
 {
     Exception obj, exc;
     state.Stack.Perform_Throw(out obj,out exc);
     HandleException(node,(exc == null) ? obj : exc);
 }
Ejemplo n.º 2
0
 protected internal override void VisitThrowException(ThrowException node, object data)
 {
     StackTypes stack = data as StackTypes;
     Verifier.ProcessThrow(stack);
 }
Ejemplo n.º 3
0
 protected internal virtual void VisitThrowException(ThrowException node, object data)
 {
     throw new NodeNotSupportedException(node);
 }
Ejemplo n.º 4
0
        protected override void VisitThrowException(ThrowException upNode, object o)
        {
            State state = o as State;
            BTValue obj = state.Stack.Pop() as BTValue; // !!!!!

            Creators crtrs = obj.Lift();
            if (! crtrs.IsEmpty)
                throw new LiftException(crtrs);

            Annotation.SetNodeBTType(upNode, BTType.Dynamic);
        }
Ejemplo n.º 5
0
 protected override void VisitThrowException(ThrowException upNode, object o)
 {
 }
Ejemplo n.º 6
0
 protected internal override void VisitThrowException(ThrowException node, object data)
 {
     prevHasNext = false;
     generator.Emit(OpCodes.Throw);
 }