link start!

This commit is contained in:
cherubin
2026-03-17 13:31:18 -07:00
commit 08abe87cfb
5910 changed files with 386288 additions and 0 deletions
@@ -0,0 +1,16 @@
package org.mozilla.javascript.debug;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Scriptable;
public interface DebugFrame {
void onDebuggerStatement(Context context);
void onEnter(Context context, Scriptable scriptable, Scriptable scriptable2, Object[] objArr);
void onExceptionThrown(Context context, Throwable th);
void onExit(Context context, boolean z, Object obj);
void onLineChange(Context context, int i);
}
@@ -0,0 +1,5 @@
package org.mozilla.javascript.debug;
public interface DebuggableObject {
Object[] getAllIds();
}
@@ -0,0 +1,27 @@
package org.mozilla.javascript.debug;
public interface DebuggableScript {
DebuggableScript getFunction(int i);
int getFunctionCount();
String getFunctionName();
int[] getLineNumbers();
int getParamAndVarCount();
int getParamCount();
String getParamOrVarName(int i);
DebuggableScript getParent();
String getSourceName();
boolean isFunction();
boolean isGeneratedScript();
boolean isTopLevel();
}
@@ -0,0 +1,9 @@
package org.mozilla.javascript.debug;
import org.mozilla.javascript.Context;
public interface Debugger {
DebugFrame getFrame(Context context, DebuggableScript debuggableScript);
void handleCompilationDone(Context context, DebuggableScript debuggableScript, String str);
}