Wrote /root/JavaX-Caches/tmp_1032183754/main.java - 2330 bytes (written=2330, should be 2330)
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_1909049000 /root/JavaX-Caches/tmp_1032183754/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1032183754/main.java:1: error: class, interface, or enum expected
sclass SmoothHTMLTemplater {
^
/root/JavaX-Caches/tmp_1032183754/main.java:4: error: class, interface, or enum expected
bool verbose;
^
/root/JavaX-Caches/tmp_1032183754/main.java:5: error: class, interface, or enum expected
Map> entriesByType = ciMap();
^
/root/JavaX-Caches/tmp_1032183754/main.java:8: error: class, interface, or enum expected
LS tok;
^
/root/JavaX-Caches/tmp_1032183754/main.java:9: error: class, interface, or enum expected
L commentRanges;
^
/root/JavaX-Caches/tmp_1032183754/main.java:10: error: class, interface, or enum expected
LS comments;
^
/root/JavaX-Caches/tmp_1032183754/main.java:12: error: class, interface, or enum expected
*() {}
^
/root/JavaX-Caches/tmp_1032183754/main.java:18: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1032183754/main.java:23: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1032183754/main.java:27: error: class, interface, or enum expected
commentRanges = charRangesOfHTMLComments(template);
^
/root/JavaX-Caches/tmp_1032183754/main.java:28: error: class, interface, or enum expected
comments = map(commentRanges, r -> htmlCommentContents(substring(template, r)));
^
/root/JavaX-Caches/tmp_1032183754/main.java:29: error: class, interface, or enum expected
new Matches m;
^
/root/JavaX-Caches/tmp_1032183754/main.java:30: error: class, interface, or enum expected
new LPair replacements;
^
/root/JavaX-Caches/tmp_1032183754/main.java:31: error: class, interface, or enum expected
for i over comments: {
^
/root/JavaX-Caches/tmp_1032183754/main.java:33: error: class, interface, or enum expected
if (match("start * block", comment, m)) {
^
/root/JavaX-Caches/tmp_1032183754/main.java:35: error: class, interface, or enum expected
S endPat = format3("end * block", type);
^
/root/JavaX-Caches/tmp_1032183754/main.java:36: error: class, interface, or enum expected
if (verbose) print("Start of block found: " + i + " / " + comment);
^
/root/JavaX-Caches/tmp_1032183754/main.java:37: error: class, interface, or enum expected
int j = indexOfMatches(endPat, comments, i+1);
^
/root/JavaX-Caches/tmp_1032183754/main.java:38: error: class, interface, or enum expected
int jEndOfList = indexOfMatches(format3("end * list", type), comments, i+1);
^
/root/JavaX-Caches/tmp_1032183754/main.java:40: error: class, interface, or enum expected
if (j < 0) continue with warn("End of block comment not found: " + endPat);
^
/root/JavaX-Caches/tmp_1032183754/main.java:41: error: class, interface, or enum expected
if (verbose) print("End of block found: " + j + " / " + comments.get(j));
^
/root/JavaX-Caches/tmp_1032183754/main.java:42: error: class, interface, or enum expected
if (!isEntity(type)) continue with print("Not an entity: " + type);
^
/root/JavaX-Caches/tmp_1032183754/main.java:43: error: class, interface, or enum expected
LL entries = getEntries(type);
^
/root/JavaX-Caches/tmp_1032183754/main.java:44: error: class, interface, or enum expected
if (verbose) print(nEntries(entries));
^
/root/JavaX-Caches/tmp_1032183754/main.java:45: error: class, interface, or enum expected
IntRange r1 = commentRanges.get(i), r2 = commentRanges.get(j);
^
/root/JavaX-Caches/tmp_1032183754/main.java:46: error: class, interface, or enum expected
IntRange rEndOfList = commentRanges.get(jEndOfList >= 0 ? jEndOfList : j);
^
/root/JavaX-Caches/tmp_1032183754/main.java:48: error: class, interface, or enum expected
S contents = substring(template, r1.end, r2.start);
^
/root/JavaX-Caches/tmp_1032183754/main.java:49: error: class, interface, or enum expected
addPair(replacements, intRange(r1.end, rEndOfList.start),
^
/root/JavaX-Caches/tmp_1032183754/main.java:51: error: class, interface, or enum expected
i = j;
^
/root/JavaX-Caches/tmp_1032183754/main.java:52: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1032183754/main.java:55: error: class, interface, or enum expected
ret replaceCharRanges(template, replacements);
^
/root/JavaX-Caches/tmp_1032183754/main.java:56: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1032183754/main.java:58: error: class, interface, or enum expected
bool isEntity(S type) { true; }
^
/root/JavaX-Caches/tmp_1032183754/main.java:64: error: class, interface, or enum expected
ret text;
^
/root/JavaX-Caches/tmp_1032183754/main.java:65: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1032183754/main.java:69: error: class, interface, or enum expected
}
^
36 errors