Package org.mozilla.javascript
Class NativeGlobal
- java.lang.Object
- 
- org.mozilla.javascript.NativeGlobal
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- IdFunctionCall
 
 public class NativeGlobal extends java.lang.Object implements java.io.Serializable, IdFunctionCall This class implements the global native object (function and value properties only).See ECMA 15.1.[12]. - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description NativeGlobal()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EcmaErrorconstructError(Context cx, java.lang.String error, java.lang.String message, Scriptable scope)Deprecated.UseScriptRuntime.constructError(String,String)instead.static EcmaErrorconstructError(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.java.lang.ObjectexecIdCall(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 returnedstatic voidinit(Context cx, Scriptable scope, boolean sealed)
 
- 
- 
- 
Method Detail- 
initpublic static void init(Context cx, Scriptable scope, boolean sealed) 
 - 
execIdCallpublic java.lang.Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, java.lang.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 interface- IdFunctionCall
 
 - 
constructError@Deprecated public static EcmaError constructError(Context cx, java.lang.String error, java.lang.String message, Scriptable scope) Deprecated.UseScriptRuntime.constructError(String,String)instead.
 - 
constructError@Deprecated 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) Deprecated.
 
- 
 
-