Wrote /root/JavaX-Caches/tmp_1942324849/main.java - 1789 bytes (written=1789, should be 1789) 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_2068241351 /root/JavaX-Caches/tmp_1942324849/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_1942324849/main.java:1: error: class, interface, or enum expected static LS reTok_multi(LS tok, L<IntRange> places) { ^ /root/JavaX-Caches/tmp_1942324849/main.java:3: error: class, interface, or enum expected if (l(places) == 1) ret reTok(tok, first(places)); ^ /root/JavaX-Caches/tmp_1942324849/main.java:4: error: class, interface, or enum expected L<S> orig = cloneList(tok); // copy to orig ^ /root/JavaX-Caches/tmp_1942324849/main.java:7: error: class, interface, or enum expected sortIntRangesInPlace(places); ^ /root/JavaX-Caches/tmp_1942324849/main.java:8: error: class, interface, or enum expected new L<IntRange> places2; ^ /root/JavaX-Caches/tmp_1942324849/main.java:9: error: class, interface, or enum expected for (IntRange p : places) { ^ /root/JavaX-Caches/tmp_1942324849/main.java:11: error: class, interface, or enum expected if (nempty(places2) && p.start <= last(places2).end) ^ /root/JavaX-Caches/tmp_1942324849/main.java:13: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1942324849/main.java:15: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1942324849/main.java:19: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_1942324849/main.java:22: error: class, interface, or enum expected IntRange p = get(places2, iPlace); ^ /root/JavaX-Caches/tmp_1942324849/main.java:24: error: class, interface, or enum expected int next = p.start, i = next; ^ /root/JavaX-Caches/tmp_1942324849/main.java:25: error: class, interface, or enum expected tok.subList(next, tok.size()).clear(); ^ /root/JavaX-Caches/tmp_1942324849/main.java:26: error: class, interface, or enum expected while (i < n) ^ /root/JavaX-Caches/tmp_1942324849/main.java:29: error: class, interface, or enum expected else { ^ /root/JavaX-Caches/tmp_1942324849/main.java:32: error: class, interface, or enum expected S s = joinSubList(orig, i, j); ^ /root/JavaX-Caches/tmp_1942324849/main.java:33: error: class, interface, or enum expected ifdef reTok_multi_debug ^ /root/JavaX-Caches/tmp_1942324849/main.java:35: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_1942324849/main.java:38: error: class, interface, or enum expected i = j; ^ /root/JavaX-Caches/tmp_1942324849/main.java:39: error: class, interface, or enum expected p = get(places2, ++iPlace); ^ /root/JavaX-Caches/tmp_1942324849/main.java:40: error: class, interface, or enum expected if (p == null) break; ^ /root/JavaX-Caches/tmp_1942324849/main.java:41: error: class, interface, or enum expected next = p.start; ^ /root/JavaX-Caches/tmp_1942324849/main.java:42: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1942324849/main.java:47: error: class, interface, or enum expected ifdef reTok_multi_check ^ /root/JavaX-Caches/tmp_1942324849/main.java:49: error: class, interface, or enum expected if (neq(correct, tok)) { ^ /root/JavaX-Caches/tmp_1942324849/main.java:51: error: class, interface, or enum expected if (l(correct) != l(tok)) print("reTok_multi_check: size difference " + l(correct) + " / " + l(tok)); ^ /root/JavaX-Caches/tmp_1942324849/main.java:52: error: class, interface, or enum expected for ii to n: ^ /root/JavaX-Caches/tmp_1942324849/main.java:54: error: class, interface, or enum expected for (int j = max(0, ii-1); j < min(n, ii+1); j++) ^ /root/JavaX-Caches/tmp_1942324849/main.java:54: error: class, interface, or enum expected for (int j = max(0, ii-1); j < min(n, ii+1); j++) ^ /root/JavaX-Caches/tmp_1942324849/main.java:56: error: class, interface, or enum expected break; ^ /root/JavaX-Caches/tmp_1942324849/main.java:57: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1942324849/main.java:59: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1942324849/main.java:63: error: class, interface, or enum expected } ^ 33 errors