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

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

/root/JavaX-Caches/tmp_728684439/main.java:1: error: class, interface, or enum expected sclass AI_BottomUpParser1 { ^ /root/JavaX-Caches/tmp_728684439/main.java:3: error: class, interface, or enum expected new LinkedHashSet<Updatable> allObjects; ^ /root/JavaX-Caches/tmp_728684439/main.java:4: error: class, interface, or enum expected L<Word> words; ^ /root/JavaX-Caches/tmp_728684439/main.java:5: error: class, interface, or enum expected L<S> rawWords; ^ /root/JavaX-Caches/tmp_728684439/main.java:6: error: class, interface, or enum expected L<S> cnc; // words + N tokens (null if unknown) ^ /root/JavaX-Caches/tmp_728684439/main.java:7: error: class, interface, or enum expected long changes; ^ /root/JavaX-Caches/tmp_728684439/main.java:8: error: class, interface, or enum expected new MultiMap<S, WeightedProduction> productionsByA; ^ /root/JavaX-Caches/tmp_728684439/main.java:9: error: class, interface, or enum expected new MultiMap<S> subClasses; ^ /root/JavaX-Caches/tmp_728684439/main.java:10: error: class, interface, or enum expected bool mergeGroupsInSamePosition = true; ^ /root/JavaX-Caches/tmp_728684439/main.java:11: error: class, interface, or enum expected new HashMap<IntRange, Word> groupsByPosition; ^ /root/JavaX-Caches/tmp_728684439/main.java:12: error: class, interface, or enum expected bool verbose_callPlausibilityFunction; ^ /root/JavaX-Caches/tmp_728684439/main.java:13: error: class, interface, or enum expected bool observeNTokenHygiene; ^ /root/JavaX-Caches/tmp_728684439/main.java:16: error: '(' expected void update {} ^ /root/JavaX-Caches/tmp_728684439/main.java:19: error: not a statement if (eq(get(this, field), value)) ret; ^ /root/JavaX-Caches/tmp_728684439/main.java:29: error: illegal start of type *() {} ^ /root/JavaX-Caches/tmp_728684439/main.java:30: error: illegal start of type *(S *ifClass, Runnable *action) {} ^ /root/JavaX-Caches/tmp_728684439/main.java:30: error: <identifier> expected *(S *ifClass, Runnable *action) {} ^ /root/JavaX-Caches/tmp_728684439/main.java:30: error: <identifier> expected *(S *ifClass, Runnable *action) {} ^ /root/JavaX-Caches/tmp_728684439/main.java:30: error: ';' expected *(S *ifClass, Runnable *action) {} ^ /root/JavaX-Caches/tmp_728684439/main.java:30: error: <identifier> expected *(S *ifClass, Runnable *action) {} ^ /root/JavaX-Caches/tmp_728684439/main.java:36: error: illegal start of type new LinkedHashSet<Word> prev; ^ /root/JavaX-Caches/tmp_728684439/main.java:37: error: illegal start of type new LinkedHashSet<Word> next; ^ /root/JavaX-Caches/tmp_728684439/main.java:38: error: illegal start of type new LinkedHashSet<L<Word>> constituents; // if group ^ /root/JavaX-Caches/tmp_728684439/main.java:39: error: illegal start of type new L<Expectation> expectations; ^ /root/JavaX-Caches/tmp_728684439/main.java:40: error: illegal start of type new L<Expectation> fulfilledExpectations; ^ /root/JavaX-Caches/tmp_728684439/main.java:41: error: illegal start of type new TreeSet<S> classes; ^ /root/JavaX-Caches/tmp_728684439/main.java:43: error: illegal start of type new LinkedHashSet<Word> groups; // I am part of ^ /root/JavaX-Caches/tmp_728684439/main.java:44: error: illegal start of type new L<Trait> traits; ^ /root/JavaX-Caches/tmp_728684439/main.java:46: error: illegal start of type *() {} ^ /root/JavaX-Caches/tmp_728684439/main.java:47: error: illegal start of type *(S *text, int *wordFrom, int *wordTo) { ^ /root/JavaX-Caches/tmp_728684439/main.java:47: error: <identifier> expected *(S *text, int *wordFrom, int *wordTo) { ^ /root/JavaX-Caches/tmp_728684439/main.java:47: error: <identifier> expected *(S *text, int *wordFrom, int *wordTo) { ^ /root/JavaX-Caches/tmp_728684439/main.java:47: error: <identifier> expected *(S *text, int *wordFrom, int *wordTo) { ^ /root/JavaX-Caches/tmp_728684439/main.java:47: error: <identifier> expected *(S *text, int *wordFrom, int *wordTo) { ^ /root/JavaX-Caches/tmp_728684439/main.java:47: error: <identifier> expected *(S *text, int *wordFrom, int *wordTo) { ^ /root/JavaX-Caches/tmp_728684439/main.java:47: error: <identifier> expected *(S *text, int *wordFrom, int *wordTo) { ^ /root/JavaX-Caches/tmp_728684439/main.java:47: error: <identifier> expected *(S *text, int *wordFrom, int *wordTo) { ^ /root/JavaX-Caches/tmp_728684439/main.java:47: error: <identifier> expected *(S *text, int *wordFrom, int *wordTo) { ^ /root/JavaX-Caches/tmp_728684439/main.java:51: error: '(' expected void update { ^ /root/JavaX-Caches/tmp_728684439/main.java:77: error: ';' expected bool isGroup() { ret nempty(constituents); } ^ /root/JavaX-Caches/tmp_728684439/main.java:77: error: not a statement bool isGroup() { ret nempty(constituents); } ^ /root/JavaX-Caches/tmp_728684439/main.java:77: error: ';' expected bool isGroup() { ret nempty(constituents); } ^ /root/JavaX-Caches/tmp_728684439/main.java:80: error: not a statement if (!classes.addAll(makeHull_optimized(subClasses, c))) false; ^ /root/JavaX-Caches/tmp_728684439/main.java:81: error: not a statement change(); true; ^ /root/JavaX-Caches/tmp_728684439/main.java:96: error: ')' expected set(t, w := this); ^ /root/JavaX-Caches/tmp_728684439/main.java:96: error: not a statement set(t, w := this); ^ /root/JavaX-Caches/tmp_728684439/main.java:96: error: ';' expected set(t, w := this); ^ /root/JavaX-Caches/tmp_728684439/main.java:100: error: <identifier> expected toString { ^ /root/JavaX-Caches/tmp_728684439/main.java:101: error: ';' expected ret textAndClasses(this); ^ /root/JavaX-Caches/tmp_728684439/main.java:101: error: not a statement ret textAndClasses(this); ^ /root/JavaX-Caches/tmp_728684439/main.java:101: error: ';' expected ret textAndClasses(this); ^ /root/JavaX-Caches/tmp_728684439/main.java:104: error: ';' expected bool hasClass(S c) { ret contains(classes, c); } ^ /root/JavaX-Caches/tmp_728684439/main.java:104: error: not a statement bool hasClass(S c) { ret contains(classes, c); } ^ /root/JavaX-Caches/tmp_728684439/main.java:104: error: ';' expected bool hasClass(S c) { ret contains(classes, c); } ^ /root/JavaX-Caches/tmp_728684439/main.java:104: error: not a statement bool hasClass(S c) { ret contains(classes, c); } ^ /root/JavaX-Caches/tmp_728684439/main.java:104: error: ';' expected bool hasClass(S c) { ret contains(classes, c); } ^ /root/JavaX-Caches/tmp_728684439/main.java:108: error: class, interface, or enum expected Word makeGroup(Word a, Word b, S newClass) { ^ /root/JavaX-Caches/tmp_728684439/main.java:110: error: class, interface, or enum expected Word g = null; ^ /root/JavaX-Caches/tmp_728684439/main.java:111: error: class, interface, or enum expected if (mergeGroupsInSamePosition) ^ /root/JavaX-Caches/tmp_728684439/main.java:113: error: class, interface, or enum expected else { ^ /root/JavaX-Caches/tmp_728684439/main.java:116: error: class, interface, or enum expected for (Word _g : a.groups) ^ /root/JavaX-Caches/tmp_728684439/main.java:117: error: class, interface, or enum expected if (contains(_g.constituents, list)) { g = _g; break; } ^ /root/JavaX-Caches/tmp_728684439/main.java:117: error: class, interface, or enum expected if (contains(_g.constituents, list)) { g = _g; break; } ^ /root/JavaX-Caches/tmp_728684439/main.java:121: error: class, interface, or enum expected if (g != null) { ^ /root/JavaX-Caches/tmp_728684439/main.java:123: error: class, interface, or enum expected if (g.addClass(newClass)) { ^ /root/JavaX-Caches/tmp_728684439/main.java:127: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_728684439/main.java:133: error: class, interface, or enum expected print("Checking hygiene: " + sfu(t)); ^ /root/JavaX-Caches/tmp_728684439/main.java:134: error: class, interface, or enum expected if (!checkNTokenHygiene(t)) { ^ /root/JavaX-Caches/tmp_728684439/main.java:136: error: class, interface, or enum expected null; ^ /root/JavaX-Caches/tmp_728684439/main.java:137: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_728684439/main.java:144: error: class, interface, or enum expected allObjects.add(g); ^ /root/JavaX-Caches/tmp_728684439/main.java:145: error: class, interface, or enum expected if (mergeGroupsInSamePosition) ^ /root/JavaX-Caches/tmp_728684439/main.java:147: error: class, interface, or enum expected g.addClass(newClass); ^ /root/JavaX-Caches/tmp_728684439/main.java:148: error: class, interface, or enum expected g.constituents.add(list); ^ /root/JavaX-Caches/tmp_728684439/main.java:149: error: class, interface, or enum expected for (Word w : list) ^ /root/JavaX-Caches/tmp_728684439/main.java:151: error: class, interface, or enum expected g.prev.addAll(a.prev); ^ /root/JavaX-Caches/tmp_728684439/main.java:152: error: class, interface, or enum expected g.next.addAll(b.next); ^ /root/JavaX-Caches/tmp_728684439/main.java:153: error: class, interface, or enum expected for (Word prev : a.prev) prev.next.add(g); ^ /root/JavaX-Caches/tmp_728684439/main.java:154: error: class, interface, or enum expected for (Word next : b.next) next.prev.add(g); ^ /root/JavaX-Caches/tmp_728684439/main.java:155: error: class, interface, or enum expected ret g; ^ /root/JavaX-Caches/tmp_728684439/main.java:156: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_728684439/main.java:167: error: illegal start of type *() {} ^ /root/JavaX-Caches/tmp_728684439/main.java:168: error: illegal start of type *(S *linkWith, S *linkTo, S *plausibilityFunction) {} ^ /root/JavaX-Caches/tmp_728684439/main.java:168: error: <identifier> expected *(S *linkWith, S *linkTo, S *plausibilityFunction) {} ^ /root/JavaX-Caches/tmp_728684439/main.java:168: error: <identifier> expected *(S *linkWith, S *linkTo, S *plausibilityFunction) {} ^ /root/JavaX-Caches/tmp_728684439/main.java:168: error: ';' expected *(S *linkWith, S *linkTo, S *plausibilityFunction) {} ^ /root/JavaX-Caches/tmp_728684439/main.java:168: error: <identifier> expected *(S *linkWith, S *linkTo, S *plausibilityFunction) {} ^ /root/JavaX-Caches/tmp_728684439/main.java:168: error: ';' expected *(S *linkWith, S *linkTo, S *plausibilityFunction) {} ^ /root/JavaX-Caches/tmp_728684439/main.java:168: error: <identifier> expected *(S *linkWith, S *linkTo, S *plausibilityFunction) {} ^ /root/JavaX-Caches/tmp_728684439/main.java:170: error: '(' expected void update { ^ /root/JavaX-Caches/tmp_728684439/main.java:173: error: ')' expected next.addExpectation(new Expectation(linkWith, r { ^ /root/JavaX-Caches/tmp_728684439/main.java:174: error: illegal start of type if (ai_parser_activateStandardFunctions_get() && plausibilityFunction != null) { ^ /root/JavaX-Caches/tmp_728684439/main.java:174: error: invalid method declaration; return type required if (ai_parser_activateStandardFunctions_get() && plausibilityFunction != null) { ^ /root/JavaX-Caches/tmp_728684439/main.java:174: error: ';' expected if (ai_parser_activateStandardFunctions_get() && plausibilityFunction != null) { ^ /root/JavaX-Caches/tmp_728684439/main.java:179: error: not a statement ret; ^ /root/JavaX-Caches/tmp_728684439/main.java:181: error: invalid method declaration; return type required makeGroup(w, next, linkTo); ^ /root/JavaX-Caches/tmp_728684439/main.java:181: error: <identifier> expected makeGroup(w, next, linkTo); ^ /root/JavaX-Caches/tmp_728684439/main.java:181: error: <identifier> expected makeGroup(w, next, linkTo); ^ /root/JavaX-Caches/tmp_728684439/main.java:181: error: <identifier> expected makeGroup(w, next, linkTo); ^ /root/JavaX-Caches/tmp_728684439/main.java:182: error: ';' expected })); ^ 100 errors only showing the first 100 errors, of 161 total; use -Xmaxerrs if you would like to see more