コード例 #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;
 }
コード例 #2
0
 public static Object vectorRef(FVector paramFVector, int paramInt) {
   return paramFVector.get(paramInt);
 }
コード例 #3
0
 public static int vectorLength(FVector paramFVector) {
   return paramFVector.size();
 }
コード例 #4
0
 public static void vectorFill$Ex(FVector paramFVector, Object paramObject) {
   paramFVector.setAll(paramObject);
 }
コード例 #5
0
 public static void vectorSet$Ex(FVector paramFVector, int paramInt, Object paramObject) {
   paramFVector.set(paramInt, paramObject);
 }