Wrote /root/JavaX-Caches/tmp_1699481757/main.java - 6306 bytes (written=6306, should be 6306)
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_1985461228 /root/JavaX-Caches/tmp_1699481757/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1699481757/main.java:1: error: class, interface, or enum expected
sclass G22LAScriptIDE is Swingable {
^
/root/JavaX-Caches/tmp_1699481757/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_1699481757/main.java:5: error: class, interface, or enum expected
A script;
^
/root/JavaX-Caches/tmp_1699481757/main.java:7: error: class, interface, or enum expected
transient SingleComponentPanel scp;
^
/root/JavaX-Caches/tmp_1699481757/main.java:8: error: class, interface, or enum expected
transient JLeftArrowScriptIDE[] ides;
^
/root/JavaX-Caches/tmp_1699481757/main.java:9: error: class, interface, or enum expected
transient JTabbedPane tabs;
^
/root/JavaX-Caches/tmp_1699481757/main.java:10: error: class, interface, or enum expected
transient JButton btnSave, btnDiscardChanges, btnClearForAutoRun;
^
/root/JavaX-Caches/tmp_1699481757/main.java:15: error: ';' expected
gettable bool editable;
^
/root/JavaX-Caches/tmp_1699481757/main.java:15: error: expected
gettable bool editable;
^
/root/JavaX-Caches/tmp_1699481757/main.java:17: error: illegal start of type
*(G22ScriptMode *modeEnum, S *name, bool *editable) {}
^
/root/JavaX-Caches/tmp_1699481757/main.java:17: error: expected
*(G22ScriptMode *modeEnum, S *name, bool *editable) {}
^
/root/JavaX-Caches/tmp_1699481757/main.java:17: error: expected
*(G22ScriptMode *modeEnum, S *name, bool *editable) {}
^
/root/JavaX-Caches/tmp_1699481757/main.java:17: error: ';' expected
*(G22ScriptMode *modeEnum, S *name, bool *editable) {}
^
/root/JavaX-Caches/tmp_1699481757/main.java:17: error: expected
*(G22ScriptMode *modeEnum, S *name, bool *editable) {}
^
/root/JavaX-Caches/tmp_1699481757/main.java:17: error: ';' expected
*(G22ScriptMode *modeEnum, S *name, bool *editable) {}
^
/root/JavaX-Caches/tmp_1699481757/main.java:17: error: expected
*(G22ScriptMode *modeEnum, S *name, bool *editable) {}
^
/root/JavaX-Caches/tmp_1699481757/main.java:19: error: expected
simplyCached abstract IVarWithNotify scriptVar();
^
/root/JavaX-Caches/tmp_1699481757/main.java:23: error: expected
toString { ret name; }
^
/root/JavaX-Caches/tmp_1699481757/main.java:25: error: ';' expected
S tabName() { ret scriptVar().has() ? name : "Not " + firstToLower(name); }
^
/root/JavaX-Caches/tmp_1699481757/main.java:25: error: not a statement
S tabName() { ret scriptVar().has() ? name : "Not " + firstToLower(name); }
^
/root/JavaX-Caches/tmp_1699481757/main.java:28: error: '{' expected
class ModeClearedForAutoRun > Mode {
^
/root/JavaX-Caches/tmp_1699481757/main.java:29: error: illegal start of type
*() { super(G22ScriptMode.autoRunnable, "Cleared for auto-run", false); }
^
/root/JavaX-Caches/tmp_1699481757/main.java:33: error: illegal start of expression
-> script.codeForAutoRun(),
^
/root/JavaX-Caches/tmp_1699481757/main.java:33: error: ';' expected
-> script.codeForAutoRun(),
^
/root/JavaX-Caches/tmp_1699481757/main.java:40: error: ')' expected
panel.add(jbutton("Forget auto-run code", rThread forgetAutoRunCode));
^
/root/JavaX-Caches/tmp_1699481757/main.java:40: error: not a statement
panel.add(jbutton("Forget auto-run code", rThread forgetAutoRunCode));
^
/root/JavaX-Caches/tmp_1699481757/main.java:40: error: ';' expected
panel.add(jbutton("Forget auto-run code", rThread forgetAutoRunCode));
^
/root/JavaX-Caches/tmp_1699481757/main.java:44: error: '{' expected
class ModeSaved > Mode {
^
/root/JavaX-Caches/tmp_1699481757/main.java:45: error: illegal start of type
*() { super(G22ScriptMode.saved, "Saved", false); }
^
/root/JavaX-Caches/tmp_1699481757/main.java:48: error: ';' expected
ret getterVarOnly(script.varText());
^
/root/JavaX-Caches/tmp_1699481757/main.java:48: error: ';' expected
ret getterVarOnly(script.varText());
^
/root/JavaX-Caches/tmp_1699481757/main.java:52: error: ')' expected
panel.add(btnClearForAutoRun = jbutton("Clear for auto-run", rThread clearForAutoRun));
^
/root/JavaX-Caches/tmp_1699481757/main.java:52: error: not a statement
panel.add(btnClearForAutoRun = jbutton("Clear for auto-run", rThread clearForAutoRun));
^
/root/JavaX-Caches/tmp_1699481757/main.java:52: error: ';' expected
panel.add(btnClearForAutoRun = jbutton("Clear for auto-run", rThread clearForAutoRun));
^
/root/JavaX-Caches/tmp_1699481757/main.java:53: error: ')' expected
panel.add(jbutton("Forget code", rThread forgetSaved));
^
/root/JavaX-Caches/tmp_1699481757/main.java:53: error: not a statement
panel.add(jbutton("Forget code", rThread forgetSaved));
^
/root/JavaX-Caches/tmp_1699481757/main.java:53: error: ';' expected
panel.add(jbutton("Forget code", rThread forgetSaved));
^
/root/JavaX-Caches/tmp_1699481757/main.java:57: error: '{' expected
class ModeEdit > Mode {
^
/root/JavaX-Caches/tmp_1699481757/main.java:58: error: illegal start of type
*() { super(G22ScriptMode.edit, "Edit", true); }
^
/root/JavaX-Caches/tmp_1699481757/main.java:62: error: illegal start of expression
-> script.textForEditing(),
^
/root/JavaX-Caches/tmp_1699481757/main.java:62: error: ';' expected
-> script.textForEditing(),
^
/root/JavaX-Caches/tmp_1699481757/main.java:63: error: not a statement
text -> script.receiveEditingText(text)
^
/root/JavaX-Caches/tmp_1699481757/main.java:63: error: ';' expected
text -> script.receiveEditingText(text)
^
/root/JavaX-Caches/tmp_1699481757/main.java:70: error: ')' expected
panel.add(btnSave = jbutton("Save", rThread saveEdit));
^
/root/JavaX-Caches/tmp_1699481757/main.java:70: error: not a statement
panel.add(btnSave = jbutton("Save", rThread saveEdit));
^
/root/JavaX-Caches/tmp_1699481757/main.java:70: error: ';' expected
panel.add(btnSave = jbutton("Save", rThread saveEdit));
^
/root/JavaX-Caches/tmp_1699481757/main.java:71: error: ')' expected
panel.add(btnDiscardChanges = jbutton("Discard changes", rThread discardEdit));
^
/root/JavaX-Caches/tmp_1699481757/main.java:71: error: not a statement
panel.add(btnDiscardChanges = jbutton("Discard changes", rThread discardEdit));
^
/root/JavaX-Caches/tmp_1699481757/main.java:71: error: ';' expected
panel.add(btnDiscardChanges = jbutton("Discard changes", rThread discardEdit));
^
/root/JavaX-Caches/tmp_1699481757/main.java:75: error: class, interface, or enum expected
transient new ModeEdit modeEdit;
^
/root/JavaX-Caches/tmp_1699481757/main.java:76: error: class, interface, or enum expected
transient new ModeSaved modeSaved;
^
/root/JavaX-Caches/tmp_1699481757/main.java:77: error: class, interface, or enum expected
transient new ModeClearedForAutoRun modeClearedForAutoRun;
^
/root/JavaX-Caches/tmp_1699481757/main.java:78: error: class, interface, or enum expected
transient L modes = ll(
^
/root/JavaX-Caches/tmp_1699481757/main.java:84: error: class, interface, or enum expected
*(G22Utils *g22utils) {}
^
/root/JavaX-Caches/tmp_1699481757/main.java:88: error: class, interface, or enum expected
if (scp == null) scp = singleComponentPanel();
^
/root/JavaX-Caches/tmp_1699481757/main.java:89: error: class, interface, or enum expected
loadScript(script);
^
/root/JavaX-Caches/tmp_1699481757/main.java:90: error: class, interface, or enum expected
ret scp;
^
/root/JavaX-Caches/tmp_1699481757/main.java:91: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1699481757/main.java:97: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_1699481757/main.java:99: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1699481757/main.java:103: error: class, interface, or enum expected
if (scp == null) ret;
^
/root/JavaX-Caches/tmp_1699481757/main.java:104: error: class, interface, or enum expected
if (script == null)
^
/root/JavaX-Caches/tmp_1699481757/main.java:106: error: class, interface, or enum expected
else {
^
/root/JavaX-Caches/tmp_1699481757/main.java:113: error: class, interface, or enum expected
for (int i, Mode mode : unpair iterateWithIndex(modes)) {
^
/root/JavaX-Caches/tmp_1699481757/main.java:115: error: class, interface, or enum expected
ide.wrapSection = c -> wrapEditorSection(mode, c);
^
/root/JavaX-Caches/tmp_1699481757/main.java:116: error: class, interface, or enum expected
ide.newCompileResult = -> script.newCompileResult();
^
/root/JavaX-Caches/tmp_1699481757/main.java:117: error: class, interface, or enum expected
ide.makeParser = -> script.makeParser();
^
/root/JavaX-Caches/tmp_1699481757/main.java:118: error: class, interface, or enum expected
modifyIDE(ide);
^
/root/JavaX-Caches/tmp_1699481757/main.java:119: error: class, interface, or enum expected
var varScript = mode.scriptVar();
^
/root/JavaX-Caches/tmp_1699481757/main.java:120: error: class, interface, or enum expected
ide.lvScript(varWithNotifyToLiveValue(S.class, varScript));
^
/root/JavaX-Caches/tmp_1699481757/main.java:120: error: expected
ide.lvScript(varWithNotifyToLiveValue(S.class, varScript));
^
/root/JavaX-Caches/tmp_1699481757/main.java:121: error: class, interface, or enum expected
addTab(tabs, str(mode));
^
/root/JavaX-Caches/tmp_1699481757/main.java:122: error: class, interface, or enum expected
mode.addButtons(ide.buttons());
^
/root/JavaX-Caches/tmp_1699481757/main.java:123: error: class, interface, or enum expected
ide.visualize();
^
/root/JavaX-Caches/tmp_1699481757/main.java:124: error: class, interface, or enum expected
ide.setEditable(mode.editable());
^
/root/JavaX-Caches/tmp_1699481757/main.java:125: error: class, interface, or enum expected
varScript.onChangeAndNow(text ->
^
/root/JavaX-Caches/tmp_1699481757/main.java:127: error: class, interface, or enum expected
ide.popDownButton.onFillingMenu(menu ->
^
/root/JavaX-Caches/tmp_1699481757/main.java:129: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1699481757/main.java:134: error: class, interface, or enum expected
setEnabled(script.isEditing(), btnSave, btnDiscardChanges);
^
/root/JavaX-Caches/tmp_1699481757/main.java:135: error: class, interface, or enum expected
setEnabled(btnClearForAutoRun, script.isSavedDistinctFromAutoRunVersion());
^
/root/JavaX-Caches/tmp_1699481757/main.java:136: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_1699481757/main.java:138: error: class, interface, or enum expected
setMode(script.isEditing() ? modeEdit : modeSaved);
^
/root/JavaX-Caches/tmp_1699481757/main.java:139: error: class, interface, or enum expected
scp.set(tabs);
^
/root/JavaX-Caches/tmp_1699481757/main.java:140: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1699481757/main.java:148: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_1699481757/main.java:150: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1699481757/main.java:154: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1699481757/main.java:158: error: class, interface, or enum expected
swappable void modifyIDE(JLeftArrowScriptIDE ide) {
^
/root/JavaX-Caches/tmp_1699481757/main.java:160: error: class, interface, or enum expected
settingUpIDE(ide);
^
/root/JavaX-Caches/tmp_1699481757/main.java:161: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1699481757/main.java:165: error: class, interface, or enum expected
setMode(modeSaved);
^
/root/JavaX-Caches/tmp_1699481757/main.java:166: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1699481757/main.java:170: error: class, interface, or enum expected
ret _get(ides, indexOf(modes, mode));
^
/root/JavaX-Caches/tmp_1699481757/main.java:171: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1699481757/main.java:175: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1699481757/main.java:179: error: class, interface, or enum expected
script.editingText(null);
^
/root/JavaX-Caches/tmp_1699481757/main.java:180: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1699481757/main.java:184: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1699481757/main.java:188: error: class, interface, or enum expected
setMode(modeClearedForAutoRun);
^
/root/JavaX-Caches/tmp_1699481757/main.java:189: error: class, interface, or enum expected
}
^
100 errors
only showing the first 100 errors, of 111 total; use -Xmaxerrs if you would like to see more