Example #1
0
 public override void VisitException(ExceptionExpression exception)
 {
     ilGenerator.Emit(OpCodes.Ldloc, currentException);
 }
Example #2
0
 public override void VisitException(ExceptionExpression exception)
 {
     if (currentExceptionType == null) {
         report.Error(exception.Location,
                      "`exception' expressions may only appear " +
                      "in `then' and `else' clauses of " +
                      "`protect' statements");
         return;
     }
     exception.NodeType = currentExceptionType;
 }
Example #3
0
File: node.cs Project: shugo/babel
 public virtual void VisitException(ExceptionExpression exception)
 {
 }