Wrote /root/JavaX-Caches/tmp_1049932484/main.java - 2626 bytes (written=2626, should be 2626)
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_591802956 /root/JavaX-Caches/tmp_1049932484/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1049932484/main.java:1: error: class, interface, or enum expected
svoid dm_gazelle_matchStatements_v2(L l, O... _) {
^
/root/JavaX-Caches/tmp_1049932484/main.java:3: error: class, interface, or enum expected
for (GazelleTree t : l) {
^
/root/JavaX-Caches/tmp_1049932484/main.java:6: error: class, interface, or enum expected
RuleEngine2_MatchedRule mr = t.mr;
^
/root/JavaX-Caches/tmp_1049932484/main.java:7: error: class, interface, or enum expected
LS in = t.rule().in;
^
/root/JavaX-Caches/tmp_1049932484/main.java:8: error: class, interface, or enum expected
int iCond = t.mr.iCond;
^
/root/JavaX-Caches/tmp_1049932484/main.java:9: error: class, interface, or enum expected
if (debug) print("matchStatements: iCond=" + iCond + " in " + in);
^
/root/JavaX-Caches/tmp_1049932484/main.java:10: error: class, interface, or enum expected
if (iCond >= l(in)) continue;
^
/root/JavaX-Caches/tmp_1049932484/main.java:12: error: class, interface, or enum expected
LS conditions = dropFirst(iCond, in);
^
/root/JavaX-Caches/tmp_1049932484/main.java:13: error: class, interface, or enum expected
if (debug) print("Remaining conditions for " + t.ruleID() + " with " + t.mr.map + ": " + conditions);
^
/root/JavaX-Caches/tmp_1049932484/main.java:14: error: class, interface, or enum expected
new Matches m;
^
/root/JavaX-Caches/tmp_1049932484/main.java:15: error: class, interface, or enum expected
if (!matchAny("in " + (iCond+1) + " = statement *", t.rule().comments, m))
^
/root/JavaX-Caches/tmp_1049932484/main.java:17: error: class, interface, or enum expected
S subRuleID = $1;
^
/root/JavaX-Caches/tmp_1049932484/main.java:18: error: class, interface, or enum expected
if (debug) print("Found subrule: " + subRuleID);
^
/root/JavaX-Caches/tmp_1049932484/main.java:22: error: class, interface, or enum expected
L fulfillments = dm_gazelle_fulfillmentsForRule(subRuleID);
^
/root/JavaX-Caches/tmp_1049932484/main.java:26: error: class, interface, or enum expected
new Lowest bestMap;
^
/root/JavaX-Caches/tmp_1049932484/main.java:27: error: class, interface, or enum expected
if (debug) print("Have " + n2(fulfillments, "fulfillment") + ".");
^
/root/JavaX-Caches/tmp_1049932484/main.java:28: error: class, interface, or enum expected
for (O f : fulfillments) {
^
/root/JavaX-Caches/tmp_1049932484/main.java:30: error: class, interface, or enum expected
if (debug) print("fulfillment => " + sfu(varMap));
^
/root/JavaX-Caches/tmp_1049932484/main.java:33: error: class, interface, or enum expected
bool selfVarsFix = boolPar selfVarsFix(_, true);
^
/root/JavaX-Caches/tmp_1049932484/main.java:34: error: class, interface, or enum expected
if (selfVarsFix) {
^
/root/JavaX-Caches/tmp_1049932484/main.java:36: error: class, interface, or enum expected
for (S x : identifiersOnly(codeTokens(mr.tokenize(cond))))
^
/root/JavaX-Caches/tmp_1049932484/main.java:39: error: class, interface, or enum expected
varMap.put(x, x);
^
/root/JavaX-Caches/tmp_1049932484/main.java:40: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1049932484/main.java:44: error: class, interface, or enum expected
SS newMap = mergeMapsStrictlyIC(asCIMap(t.mr.map), varMap);
^
/root/JavaX-Caches/tmp_1049932484/main.java:45: error: class, interface, or enum expected
if (newMap == null) {
^
/root/JavaX-Caches/tmp_1049932484/main.java:47: error: class, interface, or enum expected
continue;
^
/root/JavaX-Caches/tmp_1049932484/main.java:48: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1049932484/main.java:50: error: class, interface, or enum expected
newMap = ciMapWithoutKeysEqualToValues(newMap);
^
/root/JavaX-Caches/tmp_1049932484/main.java:51: error: class, interface, or enum expected
if (debug) printIndent("Map simplified => " + sfu(newMap));
^
/root/JavaX-Caches/tmp_1049932484/main.java:53: error: class, interface, or enum expected
continue if gazelle_isRecentlyUsedMapping(t, newMap, _);
^
/root/JavaX-Caches/tmp_1049932484/main.java:55: error: class, interface, or enum expected
bestMap.put(newMap, l(newMap));
^
/root/JavaX-Caches/tmp_1049932484/main.java:56: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1049932484/main.java:59: error: class, interface, or enum expected
if (newMap == null) {
^
/root/JavaX-Caches/tmp_1049932484/main.java:61: error: class, interface, or enum expected
continue;
^
/root/JavaX-Caches/tmp_1049932484/main.java:62: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1049932484/main.java:65: error: class, interface, or enum expected
t.mr.iCond++;
^
/root/JavaX-Caches/tmp_1049932484/main.java:66: error: class, interface, or enum expected
t.mr.remainingConditions = dropFirst(t.mr.remainingConditions); // XX: also should rewrite with new vars
^
/root/JavaX-Caches/tmp_1049932484/main.java:67: error: class, interface, or enum expected
t.mr.remainingConditionsWithType = dropFirst(t.mr.remainingConditionsWithType);
^
/root/JavaX-Caches/tmp_1049932484/main.java:68: error: class, interface, or enum expected
t.mr.out = null;
^
/root/JavaX-Caches/tmp_1049932484/main.java:69: error: class, interface, or enum expected
t.line = t.mr.outText();
^
/root/JavaX-Caches/tmp_1049932484/main.java:70: error: class, interface, or enum expected
if (debug) print("Rewrote " + t.mr.rule.out + " to: " + t.line);
^
/root/JavaX-Caches/tmp_1049932484/main.java:71: error: class, interface, or enum expected
}
^
42 errors