Wrote /root/JavaX-Caches/tmp_1174048376/main.java - 8661 bytes (written=8661, should be 8661)
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:/root/.tinybrain/snippet-cache/1400546.jar:/root/.tinybrain/snippet-cache/1400547.jar:/root/.tinybrain/snippet-cache/1400548.jar:/root/.tinybrain/snippet-cache/1400555.jar -d /root/JavaX-Caches/tmp_1389646425 /root/JavaX-Caches/tmp_1174048376/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1174048376/main.java:1: error: class, interface, or enum expected
sclass G22LAScriptIDE is Swingable {
^
/root/JavaX-Caches/tmp_1174048376/main.java:3: error: class, interface, or enum expected
settable S noScriptSelectedMsg = "Please select or create a script to edit it";
^
/root/JavaX-Caches/tmp_1174048376/main.java:5: error: class, interface, or enum expected
gettable A script;
^
/root/JavaX-Caches/tmp_1174048376/main.java:7: error: class, interface, or enum expected
transient SingleComponentPanel scp;
^
/root/JavaX-Caches/tmp_1174048376/main.java:8: error: class, interface, or enum expected
transient JLeftArrowScriptIDE[] ides;
^
/root/JavaX-Caches/tmp_1174048376/main.java:9: error: class, interface, or enum expected
transient JExtendedTabbedPane tabs;
^
/root/JavaX-Caches/tmp_1174048376/main.java:10: error: class, interface, or enum expected
transient JButton btnSave, btnDiscardChanges, btnClearForAutoRun;
^
/root/JavaX-Caches/tmp_1174048376/main.java:11: error: class, interface, or enum expected
transient CollapsibleLeftPanel collapsibleResultPanel;
^
/root/JavaX-Caches/tmp_1174048376/main.java:12: error: class, interface, or enum expected
transient G22ScriptResultPanel resultPanel;
^
/root/JavaX-Caches/tmp_1174048376/main.java:13: error: class, interface, or enum expected
transient Mode lastVisibleMode;
^
/root/JavaX-Caches/tmp_1174048376/main.java:15: error: class, interface, or enum expected
settable bool preferEditMode = true;
^
/root/JavaX-Caches/tmp_1174048376/main.java:20: error: ';' expected
gettable bool editable;
^
/root/JavaX-Caches/tmp_1174048376/main.java:20: error: expected
gettable bool editable;
^
/root/JavaX-Caches/tmp_1174048376/main.java:22: error: illegal start of type
*(G22ScriptMode *modeEnum, S *name, bool *editable) {}
^
/root/JavaX-Caches/tmp_1174048376/main.java:22: error: expected
*(G22ScriptMode *modeEnum, S *name, bool *editable) {}
^
/root/JavaX-Caches/tmp_1174048376/main.java:22: error: expected
*(G22ScriptMode *modeEnum, S *name, bool *editable) {}
^
/root/JavaX-Caches/tmp_1174048376/main.java:22: error: ';' expected
*(G22ScriptMode *modeEnum, S *name, bool *editable) {}
^
/root/JavaX-Caches/tmp_1174048376/main.java:22: error: expected
*(G22ScriptMode *modeEnum, S *name, bool *editable) {}
^
/root/JavaX-Caches/tmp_1174048376/main.java:22: error: ';' expected
*(G22ScriptMode *modeEnum, S *name, bool *editable) {}
^
/root/JavaX-Caches/tmp_1174048376/main.java:22: error: expected
*(G22ScriptMode *modeEnum, S *name, bool *editable) {}
^
/root/JavaX-Caches/tmp_1174048376/main.java:24: error: expected
simplyCached abstract IVarWithNotify scriptVar();
^
/root/JavaX-Caches/tmp_1174048376/main.java:28: error: expected
toString { ret name; }
^
/root/JavaX-Caches/tmp_1174048376/main.java:30: error: ';' expected
S tabName() { ret scriptVar().has() ? name : "Not " + firstToLower(name); }
^
/root/JavaX-Caches/tmp_1174048376/main.java:30: error: not a statement
S tabName() { ret scriptVar().has() ? name : "Not " + firstToLower(name); }
^
/root/JavaX-Caches/tmp_1174048376/main.java:33: error: '{' expected
class ModeClearedForAutoRun > Mode {
^
/root/JavaX-Caches/tmp_1174048376/main.java:34: error: illegal start of type
*() { super(G22ScriptMode.autoRunnable, "Cleared for auto-run", false); }
^
/root/JavaX-Caches/tmp_1174048376/main.java:38: error: illegal start of expression
-> script.codeForAutoRun(),
^
/root/JavaX-Caches/tmp_1174048376/main.java:38: error: ';' expected
-> script.codeForAutoRun(),
^
/root/JavaX-Caches/tmp_1174048376/main.java:45: error: ')' expected
panel.add(jbutton("Forget auto-run code", rThread forgetAutoRunCode));
^
/root/JavaX-Caches/tmp_1174048376/main.java:45: error: not a statement
panel.add(jbutton("Forget auto-run code", rThread forgetAutoRunCode));
^
/root/JavaX-Caches/tmp_1174048376/main.java:45: error: ';' expected
panel.add(jbutton("Forget auto-run code", rThread forgetAutoRunCode));
^
/root/JavaX-Caches/tmp_1174048376/main.java:49: error: '{' expected
class ModeSaved > Mode {
^
/root/JavaX-Caches/tmp_1174048376/main.java:50: error: illegal start of type
*() { super(G22ScriptMode.saved, "Saved", false); }
^
/root/JavaX-Caches/tmp_1174048376/main.java:53: error: ';' expected
ret getterVarOnly(script.varText());
^
/root/JavaX-Caches/tmp_1174048376/main.java:53: error: ';' expected
ret getterVarOnly(script.varText());
^
/root/JavaX-Caches/tmp_1174048376/main.java:57: error: ')' expected
panel.add(btnClearForAutoRun = jbutton("Clear for auto-run", rThread clearForAutoRun));
^
/root/JavaX-Caches/tmp_1174048376/main.java:57: error: not a statement
panel.add(btnClearForAutoRun = jbutton("Clear for auto-run", rThread clearForAutoRun));
^
/root/JavaX-Caches/tmp_1174048376/main.java:57: error: ';' expected
panel.add(btnClearForAutoRun = jbutton("Clear for auto-run", rThread clearForAutoRun));
^
/root/JavaX-Caches/tmp_1174048376/main.java:58: error: ')' expected
panel.add(jbutton("Forget code", rThread forgetSaved));
^
/root/JavaX-Caches/tmp_1174048376/main.java:58: error: not a statement
panel.add(jbutton("Forget code", rThread forgetSaved));
^
/root/JavaX-Caches/tmp_1174048376/main.java:58: error: ';' expected
panel.add(jbutton("Forget code", rThread forgetSaved));
^
/root/JavaX-Caches/tmp_1174048376/main.java:62: error: '{' expected
class ModeEdit > Mode {
^
/root/JavaX-Caches/tmp_1174048376/main.java:63: error: illegal start of type
*() { super(G22ScriptMode.edit, "Edit", true); }
^
/root/JavaX-Caches/tmp_1174048376/main.java:67: error: illegal start of expression
-> script.textForEditing(),
^
/root/JavaX-Caches/tmp_1174048376/main.java:67: error: ';' expected
-> script.textForEditing(),
^
/root/JavaX-Caches/tmp_1174048376/main.java:68: error: not a statement
text -> script.receiveEditingText(text)
^
/root/JavaX-Caches/tmp_1174048376/main.java:68: error: ';' expected
text -> script.receiveEditingText(text)
^
/root/JavaX-Caches/tmp_1174048376/main.java:75: error: ')' expected
panel.add(btnSave = jbutton("Save", rThread saveEdit));
^
/root/JavaX-Caches/tmp_1174048376/main.java:75: error: not a statement
panel.add(btnSave = jbutton("Save", rThread saveEdit));
^
/root/JavaX-Caches/tmp_1174048376/main.java:75: error: ';' expected
panel.add(btnSave = jbutton("Save", rThread saveEdit));
^
/root/JavaX-Caches/tmp_1174048376/main.java:76: error: ')' expected
panel.add(btnDiscardChanges = jbutton("Discard changes", rThread discardEdit));
^
/root/JavaX-Caches/tmp_1174048376/main.java:76: error: not a statement
panel.add(btnDiscardChanges = jbutton("Discard changes", rThread discardEdit));
^
/root/JavaX-Caches/tmp_1174048376/main.java:76: error: ';' expected
panel.add(btnDiscardChanges = jbutton("Discard changes", rThread discardEdit));
^
/root/JavaX-Caches/tmp_1174048376/main.java:80: error: class, interface, or enum expected
transient new ModeEdit modeEdit;
^
/root/JavaX-Caches/tmp_1174048376/main.java:81: error: class, interface, or enum expected
transient new ModeSaved modeSaved;
^
/root/JavaX-Caches/tmp_1174048376/main.java:82: error: class, interface, or enum expected
transient new ModeClearedForAutoRun modeClearedForAutoRun;
^
/root/JavaX-Caches/tmp_1174048376/main.java:83: error: class, interface, or enum expected
transient L modes = ll(
^
/root/JavaX-Caches/tmp_1174048376/main.java:89: error: class, interface, or enum expected
*(G22Utils *g22utils) {}
^
/root/JavaX-Caches/tmp_1174048376/main.java:93: error: class, interface, or enum expected
if (scp == null) scp = singleComponentPanel();
^
/root/JavaX-Caches/tmp_1174048376/main.java:94: error: class, interface, or enum expected
loadScript(script);
^
/root/JavaX-Caches/tmp_1174048376/main.java:95: error: class, interface, or enum expected
ret scp;
^
/root/JavaX-Caches/tmp_1174048376/main.java:96: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1174048376/main.java:102: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_1174048376/main.java:104: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1174048376/main.java:108: error: class, interface, or enum expected
if (scp == null) ret;
^
/root/JavaX-Caches/tmp_1174048376/main.java:109: error: class, interface, or enum expected
if (script == null)
^
/root/JavaX-Caches/tmp_1174048376/main.java:111: error: class, interface, or enum expected
else {
^
/root/JavaX-Caches/tmp_1174048376/main.java:113: error: class, interface, or enum expected
resultPanel = new G22ScriptResultPanel;
^
/root/JavaX-Caches/tmp_1174048376/main.java:114: error: class, interface, or enum expected
collapsibleResultPanel = new CollapsibleLeftPanel(false, "Output", resultPanel.visualize(), tabs.visualize());
^
/root/JavaX-Caches/tmp_1174048376/main.java:115: error: class, interface, or enum expected
collapsibleResultPanel.sidePanelMargins = c -> withTopAndLeftMargin(c);
^
/root/JavaX-Caches/tmp_1174048376/main.java:121: error: class, interface, or enum expected
for (int i, Mode mode : unpair iterateWithIndex(modes)) {
^
/root/JavaX-Caches/tmp_1174048376/main.java:123: error: class, interface, or enum expected
ide.withResultPanel(false);
^
/root/JavaX-Caches/tmp_1174048376/main.java:124: error: class, interface, or enum expected
ide.resultPanel = resultPanel;
^
/root/JavaX-Caches/tmp_1174048376/main.java:125: error: class, interface, or enum expected
ide.collapsibleResultPanel = collapsibleResultPanel;
^
/root/JavaX-Caches/tmp_1174048376/main.java:126: error: class, interface, or enum expected
ide.wrapSection = c -> wrapEditorSection(mode, c);
^
/root/JavaX-Caches/tmp_1174048376/main.java:127: error: class, interface, or enum expected
ide.newCompileResult = -> script.newCompileResult();
^
/root/JavaX-Caches/tmp_1174048376/main.java:128: error: class, interface, or enum expected
ide.makeParser = -> script.makeParser();
^
/root/JavaX-Caches/tmp_1174048376/main.java:129: error: class, interface, or enum expected
modifyIDE(ide);
^
/root/JavaX-Caches/tmp_1174048376/main.java:130: error: class, interface, or enum expected
var varScript = mode.scriptVar();
^
/root/JavaX-Caches/tmp_1174048376/main.java:131: error: class, interface, or enum expected
ide.lvScript(varWithNotifyToLiveValue(S.class, varScript));
^
/root/JavaX-Caches/tmp_1174048376/main.java:131: error: expected
ide.lvScript(varWithNotifyToLiveValue(S.class, varScript));
^
/root/JavaX-Caches/tmp_1174048376/main.java:132: error: class, interface, or enum expected
addTab(tabs, str(mode));
^
/root/JavaX-Caches/tmp_1174048376/main.java:133: error: class, interface, or enum expected
mode.addButtons(ide.buttons());
^
/root/JavaX-Caches/tmp_1174048376/main.java:134: error: class, interface, or enum expected
ide.visualize();
^
/root/JavaX-Caches/tmp_1174048376/main.java:135: error: class, interface, or enum expected
ide.setEditable(mode.editable());
^
/root/JavaX-Caches/tmp_1174048376/main.java:136: error: class, interface, or enum expected
varScript.onChangeAndNow(text ->
^
/root/JavaX-Caches/tmp_1174048376/main.java:138: error: class, interface, or enum expected
ide.popDownButton.onFillingMenu(menu ->
^
/root/JavaX-Caches/tmp_1174048376/main.java:140: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1174048376/main.java:145: error: class, interface, or enum expected
setEnabled(script.isEditing(), btnSave, btnDiscardChanges);
^
/root/JavaX-Caches/tmp_1174048376/main.java:146: error: class, interface, or enum expected
setEnabled(btnClearForAutoRun, script.isSavedDistinctFromAutoRunVersion());
^
/root/JavaX-Caches/tmp_1174048376/main.java:147: error: class, interface, or enum expected
for (ide : ides)
^
/root/JavaX-Caches/tmp_1174048376/main.java:149: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_1174048376/main.java:151: error: class, interface, or enum expected
onTabSelectedAndNow(tabs, -> {
^
/root/JavaX-Caches/tmp_1174048376/main.java:153: error: class, interface, or enum expected
if (lastVisibleMode != null && lastVisibleMode != mode) {
^
/root/JavaX-Caches/tmp_1174048376/main.java:157: error: class, interface, or enum expected
var ide = visibleIDE();
^
/root/JavaX-Caches/tmp_1174048376/main.java:158: error: class, interface, or enum expected
awtLater(0.5, -> {
^
/root/JavaX-Caches/tmp_1174048376/main.java:160: error: class, interface, or enum expected
moveCaretToLineAndCol(ide.textArea(), lac);
^
/root/JavaX-Caches/tmp_1174048376/main.java:161: error: class, interface, or enum expected
setEnclosingViewPosition(ide.textArea(), enclosingViewPosition(lastIDE.textArea()));
^
/root/JavaX-Caches/tmp_1174048376/main.java:162: error: class, interface, or enum expected
focus(ide.textArea());
^
/root/JavaX-Caches/tmp_1174048376/main.java:163: error: class, interface, or enum expected
});
^
100 errors
only showing the first 100 errors, of 145 total; use -Xmaxerrs if you would like to see more