|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mozilla.javascript.NativeGlobal
public class NativeGlobal
This class implements the global native object (function and value properties only). See ECMA 15.1.[12].
Constructor Summary | |
---|---|
NativeGlobal()
|
Method Summary | |
---|---|
static EcmaError |
constructError(Context cx,
java.lang.String error,
java.lang.String message,
Scriptable scope)
Deprecated. 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)
Deprecated. Use ScriptRuntime.constructError(String,String,String,int,String,int)
instead. |
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NativeGlobal()
Method Detail |
---|
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
in interface 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |