Package org.mozilla.javascript
Class NativeGlobal
- java.lang.Object
-
- org.mozilla.javascript.NativeGlobal
-
- All Implemented Interfaces:
Serializable,IdFunctionCall
public class NativeGlobal extends Object implements Serializable, IdFunctionCall
This class implements the global native object (function and value properties only). See ECMA 15.1.[12].- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NativeGlobal()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EcmaErrorconstructError(Context cx, String error, String message, Scriptable scope)Deprecated.UseScriptRuntime.constructError(String,String)instead.static EcmaErrorconstructError(Context cx, String error, String message, Scriptable scope, String sourceName, int lineNumber, int columnNumber, String lineSource)Deprecated.ObjectexecIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args)'thisObj' will be null if invoked as constructor, in which case instance of Scriptable should be returnedstatic voidinit(Context cx, Scriptable scope, boolean sealed)
-
-
-
Method Detail
-
init
public static void init(Context cx, Scriptable scope, boolean sealed)
-
execIdCall
public Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
Description copied from interface:IdFunctionCall'thisObj' will be null if invoked as constructor, in which case instance of Scriptable should be returned- Specified by:
execIdCallin interfaceIdFunctionCall
-
constructError
@Deprecated public static EcmaError constructError(Context cx, String error, String message, Scriptable scope)
Deprecated.UseScriptRuntime.constructError(String,String)instead.
-
constructError
@Deprecated public static EcmaError constructError(Context cx, String error, String message, Scriptable scope, String sourceName, int lineNumber, int columnNumber, String lineSource)
Deprecated.
-
-