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

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

/root/JavaX-Caches/tmp_618454240/main.java:1: error: class, interface, or enum expected static L<RuleEngine2_MatchedRule> ai_ruleEngine2_rulesForInput_3(RuleEngine2 engine, S q) { ^ /root/JavaX-Caches/tmp_618454240/main.java:3: error: class, interface, or enum expected new L<RuleEngine2_MatchedRule> l; ^ /root/JavaX-Caches/tmp_618454240/main.java:4: error: class, interface, or enum expected for (RuleEngine2.Rule rule : engine.rules) { ^ /root/JavaX-Caches/tmp_618454240/main.java:6: error: class, interface, or enum expected S tokenize = or(matchAny_firstGroup("tokenize with *", rule.comments), f javaTokNPunctuationWithBrackets); ^ /root/JavaX-Caches/tmp_618454240/main.java:7: error: class, interface, or enum expected LS tokI = (LS) callAndMake(tokenize, q); ^ /root/JavaX-Caches/tmp_618454240/main.java:8: error: class, interface, or enum expected LS tokC = (LS) callAndMake(tokenize, cond); ^ /root/JavaX-Caches/tmp_618454240/main.java:9: error: class, interface, or enum expected tokI = ai_applyWordSplitPattern1(tokC, tokI); ^ /root/JavaX-Caches/tmp_618454240/main.java:10: error: class, interface, or enum expected SS map = zipTwoListsToCIMap_strict_withoutEquals(tokC, tokI); ^ /root/JavaX-Caches/tmp_618454240/main.java:11: error: class, interface, or enum expected if (map == null) continue; ^ /root/JavaX-Caches/tmp_618454240/main.java:13: error: class, interface, or enum expected final new RuleEngine2_MatchedRule matched; ^ /root/JavaX-Caches/tmp_618454240/main.java:14: error: class, interface, or enum expected matched.rule = rule; ^ /root/JavaX-Caches/tmp_618454240/main.java:15: error: class, interface, or enum expected matched.map = map; ^ /root/JavaX-Caches/tmp_618454240/main.java:16: error: class, interface, or enum expected matched.matchedLines.add(pair(tokC, tokI)); ^ /root/JavaX-Caches/tmp_618454240/main.java:17: error: class, interface, or enum expected matched.tokenizationFunction = tokenize; ^ /root/JavaX-Caches/tmp_618454240/main.java:18: error: class, interface, or enum expected matched.remainingConditions = nullIfEmpty(map(dropFirst(rule.in), func(S s) -> S { matched.applyMappingTo(s) })); ^ /root/JavaX-Caches/tmp_618454240/main.java:19: error: class, interface, or enum expected Map<PairS, Int> qualities = ai_ruleEngine2_mappingQualities(rule); ^ /root/JavaX-Caches/tmp_618454240/main.java:20: error: class, interface, or enum expected for (S a, b : map) { ^ /root/JavaX-Caches/tmp_618454240/main.java:22: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_618454240/main.java:24: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_618454240/main.java:26: error: class, interface, or enum expected } ^ 20 errors