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

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

/root/JavaX-Caches/tmp_71197780/main.java:1: error: class, interface, or enum expected static new L<S> rules; ^ /root/JavaX-Caches/tmp_71197780/main.java:2: error: class, interface, or enum expected static new L<S> statements; ^ /root/JavaX-Caches/tmp_71197780/main.java:5: error: class, interface, or enum expected static MultiMap<S, S> matchAll(S pat) { ^ /root/JavaX-Caches/tmp_71197780/main.java:7: error: class, interface, or enum expected L<Map<S, S>> l = matchStatements(pat); ^ /root/JavaX-Caches/tmp_71197780/main.java:8: error: class, interface, or enum expected print("[" + l.size() + " matches for " + quote(pat) + "]"); ^ /root/JavaX-Caches/tmp_71197780/main.java:9: error: class, interface, or enum expected for (Map<S, S> m : l) { ^ /root/JavaX-Caches/tmp_71197780/main.java:12: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_71197780/main.java:14: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_71197780/main.java:19: error: class, interface, or enum expected if (match3("* <=> *", rule, m)) { ^ /root/JavaX-Caches/tmp_71197780/main.java:21: error: class, interface, or enum expected rewrite(l, r); ^ /root/JavaX-Caches/tmp_71197780/main.java:22: error: class, interface, or enum expected rewrite(r, l); ^ /root/JavaX-Caches/tmp_71197780/main.java:23: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_71197780/main.java:30: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_71197780/main.java:34: error: class, interface, or enum expected for (S s : statements) { ^ /root/JavaX-Caches/tmp_71197780/main.java:36: error: class, interface, or enum expected if (m != null) l.add(m); ^ /root/JavaX-Caches/tmp_71197780/main.java:37: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_71197780/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_71197780/main.java:43: error: class, interface, or enum expected ret match4(pat, s, m) ? m : null; ^ /root/JavaX-Caches/tmp_71197780/main.java:44: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_71197780/main.java:48: error: class, interface, or enum expected if (tok1.size() != tok2.size()) ret false; ^ /root/JavaX-Caches/tmp_71197780/main.java:49: error: class, interface, or enum expected m.clear(); ^ /root/JavaX-Caches/tmp_71197780/main.java:50: error: class, interface, or enum expected for (int i = 1; i < tok1.size(); i += 2) { ^ /root/JavaX-Caches/tmp_71197780/main.java:50: error: class, interface, or enum expected for (int i = 1; i < tok1.size(); i += 2) { ^ /root/JavaX-Caches/tmp_71197780/main.java:50: error: class, interface, or enum expected for (int i = 1; i < tok1.size(); i += 2) { ^ /root/JavaX-Caches/tmp_71197780/main.java:52: error: class, interface, or enum expected if (isVar(t1)) ^ /root/JavaX-Caches/tmp_71197780/main.java:54: error: class, interface, or enum expected else if (!tokEq(t1, t2)) ^ /root/JavaX-Caches/tmp_71197780/main.java:56: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_71197780/main.java:58: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_71197780/main.java:62: error: class, interface, or enum expected b = unquote(b); ^ /root/JavaX-Caches/tmp_71197780/main.java:63: error: class, interface, or enum expected ret a.equalsIgnoreCase(b); ^ /root/JavaX-Caches/tmp_71197780/main.java:64: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_71197780/main.java:68: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_71197780/main.java:72: error: class, interface, or enum expected for (int i = 1; i < tok.size(); i += 2) { ^ /root/JavaX-Caches/tmp_71197780/main.java:72: error: class, interface, or enum expected for (int i = 1; i < tok.size(); i += 2) { ^ /root/JavaX-Caches/tmp_71197780/main.java:72: error: class, interface, or enum expected for (int i = 1; i < tok.size(); i += 2) { ^ /root/JavaX-Caches/tmp_71197780/main.java:75: error: class, interface, or enum expected if (m != null) ^ /root/JavaX-Caches/tmp_71197780/main.java:77: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_71197780/main.java:80: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_71197780/main.java:86: error: class, interface, or enum expected statements.add(s); ^ /root/JavaX-Caches/tmp_71197780/main.java:87: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_71197780/main.java:89: error: illegal character: '#' !include #2000515 // unquote ^ /root/JavaX-Caches/tmp_71197780/main.java:90: error: illegal character: '#' !include #1001497 // parseBoolean ^ /root/JavaX-Caches/tmp_71197780/main.java:91: error: illegal character: '#' !include #1000709 // formatSnippetID ^ /root/JavaX-Caches/tmp_71197780/main.java:93: error: illegal character: '#' !include #1001296 // MultiMap ^ 44 errors