Wrote /root/JavaX-Caches/tmp_957239482/main.java - 2450 bytes (written=2450, should be 2450)
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_647768597 /root/JavaX-Caches/tmp_957239482/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_957239482/main.java:1: error: class, interface, or enum expected
static L gazelle_getChildren(GazelleTree tree, O... _) {
^
/root/JavaX-Caches/tmp_957239482/main.java:3: error: class, interface, or enum expected
if (tree.children != null) ret tree.children;
^
/root/JavaX-Caches/tmp_957239482/main.java:5: error: class, interface, or enum expected
tree.children = new L;
^
/root/JavaX-Caches/tmp_957239482/main.java:7: error: class, interface, or enum expected
double qualityCutOff = optPar qualityCutOff(_, -0.75);
^
/root/JavaX-Caches/tmp_957239482/main.java:8: error: class, interface, or enum expected
LS dialogHistory = cast optPar dialogHistory(_);
^
/root/JavaX-Caches/tmp_957239482/main.java:9: error: class, interface, or enum expected
bool debug = boolPar debug(_);
^
/root/JavaX-Caches/tmp_957239482/main.java:12: error: class, interface, or enum expected
if (tree.ctx == null)
^
/root/JavaX-Caches/tmp_957239482/main.java:13: error: unclosed character literal
tree.setContext(assertNotNull('evalContext, (GazelleEvalContext) callF(assertNotNull('makeEvalContext, (O) optPar makeEvalContext(_)))));
^
/root/JavaX-Caches/tmp_957239482/main.java:13: error: unclosed character literal
tree.setContext(assertNotNull('evalContext, (GazelleEvalContext) callF(assertNotNull('makeEvalContext, (O) optPar makeEvalContext(_)))));
^
/root/JavaX-Caches/tmp_957239482/main.java:14: error: class, interface, or enum expected
GazelleEvalContext ctx = tree.ctx;
^
/root/JavaX-Caches/tmp_957239482/main.java:15: error: class, interface, or enum expected
RuleEngine2 engine = ctx.engine;
^
/root/JavaX-Caches/tmp_957239482/main.java:17: error: class, interface, or enum expected
SS inputMap = gazelle_inputMapFromLineAndHistory(tree.line,
^
/root/JavaX-Caches/tmp_957239482/main.java:19: error: class, interface, or enum expected
if (boolPar respondingToHuman(_)) inputMap.put("_respondingToHuman" := "true");
^
/root/JavaX-Caches/tmp_957239482/main.java:20: error: class, interface, or enum expected
if (debug) print("inputMap=" + sfu(asTreeMap(inputMap)));
^
/root/JavaX-Caches/tmp_957239482/main.java:24: error: class, interface, or enum expected
if (!boolPar skipSplitters(_)) for (RuleEngine2.SimplifyWithRule rule : engine.splitterRules()) pcall {
^
/root/JavaX-Caches/tmp_957239482/main.java:26: error: class, interface, or enum expected
if (empty(out)) continue;
^
/root/JavaX-Caches/tmp_957239482/main.java:28: error: class, interface, or enum expected
GazelleTree child = new(joinWithVBar(out));
^
/root/JavaX-Caches/tmp_957239482/main.java:29: error: class, interface, or enum expected
child.ctx = ctx;
^
/root/JavaX-Caches/tmp_957239482/main.java:30: error: class, interface, or enum expected
child.isSplitNode = true;
^
/root/JavaX-Caches/tmp_957239482/main.java:31: error: class, interface, or enum expected
tree.add(child);
^
/root/JavaX-Caches/tmp_957239482/main.java:33: error: class, interface, or enum expected
for (S line : out)
^
/root/JavaX-Caches/tmp_957239482/main.java:35: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_957239482/main.java:40: error: class, interface, or enum expected
O[] params = litobjectarray(debug := optPar debug(_), +tree);
^
/root/JavaX-Caches/tmp_957239482/main.java:41: error: class, interface, or enum expected
L l = sortByMethodDesc qualitySum(
^
/root/JavaX-Caches/tmp_957239482/main.java:47: error: class, interface, or enum expected
for (RuleEngine2_MatchedRule r : l) {
^
/root/JavaX-Caches/tmp_957239482/main.java:49: error: class, interface, or enum expected
double cutOff = qualityCutOff;
^
/root/JavaX-Caches/tmp_957239482/main.java:50: error: class, interface, or enum expected
if (r.rule != null && r.rule.qualityCutOff != null) cutOff = r.rule.qualityCutOff;
^
/root/JavaX-Caches/tmp_957239482/main.java:51: error: class, interface, or enum expected
if (quality < cutOff && boolPar skipBad(_, true)) {
^
/root/JavaX-Caches/tmp_957239482/main.java:53: error: class, interface, or enum expected
continue;
^
/root/JavaX-Caches/tmp_957239482/main.java:54: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_957239482/main.java:57: error: class, interface, or enum expected
GazelleTree child = new(line);
^
/root/JavaX-Caches/tmp_957239482/main.java:58: error: class, interface, or enum expected
child.ctx = ctx;
^
/root/JavaX-Caches/tmp_957239482/main.java:59: error: class, interface, or enum expected
child.mr = r;
^
/root/JavaX-Caches/tmp_957239482/main.java:60: error: class, interface, or enum expected
if (r.rule != null) child.lineType = r.rule.outType(); // TODO: there can be multiple out types
^
/root/JavaX-Caches/tmp_957239482/main.java:62: error: class, interface, or enum expected
gazelle_addPredictionToTreeNode(child);
^
/root/JavaX-Caches/tmp_957239482/main.java:63: error: class, interface, or enum expected
tree.add(child);
^
/root/JavaX-Caches/tmp_957239482/main.java:64: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_957239482/main.java:66: error: class, interface, or enum expected
ret tree.children;
^
/root/JavaX-Caches/tmp_957239482/main.java:67: error: class, interface, or enum expected
}
^
39 errors