Wrote /root/JavaX-Caches/tmp_1908127471/main.java - 2150 bytes (written=2150, should be 2150)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_346001986 /root/JavaX-Caches/tmp_1908127471/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1908127471/main.java:1: error: class, interface, or enum expected
sbool tok_doubleFor_v2_debug;
^
/root/JavaX-Caches/tmp_1908127471/main.java:3: error: class, interface, or enum expected
static void tok_doubleFor_v2(L tok) {
^
/root/JavaX-Caches/tmp_1908127471/main.java:6: error: class, interface, or enum expected
int argsFrom = i+4;
^
/root/JavaX-Caches/tmp_1908127471/main.java:8: error: class, interface, or enum expected
if (eqGet(tok, i-2, ":") && isIdentifier(get(tok, i-4))) i -= 4;
^
/root/JavaX-Caches/tmp_1908127471/main.java:9: error: class, interface, or enum expected
int iColon = indexOfAny(tok, argsFrom, ":", ")");
^
/root/JavaX-Caches/tmp_1908127471/main.java:10: error: class, interface, or enum expected
if (neq(get(tok, iColon), ":")) continue;
^
/root/JavaX-Caches/tmp_1908127471/main.java:11: error: class, interface, or enum expected
if (tok_doubleFor_v2_debug) print("have colon");
^
/root/JavaX-Caches/tmp_1908127471/main.java:12: error: class, interface, or enum expected
tok_typesAndNamesOfParams_keepModifiers.set(true);
^
/root/JavaX-Caches/tmp_1908127471/main.java:13: error: class, interface, or enum expected
L> args = tok_typesAndNamesOfParams(subList(tok, argsFrom-1, iColon-1));
^
/root/JavaX-Caches/tmp_1908127471/main.java:14: error: class, interface, or enum expected
if (l(args) != 2) continue; // simple for or a three-argument for (out of this world!)
^
/root/JavaX-Caches/tmp_1908127471/main.java:17: error: class, interface, or enum expected
if (eq(second(args).a, "?")) second(args).a = first(args).a;
^
/root/JavaX-Caches/tmp_1908127471/main.java:19: error: class, interface, or enum expected
if (tok_doubleFor_v2_debug) print("have 2 args: " + sfu(args));
^
/root/JavaX-Caches/tmp_1908127471/main.java:20: error: class, interface, or enum expected
int iClosing = tok_findEndOfForExpression(tok, iColon+2);
^
/root/JavaX-Caches/tmp_1908127471/main.java:21: error: class, interface, or enum expected
if (iClosing < 0) continue;
^
/root/JavaX-Caches/tmp_1908127471/main.java:22: error: class, interface, or enum expected
if (tok_doubleFor_v2_debug) print("have closing");
^
/root/JavaX-Caches/tmp_1908127471/main.java:23: error: class, interface, or enum expected
S exp = trimJoinSubList(tok, iColon+2, iClosing-1);
^
/root/JavaX-Caches/tmp_1908127471/main.java:24: error: class, interface, or enum expected
if (tok_doubleFor_v2_debug) print("Expression: " + exp);
^
/root/JavaX-Caches/tmp_1908127471/main.java:25: error: class, interface, or enum expected
int iCurly = iClosing+2;
^
/root/JavaX-Caches/tmp_1908127471/main.java:26: error: class, interface, or enum expected
if (neq(get(tok, iCurly), "{")) fail("please use { with double for");
^
/root/JavaX-Caches/tmp_1908127471/main.java:27: error: class, interface, or enum expected
int iCurlyEnd = findEndOfStatement(tok, iCurly)-1;
^
/root/JavaX-Caches/tmp_1908127471/main.java:28: error: class, interface, or enum expected
if (iCurlyEnd < 0) continue;
^
/root/JavaX-Caches/tmp_1908127471/main.java:29: error: class, interface, or enum expected
if (tok_doubleFor_v2_debug) print("have curly end");
^
/root/JavaX-Caches/tmp_1908127471/main.java:33: error: class, interface, or enum expected
if (!isIdentifier(exp)) {
^
/root/JavaX-Caches/tmp_1908127471/main.java:35: error: class, interface, or enum expected
S mapType = tok_toNonPrimitiveTypes("Map<" + first(args).a + ", " + second(args).a + ">");
^
/root/JavaX-Caches/tmp_1908127471/main.java:36: error: class, interface, or enum expected
tokPrepend(tok, i, "{ final " + mapType + " " + expVar + " = " + exp + "; ");
^
/root/JavaX-Caches/tmp_1908127471/main.java:37: error: class, interface, or enum expected
tokAppend(tok, iCurlyEnd, "}");
^
/root/JavaX-Caches/tmp_1908127471/main.java:38: error: class, interface, or enum expected
replaceTokens(tok, iColon+2, iClosing-1, expVar);
^
/root/JavaX-Caches/tmp_1908127471/main.java:39: error: class, interface, or enum expected
exp = expVar;
^
/root/JavaX-Caches/tmp_1908127471/main.java:40: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1908127471/main.java:43: error: class, interface, or enum expected
tokPrepend(tok, iClosing, ")");
^
/root/JavaX-Caches/tmp_1908127471/main.java:45: error: class, interface, or enum expected
replaceTokens(tok, argsFrom, iColon-1, joinPairWithSpace(first(args)));
^
/root/JavaX-Caches/tmp_1908127471/main.java:46: error: class, interface, or enum expected
tokAppend(tok, iCurly, " " + joinPairWithSpace(second(args)) + " =" + exp + ".get(" + first(args).b + "); ");
^
/root/JavaX-Caches/tmp_1908127471/main.java:47: error: class, interface, or enum expected
reTok(tok, i, iCurlyEnd+1);
^
/root/JavaX-Caches/tmp_1908127471/main.java:48: error: class, interface, or enum expected
}
^
34 errors