Wrote /tmp/tmp_1077165236/main.java - 829 bytes (written=829, should be 829) ecj -source 1.8 -target 1.8 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar -d /tmp/tmp_1285872330 /tmp/tmp_1077165236/main.java [Compilation Error]

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

java.lang.RuntimeException: Java compiler returned errors. ---------- 1. ERROR in /tmp/tmp_1077165236/main.java (at line 1) sbool ctxEvalPattern_debug; ^^^^^ Syntax error on token "sbool", package expected ---------- 2. ERROR in /tmp/tmp_1077165236/main.java (at line 3) static bool ctxEvalPattern(S pat) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, ClassHeader expected instead ---------- 3. ERROR in /tmp/tmp_1077165236/main.java (at line 4) ret ctxEvalPattern(pat, ctxContext().input); ^ Syntax error on token ",", @ expected ---------- 4. ERROR in /tmp/tmp_1077165236/main.java (at line 4) ret ctxEvalPattern(pat, ctxContext().input); ^^^^^^^^^^^^^^ Syntax error on token(s), misplaced construct(s) ---------- 5. ERROR in /tmp/tmp_1077165236/main.java (at line 4) ret ctxEvalPattern(pat, ctxContext().input); ^^^^^ Syntax error, insert "... VariableDeclaratorId" to complete FormalParameterList ---------- 6. ERROR in /tmp/tmp_1077165236/main.java (at line 5) } ^ Syntax error on token "}", delete this token ---------- 7. ERROR in /tmp/tmp_1077165236/main.java (at line 8) if (empty(pat)) true; ^^^^ Syntax error, insert "AssignmentOperator Expression" to complete Expression ---------- 8. ERROR in /tmp/tmp_1077165236/main.java (at line 29) true; ^^^^ Syntax error, insert "AssignmentOperator Expression" to complete Expression ---------- 9. ERROR in /tmp/tmp_1077165236/main.java (at line 31) false; ^^^^^ Syntax error on token "false", } expected ---------- 9 problems (9 errors) Options file: /tmp/javax6533304648615546236