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

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

/root/JavaX-Caches/tmp_560260788/main.java:1: error: class, interface, or enum expected static S parseDoubleArrowTreeCI_defaultKey = "<default>"; ^ /root/JavaX-Caches/tmp_560260788/main.java:3: error: class, interface, or enum expected static Map<S, O> parseDoubleArrowTreeCI(S text) { ^ /root/JavaX-Caches/tmp_560260788/main.java:5: error: class, interface, or enum expected if (empty(lines)) null; ^ /root/JavaX-Caches/tmp_560260788/main.java:7: error: class, interface, or enum expected new L<Map<S, O>> nodes; ^ /root/JavaX-Caches/tmp_560260788/main.java:8: error: class, interface, or enum expected new L<Int> indents; // indent of children ^ /root/JavaX-Caches/tmp_560260788/main.java:10: error: class, interface, or enum expected Map<S, O> tree = ciMap(); ^ /root/JavaX-Caches/tmp_560260788/main.java:11: error: class, interface, or enum expected nodes.add(tree); ^ /root/JavaX-Caches/tmp_560260788/main.java:12: error: class, interface, or enum expected indents.add(countIndent(first(lines))); ^ /root/JavaX-Caches/tmp_560260788/main.java:14: error: class, interface, or enum expected for i over lines: { ^ /root/JavaX-Caches/tmp_560260788/main.java:16: error: class, interface, or enum expected int indent = countIndent(s); ^ /root/JavaX-Caches/tmp_560260788/main.java:18: error: class, interface, or enum expected while (indent < last(indents)) { ^ /root/JavaX-Caches/tmp_560260788/main.java:20: error: class, interface, or enum expected removeLast(indents); ^ /root/JavaX-Caches/tmp_560260788/main.java:21: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_560260788/main.java:24: error: class, interface, or enum expected if (l(x) == 2) { // leaf (or tree with default) ^ /root/JavaX-Caches/tmp_560260788/main.java:26: error: class, interface, or enum expected if (next != null && countIndent(next) > indent) { // tree with default ^ /root/JavaX-Caches/tmp_560260788/main.java:28: error: class, interface, or enum expected last(nodes).put(first(x), newTree); ^ /root/JavaX-Caches/tmp_560260788/main.java:29: error: class, interface, or enum expected nodes.add(newTree); ^ /root/JavaX-Caches/tmp_560260788/main.java:30: error: class, interface, or enum expected indents.add(indent+1); ^ /root/JavaX-Caches/tmp_560260788/main.java:31: error: class, interface, or enum expected newTree.put(parseDoubleArrowTreeCI_defaultKey, second(x)); ^ /root/JavaX-Caches/tmp_560260788/main.java:32: error: class, interface, or enum expected } else // leaf ^ /root/JavaX-Caches/tmp_560260788/main.java:34: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_560260788/main.java:36: error: class, interface, or enum expected last(nodes).put(trim(s), newTree); ^ /root/JavaX-Caches/tmp_560260788/main.java:37: error: class, interface, or enum expected nodes.add(newTree); ^ /root/JavaX-Caches/tmp_560260788/main.java:38: error: class, interface, or enum expected indents.add(indent+1); ^ /root/JavaX-Caches/tmp_560260788/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_560260788/main.java:43: error: class, interface, or enum expected } ^ 26 errors