Wrote /root/JavaX-Caches/tmp_461193998/main.java - 2011 bytes (written=2011, should be 2011)
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_894717567 /root/JavaX-Caches/tmp_461193998/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_461193998/main.java:1: error: class, interface, or enum expected
svoid tok_swappableFunctions(LS tok) {
^
/root/JavaX-Caches/tmp_461193998/main.java:3: error: class, interface, or enum expected
jreplace(tok, "pswappable ", "persistently swappable $2");
^
/root/JavaX-Caches/tmp_461193998/main.java:5: error: class, interface, or enum expected
int i;
^
/root/JavaX-Caches/tmp_461193998/main.java:6: error: class, interface, or enum expected
while ((i = jfind(tok, "swappable (")) >= 0) {
^
/root/JavaX-Caches/tmp_461193998/main.java:8: error: class, interface, or enum expected
bool persistently = eqGet(tok, i-2, "persistently");
^
/root/JavaX-Caches/tmp_461193998/main.java:9: error: class, interface, or enum expected
if (persistently) iModEnd -= 2;
^
/root/JavaX-Caches/tmp_461193998/main.java:10: error: class, interface, or enum expected
int iMod = leftScanModifiers(tok, iModEnd);
^
/root/JavaX-Caches/tmp_461193998/main.java:11: error: class, interface, or enum expected
S modifiers = joinSubList(tok, iMod, iModEnd);
^
/root/JavaX-Caches/tmp_461193998/main.java:12: error: class, interface, or enum expected
S returnType = tok.get(i+2), name = tok.get(i+4);
^
/root/JavaX-Caches/tmp_461193998/main.java:13: error: class, interface, or enum expected
int iCurly = indexOf(tok, i, "{");
^
/root/JavaX-Caches/tmp_461193998/main.java:14: error: class, interface, or enum expected
LS tokArgs = subList(tok, i+7, iCurly-2);
^
/root/JavaX-Caches/tmp_461193998/main.java:15: error: class, interface, or enum expected
LPairS args = tok_typesAndNamesOfParams(tokArgs);
^
/root/JavaX-Caches/tmp_461193998/main.java:16: error: class, interface, or enum expected
S args1 = join(tokArgs);
^
/root/JavaX-Caches/tmp_461193998/main.java:17: error: class, interface, or enum expected
S args2 = joinWithComma(pairsB(args));
^
/root/JavaX-Caches/tmp_461193998/main.java:18: error: class, interface, or enum expected
bool isVoidMethod = eq(returnType, "void");
^
/root/JavaX-Caches/tmp_461193998/main.java:19: error: class, interface, or enum expected
LS types = pairsA(args);
^
/root/JavaX-Caches/tmp_461193998/main.java:20: error: class, interface, or enum expected
if (!isVoidMethod) types.add(returnType);
^
/root/JavaX-Caches/tmp_461193998/main.java:21: error: class, interface, or enum expected
S typeParams = joinWithComma(map tok_toNonPrimitiveTypes(types)); // TODO: modifiers
^
/root/JavaX-Caches/tmp_461193998/main.java:22: error: class, interface, or enum expected
S base = name + "_base";
^
/root/JavaX-Caches/tmp_461193998/main.java:23: error: class, interface, or enum expected
S mods = modifiers + (persistently || containsJavaToken(modifiers, "static") ? "" : "transient ");
^
/root/JavaX-Caches/tmp_461193998/main.java:24: error: class, interface, or enum expected
S src;
^
/root/JavaX-Caches/tmp_461193998/main.java:25: error: class, interface, or enum expected
if (isVoidMethod)
^
/root/JavaX-Caches/tmp_461193998/main.java:27: error: illegal escape character
src = mods + "Runnable \*name*/;\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:28: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.run(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:28: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.run(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:28: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.run(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:28: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.run(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:28: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.run(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:28: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.run(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:28: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.run(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:28: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.run(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:28: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.run(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:29: error: illegal escape character
"\*modifiers*/\*returnType*/ \*base*/(\*args1*/) {";
^
/root/JavaX-Caches/tmp_461193998/main.java:29: error: illegal escape character
"\*modifiers*/\*returnType*/ \*base*/(\*args1*/) {";
^
/root/JavaX-Caches/tmp_461193998/main.java:29: error: illegal escape character
"\*modifiers*/\*returnType*/ \*base*/(\*args1*/) {";
^
/root/JavaX-Caches/tmp_461193998/main.java:29: error: illegal escape character
"\*modifiers*/\*returnType*/ \*base*/(\*args1*/) {";
^
/root/JavaX-Caches/tmp_461193998/main.java:30: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_461193998/main.java:31: error: illegal escape character
src = mods + "IVF\*l(args)*/<\*typeParams*/> \*name*/;\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:31: error: illegal escape character
src = mods + "IVF\*l(args)*/<\*typeParams*/> \*name*/;\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:31: error: illegal escape character
src = mods + "IVF\*l(args)*/<\*typeParams*/> \*name*/;\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:32: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.get(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:32: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.get(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:32: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.get(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:32: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.get(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:32: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.get(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:32: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.get(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:32: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.get(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:32: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.get(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:32: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { if (\*name*/ != null) \*name*/.get(\*args2*/); else \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:33: error: illegal escape character
"\*modifiers*/\*returnType*/ \*base*/(\*args1*/) {";
^
/root/JavaX-Caches/tmp_461193998/main.java:33: error: illegal escape character
"\*modifiers*/\*returnType*/ \*base*/(\*args1*/) {";
^
/root/JavaX-Caches/tmp_461193998/main.java:33: error: illegal escape character
"\*modifiers*/\*returnType*/ \*base*/(\*args1*/) {";
^
/root/JavaX-Caches/tmp_461193998/main.java:33: error: illegal escape character
"\*modifiers*/\*returnType*/ \*base*/(\*args1*/) {";
^
/root/JavaX-Caches/tmp_461193998/main.java:34: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_461193998/main.java:35: error: illegal escape character
src = mods + "IF\*l(args)*/<\*typeParams*/> \*name*/;\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:35: error: illegal escape character
src = mods + "IF\*l(args)*/<\*typeParams*/> \*name*/;\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:35: error: illegal escape character
src = mods + "IF\*l(args)*/<\*typeParams*/> \*name*/;\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:36: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { ret \*name*/ != null ? \*name*/.get(\*args2*/) : \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:36: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { ret \*name*/ != null ? \*name*/.get(\*args2*/) : \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:36: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { ret \*name*/ != null ? \*name*/.get(\*args2*/) : \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:36: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { ret \*name*/ != null ? \*name*/.get(\*args2*/) : \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:36: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { ret \*name*/ != null ? \*name*/.get(\*args2*/) : \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:36: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { ret \*name*/ != null ? \*name*/.get(\*args2*/) : \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:36: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { ret \*name*/ != null ? \*name*/.get(\*args2*/) : \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:36: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { ret \*name*/ != null ? \*name*/.get(\*args2*/) : \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:36: error: illegal escape character
"\*modifiers*/\*returnType*/ \*name*/(\*args1*/) { ret \*name*/ != null ? \*name*/.get(\*args2*/) : \*base*/(\*args2*/); }\n" +
^
/root/JavaX-Caches/tmp_461193998/main.java:37: error: illegal escape character
"\*modifiers*/\*returnType*/ \*base*/(\*args1*/) {";
^
/root/JavaX-Caches/tmp_461193998/main.java:37: error: illegal escape character
"\*modifiers*/\*returnType*/ \*base*/(\*args1*/) {";
^
/root/JavaX-Caches/tmp_461193998/main.java:37: error: illegal escape character
"\*modifiers*/\*returnType*/ \*base*/(\*args1*/) {";
^
/root/JavaX-Caches/tmp_461193998/main.java:37: error: illegal escape character
"\*modifiers*/\*returnType*/ \*base*/(\*args1*/) {";
^
/root/JavaX-Caches/tmp_461193998/main.java:38: error: class, interface, or enum expected
replaceTokens_reTok(tok, iMod, iCurly+1, src);
^
/root/JavaX-Caches/tmp_461193998/main.java:39: error: class, interface, or enum expected
}
^
72 errors