Exemple #1
0
 protected EHBlock()
 {
     tryBlock = null;
 }
Exemple #2
0
 protected override void VisitProtectedBlock(ProtectedBlock node, object data)
 {
     AddTask(node.Next);
 }
Exemple #3
0
 protected internal virtual void VisitProtectedBlock(ProtectedBlock node, object data)
 {
     throw new NodeNotSupportedException(node);
 }
Exemple #4
0
            protected internal override void VisitProtectedBlock(ProtectedBlock node, object data)
            {
                StackTypes stack = data as StackTypes;
                if(stack.Count != 0)
                    throw new VerifierException();

                foreach (EHBlock block in node)
                    AddTask(block,new StackTypes());
                AddTask(node.Next,stack);
            }
Exemple #5
0
 protected internal override void VisitProtectedBlock(ProtectedBlock node, object data)
 {
     generator.BeginExceptionBlock();
     currentBlock = node;
     tasks.Suspend();
     AddTask(node.Next,null);
 }