Wrote /root/JavaX-Caches/tmp_1369182940/main.java - 8613 bytes (written=8613, should be 8613)
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:/root/.tinybrain/snippet-cache/1400555.jar -d /root/JavaX-Caches/tmp_1210329397 /root/JavaX-Caches/tmp_1369182940/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1369182940/main.java:1: error: class, interface, or enum expected
sclass ConvertLASToJava > Meta {
^
/root/JavaX-Caches/tmp_1369182940/main.java:7: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:11: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:16: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:20: error: class, interface, or enum expected
ret typeToJava(f.returnType) + " "
^
/root/JavaX-Caches/tmp_1369182940/main.java:27: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:31: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:35: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:39: error: class, interface, or enum expected
var src = o.tokenRangeWithSrc();
^
/root/JavaX-Caches/tmp_1369182940/main.java:40: error: class, interface, or enum expected
if (src != null)
^
/root/JavaX-Caches/tmp_1369182940/main.java:42: error: class, interface, or enum expected
ret or2(space, defaultSpace);
^
/root/JavaX-Caches/tmp_1369182940/main.java:43: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:47: error: class, interface, or enum expected
var src = o.tokenRangeWithSrc();
^
/root/JavaX-Caches/tmp_1369182940/main.java:48: error: class, interface, or enum expected
if (src != null) {
^
/root/JavaX-Caches/tmp_1369182940/main.java:50: error: class, interface, or enum expected
space = replaceRegexp(rawSpace, "\n[ \t]+$", "\n");
^
/root/JavaX-Caches/tmp_1369182940/main.java:51: error: class, interface, or enum expected
if (scaffoldingEnabled()) printVars trailingSpace(rawSpace := quote(rawSpace), space := quote(space));
^
/root/JavaX-Caches/tmp_1369182940/main.java:52: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:54: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:59: error: class, interface, or enum expected
bool needSemicolon = !o instanceof Tk.ClassDef
^
/root/JavaX-Caches/tmp_1369182940/main.java:62: error: class, interface, or enum expected
S space = trailingSpace(o, "\n");
^
/root/JavaX-Caches/tmp_1369182940/main.java:63: error: class, interface, or enum expected
if (scaffoldingEnabled()) printVars(+space, o := className(o), srcText := quote(o.srcText()), +inner);
^
/root/JavaX-Caches/tmp_1369182940/main.java:64: error: class, interface, or enum expected
ret inner + (needSemicolon ? ";" : "") + space;
^
/root/JavaX-Caches/tmp_1369182940/main.java:65: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:70: error: class, interface, or enum expected
if (returnLastResult) {
^
/root/JavaX-Caches/tmp_1369182940/main.java:72: error: class, interface, or enum expected
var last = last(steps);
^
/root/JavaX-Caches/tmp_1369182940/main.java:73: error: class, interface, or enum expected
if (!last instanceof Tk.ReturnFromScript
^
/root/JavaX-Caches/tmp_1369182940/main.java:76: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:79: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:84: error: class, interface, or enum expected
ret convert(o);
^
/root/JavaX-Caches/tmp_1369182940/main.java:85: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:92: error: class, interface, or enum expected
if (o cast Tk.GetVar)
^
/root/JavaX-Caches/tmp_1369182940/main.java:95: error: class, interface, or enum expected
if (o cast Tk.Script)
^
/root/JavaX-Caches/tmp_1369182940/main.java:98: error: class, interface, or enum expected
if (o cast Tk.ClassDef) {
^
/root/JavaX-Caches/tmp_1369182940/main.java:100: error: class, interface, or enum expected
ret spaceCombine(
^
/root/JavaX-Caches/tmp_1369182940/main.java:114: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:119: error: class, interface, or enum expected
if (o cast Tk.VarDeclaration)
^
/root/JavaX-Caches/tmp_1369182940/main.java:122: error: class, interface, or enum expected
if (o cast Tk.CallMethod) {
^
/root/JavaX-Caches/tmp_1369182940/main.java:124: error: class, interface, or enum expected
var targetType = o.target.returnType();
^
/root/JavaX-Caches/tmp_1369182940/main.java:125: error: class, interface, or enum expected
if (targetType != null && targetType.knownValue()) {
^
/root/JavaX-Caches/tmp_1369182940/main.java:127: error: class, interface, or enum expected
if (target cast Class && eqOneOf(shortClassName(target), "main", "utils"))
^
/root/JavaX-Caches/tmp_1369182940/main.java:129: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:132: error: class, interface, or enum expected
ret (empty(targetStr) ? "" : targetStr + ".")
^
/root/JavaX-Caches/tmp_1369182940/main.java:134: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:139: error: class, interface, or enum expected
if (o cast Tk.CallMethodOrGetField)
^
/root/JavaX-Caches/tmp_1369182940/main.java:142: error: class, interface, or enum expected
if (o cast Tk.DirectMethodCallOnKnownTarget)
^
/root/JavaX-Caches/tmp_1369182940/main.java:145: error: class, interface, or enum expected
if (o cast Tk.NewObject) {
^
/root/JavaX-Caches/tmp_1369182940/main.java:147: error: class, interface, or enum expected
var o2 = o;
^
/root/JavaX-Caches/tmp_1369182940/main.java:148: error: class, interface, or enum expected
if (o2 cast Tk.NewObject_LASClass) {
^
/root/JavaX-Caches/tmp_1369182940/main.java:150: error: class, interface, or enum expected
} else
^
/root/JavaX-Caches/tmp_1369182940/main.java:153: error: class, interface, or enum expected
ret "new " + FunctionCall(className, map convert(o.args));
^
/root/JavaX-Caches/tmp_1369182940/main.java:154: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:162: error: class, interface, or enum expected
if (o cast Tk.Const) {
^
/root/JavaX-Caches/tmp_1369182940/main.java:164: error: class, interface, or enum expected
if (val cast Tk.FunctionDef)
^
/root/JavaX-Caches/tmp_1369182940/main.java:167: error: class, interface, or enum expected
var c = o;
^
/root/JavaX-Caches/tmp_1369182940/main.java:168: error: class, interface, or enum expected
try object c?.srcText();
^
/root/JavaX-Caches/tmp_1369182940/main.java:169: error: class, interface, or enum expected
pcall {
^
/root/JavaX-Caches/tmp_1369182940/main.java:171: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:178: error: class, interface, or enum expected
if (o cast Tk.ForIntTo)
^
/root/JavaX-Caches/tmp_1369182940/main.java:182: error: class, interface, or enum expected
if (o cast Tk.CurriedScriptFunctionLambda) {
^
/root/JavaX-Caches/tmp_1369182940/main.java:184: error: class, interface, or enum expected
LS args = countIteratorToList_incl(1, nArgs, i ->"_" + i);
^
/root/JavaX-Caches/tmp_1369182940/main.java:185: error: class, interface, or enum expected
L fullArgs = concatLists(allToString(map convert(o.curriedArgs)), args);
^
/root/JavaX-Caches/tmp_1369182940/main.java:186: error: class, interface, or enum expected
ret roundBracketed(typeToJava(o.intrface))
^
/root/JavaX-Caches/tmp_1369182940/main.java:189: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:197: error: class, interface, or enum expected
if (o cast Tk.ReturnFromScript)
^
/root/JavaX-Caches/tmp_1369182940/main.java:200: error: class, interface, or enum expected
if (o cast Tk.GetStaticField)
^
/root/JavaX-Caches/tmp_1369182940/main.java:203: error: class, interface, or enum expected
if (o cast Tk.BoolAnd)
^
/root/JavaX-Caches/tmp_1369182940/main.java:206: error: class, interface, or enum expected
if (o cast Tk.BoolOr)
^
/root/JavaX-Caches/tmp_1369182940/main.java:209: error: class, interface, or enum expected
if (o cast Tk.GetField)
^
/root/JavaX-Caches/tmp_1369182940/main.java:212: error: class, interface, or enum expected
if (o cast Tk.CallFunction)
^
/root/JavaX-Caches/tmp_1369182940/main.java:215: error: class, interface, or enum expected
if (o cast Tk.While)
^
/root/JavaX-Caches/tmp_1369182940/main.java:219: error: class, interface, or enum expected
if (o cast Tk.TryCatch)
^
/root/JavaX-Caches/tmp_1369182940/main.java:225: error: class, interface, or enum expected
if (o cast Tk.TryFinally)
^
/root/JavaX-Caches/tmp_1369182940/main.java:233: error: class, interface, or enum expected
warn("Can't convert to Java: " + className(o));
^
/root/JavaX-Caches/tmp_1369182940/main.java:236: error: class, interface, or enum expected
if (o cast Tk.Base) {
^
/root/JavaX-Caches/tmp_1369182940/main.java:238: error: class, interface, or enum expected
try object b?.srcText();
^
/root/JavaX-Caches/tmp_1369182940/main.java:239: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:243: error: class, interface, or enum expected
ret str(o);
^
/root/JavaX-Caches/tmp_1369182940/main.java:244: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:249: error: class, interface, or enum expected
ret convert(o);
^
/root/JavaX-Caches/tmp_1369182940/main.java:250: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:255: error: class, interface, or enum expected
LS tok = javaTok(src);
^
/root/JavaX-Caches/tmp_1369182940/main.java:256: error: class, interface, or enum expected
jreplace(tok, "this.", "");
^
/root/JavaX-Caches/tmp_1369182940/main.java:257: error: class, interface, or enum expected
JavaXPeepholeShortener shortener = new(tok);
^
/root/JavaX-Caches/tmp_1369182940/main.java:258: error: class, interface, or enum expected
shortener.run();
^
/root/JavaX-Caches/tmp_1369182940/main.java:259: error: class, interface, or enum expected
ret join(shortener.tok);
^
/root/JavaX-Caches/tmp_1369182940/main.java:260: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1369182940/main.java:266: error: class, interface, or enum expected
ret "{ " + addSuffix(rtrim(str(convert(i))), ";") + " }";
^
/root/JavaX-Caches/tmp_1369182940/main.java:267: error: class, interface, or enum expected
})));
^
/root/JavaX-Caches/tmp_1369182940/main.java:268: error: class, interface, or enum expected
}
^
89 errors