public class NativeGlobal extends java.lang.Object implements java.io.Serializable, IdFunctionCall
构造器和说明 |
---|
NativeGlobal() |
限定符和类型 | 方法和说明 |
---|---|
static EcmaError |
constructError(Context cx,
java.lang.String error,
java.lang.String message,
Scriptable scope)
已过时。
Use
ScriptRuntime.constructError(String,String)
instead. |
static EcmaError |
constructError(Context cx,
java.lang.String error,
java.lang.String message,
Scriptable scope,
java.lang.String sourceName,
int lineNumber,
int columnNumber,
java.lang.String lineSource)
已过时。
|
java.lang.Object |
execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args)
'thisObj' will be null if invoked as constructor, in which case
instance of Scriptable should be returned
|
static void |
init(Context cx,
Scriptable scope,
boolean sealed) |
public static void init(Context cx, Scriptable scope, boolean sealed)
public java.lang.Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)
IdFunctionCall
execIdCall
在接口中 IdFunctionCall
public static EcmaError constructError(Context cx, java.lang.String error, java.lang.String message, Scriptable scope)
ScriptRuntime.constructError(String,String)
instead.public static EcmaError constructError(Context cx, java.lang.String error, java.lang.String message, Scriptable scope, java.lang.String sourceName, int lineNumber, int columnNumber, java.lang.String lineSource)
ScriptRuntime.constructError(String,String,String,int,String,int)
instead.