link start!
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package org.mozilla.javascript;
|
||||
|
||||
public interface Callable {
|
||||
Object call(Context context, Scriptable scriptable, Scriptable scriptable2, Object[] objArr);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package org.mozilla.javascript;
|
||||
|
||||
public interface ClassShutter {
|
||||
boolean visibleToScripts(String str);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package org.mozilla.javascript;
|
||||
|
||||
public interface ConstProperties {
|
||||
void defineConst(String str, Scriptable scriptable);
|
||||
|
||||
boolean isConst(String str);
|
||||
|
||||
void putConst(String str, Scriptable scriptable, Object obj);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package org.mozilla.javascript;
|
||||
|
||||
public interface ContextAction {
|
||||
Object run(Context context);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package org.mozilla.javascript;
|
||||
|
||||
public interface ErrorReporter {
|
||||
void error(String str, String str2, int i, String str3, int i2);
|
||||
|
||||
EvaluatorException runtimeError(String str, String str2, int i, String str3, int i2);
|
||||
|
||||
void warning(String str, String str2, int i, String str3, int i2);
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package org.mozilla.javascript;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface Evaluator {
|
||||
void captureStackInfo(RhinoException rhinoException);
|
||||
|
||||
Object compile(CompilerEnvirons compilerEnvirons, ScriptOrFnNode scriptOrFnNode, String str, boolean z);
|
||||
|
||||
Function createFunctionObject(Context context, Scriptable scriptable, Object obj, Object obj2);
|
||||
|
||||
Script createScriptObject(Object obj, Object obj2);
|
||||
|
||||
String getPatchedStack(RhinoException rhinoException, String str);
|
||||
|
||||
List<String> getScriptStack(RhinoException rhinoException);
|
||||
|
||||
String getSourcePositionFromStack(Context context, int[] iArr);
|
||||
|
||||
void setEvalScriptFlag(Script script);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package org.mozilla.javascript;
|
||||
|
||||
public interface GeneratedClassLoader {
|
||||
Class<?> defineClass(String str, byte[] bArr);
|
||||
|
||||
void linkClass(Class<?> cls);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package org.mozilla.javascript;
|
||||
|
||||
public interface IdFunctionCall {
|
||||
Object execIdCall(IdFunctionObject idFunctionObject, Context context, Scriptable scriptable, Scriptable scriptable2, Object[] objArr);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package org.mozilla.javascript;
|
||||
|
||||
public interface RefCallable extends Callable {
|
||||
Ref refCall(Context context, Scriptable scriptable, Object[] objArr);
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package org.mozilla.javascript;
|
||||
|
||||
public interface RegExpProxy {
|
||||
public static final int RA_MATCH = 1;
|
||||
public static final int RA_REPLACE = 2;
|
||||
public static final int RA_SEARCH = 3;
|
||||
|
||||
Object action(Context context, Scriptable scriptable, Scriptable scriptable2, Object[] objArr, int i);
|
||||
|
||||
Object compileRegExp(Context context, String str, String str2);
|
||||
|
||||
int find_split(Context context, Scriptable scriptable, String str, String str2, Scriptable scriptable2, int[] iArr, int[] iArr2, boolean[] zArr, String[][] strArr);
|
||||
|
||||
boolean isRegExp(Scriptable scriptable);
|
||||
|
||||
Scriptable wrapRegExp(Context context, Scriptable scriptable, Object obj);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package org.mozilla.javascript;
|
||||
|
||||
public interface Script {
|
||||
Object exec(Context context, Scriptable scriptable);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package org.mozilla.javascript;
|
||||
|
||||
public interface Wrapper {
|
||||
Object unwrap();
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package org.mozilla.javascript.tools.debugger;
|
||||
|
||||
import org.mozilla.javascript.tools.debugger.Dim.SourceInfo;
|
||||
import org.mozilla.javascript.tools.debugger.Dim.StackFrame;
|
||||
|
||||
public interface GuiCallback {
|
||||
void dispatchNextGuiEvent() throws InterruptedException;
|
||||
|
||||
void enterInterrupt(StackFrame stackFrame, String str, String str2);
|
||||
|
||||
boolean isGuiEventThread();
|
||||
|
||||
void updateSourceText(SourceInfo sourceInfo);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package org.mozilla.javascript.tools.debugger;
|
||||
|
||||
import org.mozilla.javascript.Scriptable;
|
||||
|
||||
public interface ScopeProvider {
|
||||
Scriptable getScope();
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package org.mozilla.javascript.tools.debugger.treetable;
|
||||
|
||||
import javax.swing.tree.TreeModel;
|
||||
|
||||
public interface TreeTableModel extends TreeModel {
|
||||
Class<?> getColumnClass(int i);
|
||||
|
||||
int getColumnCount();
|
||||
|
||||
String getColumnName(int i);
|
||||
|
||||
Object getValueAt(Object obj, int i);
|
||||
|
||||
boolean isCellEditable(Object obj, int i);
|
||||
|
||||
void setValueAt(Object obj, Object obj2, int i);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package org.mozilla.javascript.tools.shell;
|
||||
|
||||
import org.mozilla.javascript.Context;
|
||||
|
||||
public interface QuitAction {
|
||||
void quit(Context context, int i);
|
||||
}
|
||||
Reference in New Issue
Block a user