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

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

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