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

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

/root/JavaX-Caches/tmp_1186121431/main.java:3: error: class, interface, or enum expected sbool ai_ruleEngine2_matchStep(final RuleEngine2_MatchedRule matched, SS inputsByType, bool fillRemainingConditions, O... _) { ^ /root/JavaX-Caches/tmp_1186121431/main.java:3: error: class, interface, or enum expected sbool ai_ruleEngine2_matchStep(final RuleEngine2_MatchedRule matched, SS inputsByType, bool fillRemainingConditions, O... _) { ^ /root/JavaX-Caches/tmp_1186121431/main.java:5: error: class, interface, or enum expected RuleEngine2.Rule rule = matched.rule; ^ /root/JavaX-Caches/tmp_1186121431/main.java:6: error: class, interface, or enum expected TextAndType in = rule.insWithType.get(matched.iCond); ^ /root/JavaX-Caches/tmp_1186121431/main.java:7: error: class, interface, or enum expected S input = inputsByType.get(in.type); ^ /root/JavaX-Caches/tmp_1186121431/main.java:8: error: class, interface, or enum expected if (input == null) false; ^ /root/JavaX-Caches/tmp_1186121431/main.java:9: error: class, interface, or enum expected O inputMassager = get(rule.inputMassagers, matched.iCond); ^ /root/JavaX-Caches/tmp_1186121431/main.java:10: error: class, interface, or enum expected O checkerFunction = get(rule.checkerFunctions, matched.iCond); ^ /root/JavaX-Caches/tmp_1186121431/main.java:11: error: class, interface, or enum expected O matcher = get(rule.matchers, matched.iCond); ^ /root/JavaX-Caches/tmp_1186121431/main.java:12: error: class, interface, or enum expected LS tokC = null, tokI = null; ^ /root/JavaX-Caches/tmp_1186121431/main.java:13: error: class, interface, or enum expected SS map; ^ /root/JavaX-Caches/tmp_1186121431/main.java:15: error: class, interface, or enum expected if (inputMassager != null) { ^ /root/JavaX-Caches/tmp_1186121431/main.java:17: error: class, interface, or enum expected if (debug) print("Massaged input to: " + input); ^ /root/JavaX-Caches/tmp_1186121431/main.java:18: error: class, interface, or enum expected if (input == null) false; ^ /root/JavaX-Caches/tmp_1186121431/main.java:19: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1186121431/main.java:23: error: class, interface, or enum expected else { ^ /root/JavaX-Caches/tmp_1186121431/main.java:25: error: class, interface, or enum expected S tokenize = matched.tokenizationFunction; ^ /root/JavaX-Caches/tmp_1186121431/main.java:26: error: class, interface, or enum expected tokC = (LS) callAndMake(tokenize, cond); ^ /root/JavaX-Caches/tmp_1186121431/main.java:27: error: class, interface, or enum expected tokI = (LS) callAndMake(tokenize, input); ^ /root/JavaX-Caches/tmp_1186121431/main.java:28: error: class, interface, or enum expected if (debug) print("matchStep inputsByType=" + sfu(asTreeMap(inputsByType))); ^ /root/JavaX-Caches/tmp_1186121431/main.java:29: error: class, interface, or enum expected if (debug) print("matchStep in=" + in + ", iCond=" + matched.iCond + ", insWithType: " + rule.insWithType); ^ /root/JavaX-Caches/tmp_1186121431/main.java:30: error: class, interface, or enum expected if (debug) print("matchStep tokI/tokC: " + codeTokens(tokI) + " / " + codeTokens(tokC)); ^ /root/JavaX-Caches/tmp_1186121431/main.java:31: error: class, interface, or enum expected if (contains(cond, "{}")) tokI = ai_applyWordSplitPattern1(tokC, tokI); ^ /root/JavaX-Caches/tmp_1186121431/main.java:32: error: class, interface, or enum expected if (matcher != null) ^ /root/JavaX-Caches/tmp_1186121431/main.java:34: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1186121431/main.java:36: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1186121431/main.java:39: error: class, interface, or enum expected if (!gazelle_addMatch(matched, map, tokC, tokI, _)) { ^ /root/JavaX-Caches/tmp_1186121431/main.java:41: error: class, interface, or enum expected false; ^ /root/JavaX-Caches/tmp_1186121431/main.java:42: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1186121431/main.java:45: error: class, interface, or enum expected if (debug) print("matchStep succeeded. " + matched); ^ /root/JavaX-Caches/tmp_1186121431/main.java:47: error: class, interface, or enum expected matched.matchedLines.add(pair(tokC, tokI)); ^ /root/JavaX-Caches/tmp_1186121431/main.java:48: error: class, interface, or enum expected if (fillRemainingConditions) { ^ /root/JavaX-Caches/tmp_1186121431/main.java:50: error: class, interface, or enum expected matched.remainingConditionsWithType = nullIfEmpty(map(dropFirst(matched.iCond, rule.insWithType), func(TextAndType in) -> TextAndType { TextAndType(matched.applyMappingTo(in.text), in.type) })); ^ /root/JavaX-Caches/tmp_1186121431/main.java:51: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1186121431/main.java:53: error: class, interface, or enum expected for (S a, b : map) { ^ /root/JavaX-Caches/tmp_1186121431/main.java:55: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1186121431/main.java:57: error: class, interface, or enum expected true; ^ /root/JavaX-Caches/tmp_1186121431/main.java:58: error: class, interface, or enum expected } ^ 38 errors