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

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

/root/JavaX-Caches/tmp_1848867208/main.java:1: error: class, interface, or enum expected scope gazelle_addHelperTablesToRules. ^ /root/JavaX-Caches/tmp_1848867208/main.java:3: error: illegal character: '#' sclass #Massager { ^ /root/JavaX-Caches/tmp_1848867208/main.java:5: error: class, interface, or enum expected Map<S, Pair<Int>> helperIndex; ^ /root/JavaX-Caches/tmp_1848867208/main.java:7: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1848867208/main.java:13: error: class, interface, or enum expected for (S t : codeTokens(matched.tokenize(matched.rule.out))) { ^ /root/JavaX-Caches/tmp_1848867208/main.java:16: error: class, interface, or enum expected Pair<Int> idx = helperIndex.get(t); ^ /root/JavaX-Caches/tmp_1848867208/main.java:17: error: class, interface, or enum expected if (idx == null) continue; ^ /root/JavaX-Caches/tmp_1848867208/main.java:19: error: class, interface, or enum expected for (S key, val : cloneMap(map)) { ^ /root/JavaX-Caches/tmp_1848867208/main.java:21: error: class, interface, or enum expected if (idx2 < 0) continue; ^ /root/JavaX-Caches/tmp_1848867208/main.java:22: error: class, interface, or enum expected Pair<Int> idxVal = helperIndex.get(val); ^ /root/JavaX-Caches/tmp_1848867208/main.java:23: error: class, interface, or enum expected if (idxVal == null) continue; ^ /root/JavaX-Caches/tmp_1848867208/main.java:24: error: class, interface, or enum expected S out = _get(_get(helperTable, idxVal.a), idx.b); ^ /root/JavaX-Caches/tmp_1848867208/main.java:25: error: class, interface, or enum expected print("Massaged: " + t + " <-> " + key + " => " + out); ^ /root/JavaX-Caches/tmp_1848867208/main.java:26: error: class, interface, or enum expected mapPut(map, t, out); ^ /root/JavaX-Caches/tmp_1848867208/main.java:27: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1848867208/main.java:30: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1848867208/main.java:35: error: class, interface, or enum expected for (final RuleEngine2.Rule r : engine.rules) { ^ /root/JavaX-Caches/tmp_1848867208/main.java:35: error: class, interface, or enum expected for (final RuleEngine2.Rule r : engine.rules) { ^ /root/JavaX-Caches/tmp_1848867208/main.java:37: error: class, interface, or enum expected LS entries = mL($1); ^ /root/JavaX-Caches/tmp_1848867208/main.java:38: error: class, interface, or enum expected continue if empty(entries); ^ /root/JavaX-Caches/tmp_1848867208/main.java:40: error: class, interface, or enum expected final LL<S> helperTable = map tok_splitAtCommaOrDoubleArrow(entries); ^ /root/JavaX-Caches/tmp_1848867208/main.java:41: error: class, interface, or enum expected final Map<S, Pair<Int>> helperIndex = indexTwoDArrayIC(helperTable); ^ /root/JavaX-Caches/tmp_1848867208/main.java:43: error: class, interface, or enum expected r.addMapMassager(new Massager(helperTable, helperIndex)); ^ /root/JavaX-Caches/tmp_1848867208/main.java:44: error: class, interface, or enum expected } ^ 24 errors