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

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

/root/JavaX-Caches/tmp_419684998/main.java:1: error: class, interface, or enum expected abstract sclass CTNode { ^ /root/JavaX-Caches/tmp_419684998/main.java:4: error: class, interface, or enum expected toString { ret joinNemptiesWithColonSpace(shortClassName(this), toString2()); } ^ /root/JavaX-Caches/tmp_419684998/main.java:4: error: class, interface, or enum expected toString { ret joinNemptiesWithColonSpace(shortClassName(this), toString2()); } ^ /root/JavaX-Caches/tmp_419684998/main.java:5: error: class, interface, or enum expected S toString2() { ret ""; } // override me ^ /root/JavaX-Caches/tmp_419684998/main.java:7: error: class, interface, or enum expected bool add(CTNode n) { ret children.add(n); } ^ /root/JavaX-Caches/tmp_419684998/main.java:13: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_419684998/main.java:16: error: class, interface, or enum expected S toString2() { ret sfu(obj); } ^ /root/JavaX-Caches/tmp_419684998/main.java:18: error: class, interface, or enum expected public bool equals(O o) { ret stdEq(this, o, 'obj); } ^ /root/JavaX-Caches/tmp_419684998/main.java:18: error: unclosed character literal public bool equals(O o) { ret stdEq(this, o, 'obj); } ^ /root/JavaX-Caches/tmp_419684998/main.java:18: error: class, interface, or enum expected public bool equals(O o) { ret stdEq(this, o, 'obj); } ^ /root/JavaX-Caches/tmp_419684998/main.java:19: error: class, interface, or enum expected public int hashCode() { ret stdHash(this, 'obj); } ^ /root/JavaX-Caches/tmp_419684998/main.java:19: error: unclosed character literal public int hashCode() { ret stdHash(this, 'obj); } ^ /root/JavaX-Caches/tmp_419684998/main.java:19: error: class, interface, or enum expected public int hashCode() { ret stdHash(this, 'obj); } ^ /root/JavaX-Caches/tmp_419684998/main.java:24: error: class, interface, or enum expected bool haveResult; ^ /root/JavaX-Caches/tmp_419684998/main.java:25: error: class, interface, or enum expected O result; // this is the result coming back up from the operation ^ /root/JavaX-Caches/tmp_419684998/main.java:27: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_419684998/main.java:30: error: class, interface, or enum expected S toString2() { ret haveResult ? result + " <- " + op : op; } ^ /root/JavaX-Caches/tmp_419684998/main.java:32: error: class, interface, or enum expected public bool equals(O o) { ret stdEq(this, o, 'op); } ^ /root/JavaX-Caches/tmp_419684998/main.java:32: error: unclosed character literal public bool equals(O o) { ret stdEq(this, o, 'op); } ^ /root/JavaX-Caches/tmp_419684998/main.java:32: error: class, interface, or enum expected public bool equals(O o) { ret stdEq(this, o, 'op); } ^ /root/JavaX-Caches/tmp_419684998/main.java:33: error: class, interface, or enum expected public int hashCode() { ret stdHash(this, 'op); } ^ /root/JavaX-Caches/tmp_419684998/main.java:33: error: unclosed character literal public int hashCode() { ret stdHash(this, 'op); } ^ /root/JavaX-Caches/tmp_419684998/main.java:33: error: class, interface, or enum expected public int hashCode() { ret stdHash(this, 'op); } ^ /root/JavaX-Caches/tmp_419684998/main.java:37: error: class, interface, or enum expected haveResult = true; ^ /root/JavaX-Caches/tmp_419684998/main.java:38: error: class, interface, or enum expected } ^ 25 errors