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

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

/root/JavaX-Caches/tmp_407013130/main.java:1: error: class, interface, or enum expected abstract sclass CtxExpr { ^ /root/JavaX-Caches/tmp_407013130/main.java:4: error: class, interface, or enum expected abstract bool get(); ^ /root/JavaX-Caches/tmp_407013130/main.java:5: error: class, interface, or enum expected abstract S str(); ^ /root/JavaX-Caches/tmp_407013130/main.java:6: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_407013130/main.java:8: error: class, interface, or enum expected abstract sclass CtxGeneral extends CtxExpr { ^ /root/JavaX-Caches/tmp_407013130/main.java:9: error: class, interface, or enum expected bool get() { ret eqic(str(), "true"); } ^ /root/JavaX-Caches/tmp_407013130/main.java:12: error: class, interface, or enum expected abstract sclass CtxBool extends CtxExpr { ^ /root/JavaX-Caches/tmp_407013130/main.java:13: error: class, interface, or enum expected S str() { ret get() ? "true" : "false"; } ^ /root/JavaX-Caches/tmp_407013130/main.java:19: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_407013130/main.java:25: error: class, interface, or enum expected S str() { ret value; } ^ /root/JavaX-Caches/tmp_407013130/main.java:26: error: class, interface, or enum expected bool get() { ret ctxEvalPattern(value); } ^ /root/JavaX-Caches/tmp_407013130/main.java:32: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_407013130/main.java:35: error: class, interface, or enum expected S str() { ret ctxGetVar(var); } ^ /root/JavaX-Caches/tmp_407013130/main.java:41: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_407013130/main.java:44: error: class, interface, or enum expected bool get() { ret !e.get(); } ^ /root/JavaX-Caches/tmp_407013130/main.java:50: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_407013130/main.java:53: error: class, interface, or enum expected bool get() { ret a.get() && b.get(); } ^ /root/JavaX-Caches/tmp_407013130/main.java:59: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_407013130/main.java:62: error: class, interface, or enum expected bool get() { ret a.get() || b.get(); } ^ /root/JavaX-Caches/tmp_407013130/main.java:68: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_407013130/main.java:71: error: class, interface, or enum expected bool get() { ret ctxEvalPattern(pattern); } ^ /root/JavaX-Caches/tmp_407013130/main.java:77: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_407013130/main.java:80: error: class, interface, or enum expected bool get() { ret eq(a.str(), b.str()); } ^ /root/JavaX-Caches/tmp_407013130/main.java:86: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_407013130/main.java:89: error: class, interface, or enum expected bool get() { ret neq(a.str(), b.str()); } ^ /root/JavaX-Caches/tmp_407013130/main.java:94: error: class, interface, or enum expected S pattern; ^ /root/JavaX-Caches/tmp_407013130/main.java:96: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_407013130/main.java:99: error: class, interface, or enum expected bool get() { ret ctxEvalPattern(pattern, var.str()); } ^ /root/JavaX-Caches/tmp_407013130/main.java:104: error: class, interface, or enum expected new L<CtxExpr> args; ^ /root/JavaX-Caches/tmp_407013130/main.java:106: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_407013130/main.java:111: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_407013130/main.java:115: error: class, interface, or enum expected } ^ 32 errors