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

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

/root/JavaX-Caches/tmp_1397745289/main.java:1: error: class, interface, or enum expected abstract sclass CTNode { ^ /root/JavaX-Caches/tmp_1397745289/main.java:4: error: class, interface, or enum expected toString { ret shortClassName(this) + ": " + toString2(); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:4: error: class, interface, or enum expected toString { ret shortClassName(this) + ": " + toString2(); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:5: error: class, interface, or enum expected abstract S toString2(); ^ /root/JavaX-Caches/tmp_1397745289/main.java:7: error: class, interface, or enum expected bool add(CTNode n) { ret children.add(n); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:7: error: class, interface, or enum expected bool add(CTNode n) { ret children.add(n); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:13: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1397745289/main.java:16: error: class, interface, or enum expected S toString2() { ret quote(text); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:22: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1397745289/main.java:25: error: class, interface, or enum expected S toString2() { ret sfu(tok); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:27: error: class, interface, or enum expected public bool equals(O o) { ret stdEq(this, o, 'tok); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:27: error: unclosed character literal public bool equals(O o) { ret stdEq(this, o, 'tok); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:27: error: class, interface, or enum expected public bool equals(O o) { ret stdEq(this, o, 'tok); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:28: error: class, interface, or enum expected public int hashCode() { ret stdHash(this, 'tok); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:28: error: unclosed character literal public int hashCode() { ret stdHash(this, 'tok); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:28: error: class, interface, or enum expected public int hashCode() { ret stdHash(this, 'tok); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:34: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1397745289/main.java:37: error: class, interface, or enum expected S toString2() { ret sfu(obj); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:39: error: class, interface, or enum expected public bool equals(O o) { ret stdEq(this, o, 'obj); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:39: error: unclosed character literal public bool equals(O o) { ret stdEq(this, o, 'obj); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:39: error: class, interface, or enum expected public bool equals(O o) { ret stdEq(this, o, 'obj); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:40: error: class, interface, or enum expected public int hashCode() { ret stdHash(this, 'obj); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:40: error: unclosed character literal public int hashCode() { ret stdHash(this, 'obj); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:40: error: class, interface, or enum expected public int hashCode() { ret stdHash(this, 'obj); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:45: error: class, interface, or enum expected bool haveResult; ^ /root/JavaX-Caches/tmp_1397745289/main.java:46: error: class, interface, or enum expected O result; // this is the result coming back up from the operation ^ /root/JavaX-Caches/tmp_1397745289/main.java:48: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1397745289/main.java:51: error: class, interface, or enum expected S toString2() { ret haveResult ? result + " <- " + op : op; } ^ /root/JavaX-Caches/tmp_1397745289/main.java:53: error: class, interface, or enum expected public bool equals(O o) { ret stdEq(this, o, 'op); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:53: error: unclosed character literal public bool equals(O o) { ret stdEq(this, o, 'op); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:53: error: class, interface, or enum expected public bool equals(O o) { ret stdEq(this, o, 'op); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:54: error: class, interface, or enum expected public int hashCode() { ret stdHash(this, 'op); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:54: error: unclosed character literal public int hashCode() { ret stdHash(this, 'op); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:54: error: class, interface, or enum expected public int hashCode() { ret stdHash(this, 'op); } ^ /root/JavaX-Caches/tmp_1397745289/main.java:58: error: class, interface, or enum expected haveResult = true; ^ /root/JavaX-Caches/tmp_1397745289/main.java:59: error: class, interface, or enum expected } ^ 36 errors