Esempio n. 1
0
 public static Expression rewrite(Object paramObject1, Object paramObject2) {
   Translator localTranslator = (Translator) Compilation.getCurrent();
   Expression localExpression = localTranslator.rewrite(paramObject1);
   Object localObject = null;
   paramObject1 = null;
   FVector localFVector = (FVector) paramObject2;
   int j = localFVector.size();
   int i = 0;
   paramObject2 = localObject;
   if (i < j) {
     localObject = SchemeCompilation.lambda.rewrite(localFVector.get(i), localTranslator);
     if ((localObject instanceof ErrorExp)) {
       return (Expression) localObject;
     }
     if (!(localObject instanceof LambdaExp)) {
       return localTranslator.syntaxError("internal error with try-catch");
     }
     localObject = new CatchClause((LambdaExp) localObject);
     if (paramObject2 == null) {
       paramObject1 = localObject;
     }
     for (; ; ) {
       paramObject2 = localObject;
       i += 1;
       break;
       ((CatchClause) paramObject2).setNext((CatchClause) localObject);
     }
   }
   if ((localExpression instanceof ErrorExp)) {
     return localExpression;
   }
   paramObject2 = new TryExp(localExpression, null);
   ((TryExp) paramObject2).setCatchClauses((CatchClause) paramObject1);
   return (Expression) paramObject2;
 }
Esempio n. 2
0
 public static Object vectorRef(FVector paramFVector, int paramInt) {
   return paramFVector.get(paramInt);
 }