Uses of Class
org.htmlunit.corejs.javascript.ScriptableObject
-
-
Uses of ScriptableObject in org.htmlunit.corejs.javascript
Subclasses of ScriptableObject in org.htmlunit.corejs.javascript Modifier and Type Class Description (package private) class
Arguments
This class implements the "arguments" object.private static class
Arguments.ThrowTypeError
class
ArrowFunction
The class for Arrow Function Definitions EcmaScript 6 Rev 14, March 8, 2013 Draft spec , 13.2class
BaseFunction
The base class for Function objects.class
BoundFunction
The class for results of the Function.bind operation EcmaScript 5 spec, 15.3.4.5class
ES6Generator
class
ES6Iterator
(package private) class
FieldAndMethods
class
FunctionObject
class
IdFunctionObject
class
IdFunctionObjectES6
class
IdScriptableObject
Base class for native object implementation that uses IdFunctionObject to export its methods to script via <class-name>.prototype object.class
ImporterTopLevel
Class ImporterTopLevel(package private) class
InterpretedFunction
class
LambdaConstructor
This class implements a JavaScript function that may be used as a constructor by delegating to an interface that can be easily implemented as a lambda.class
LambdaFunction
This class implements a single JavaScript function that has the prototype of the built-in Function class, and which is implemented using a single function that can easily be implemented using a lambda expression.class
NativeArray
This class implements the Array native object.class
NativeArrayIterator
(package private) class
NativeBigInt
This class implements the BigInt native object.(package private) class
NativeBoolean
This class implements the Boolean native object.class
NativeCall
This class implements the activation object.class
NativeCallSite
This class is used by the V8 extension "Error.prepareStackTrace." It is passed to that function, which may then use it to format the stack as it sees fit.class
NativeCollectionIterator
class
NativeConsole
class
NativeContinuation
(package private) class
NativeDate
This class implements the Date native object.(package private) class
NativeError
The class of error objectsclass
NativeFunction
This class implements the Function native object.class
NativeGenerator
This class implements generator objects.class
NativeIterator
This class implements iterator objects.static class
NativeIterator.StopIteration
class
NativeJavaConstructor
This class reflects a single Java constructor into the JavaScript environment.private static class
NativeJavaMap.NativeJavaMapIterator
class
NativeJavaMethod
This class reflects Java methods into the JavaScript environment and handles overloading of methods.private static class
NativeJavaObject.JavaIterableIterator
class
NativeJavaPackage
This class reflects Java packages into the JavaScript environment.class
NativeJavaTopPackage
This class reflects Java packages into the JavaScript environment.class
NativeJSON
This class implements the JSON native object.class
NativeMap
(package private) class
NativeMath
This class implements the Math native object.(package private) class
NativeNumber
This class implements the Number native object.class
NativeObject
This class implements the Object native object.class
NativePromise
(package private) class
NativeProxy
This class implements the Proxy object.(package private) class
NativeReflect
This class implements the Reflect object.(package private) class
NativeScript
The JavaScript Script object.class
NativeSet
(package private) class
NativeString
This class implements the String native object.class
NativeStringIterator
class
NativeSymbol
This is an implementation of the standard "Symbol" type that implements all of its weird properties.class
NativeWeakMap
This is an implementation of the ES6 WeakMap class.class
NativeWeakSet
This is an implementation of the ES6 WeakSet class.class
TopLevel
A top-level scope object that provides special means to cache and preserve the initial values of the built-in constructor properties for better ECMAScript compliance.Fields in org.htmlunit.corejs.javascript declared as ScriptableObject Modifier and Type Field Description private ScriptableObject
LazilyLoadedCtor. scope
private ScriptableObject
NativeProxy. targetObj
Methods in org.htmlunit.corejs.javascript that return ScriptableObject Modifier and Type Method Description protected static ScriptableObject
ScriptableObject. buildDataDescriptor(Scriptable scope, java.lang.Object value, int attributes)
private static ScriptableObject
NativeReflect. checkTarget(java.lang.Object[] args)
private ScriptableObject
NativeArray. defaultIndexPropertyDescriptor(java.lang.Object value)
private ScriptableObject
NativeString. defaultIndexPropertyDescriptor(java.lang.Object value)
protected static ScriptableObject
ScriptableObject. ensureScriptableObject(java.lang.Object arg)
private ScriptableObject
IdScriptableObject. getBuiltInDescriptor(java.lang.String name)
private ScriptableObject
IdScriptableObject. getBuiltInDescriptor(Symbol key)
static ScriptableObject
ScriptRuntime. getGlobal(Context cx)
static ScriptableObject
ScriptRuntime. getLibraryScopeOrNull(Scriptable scope)
protected ScriptableObject
Arguments. getOwnPropertyDescriptor(Context cx, java.lang.Object id)
protected ScriptableObject
IdScriptableObject. getOwnPropertyDescriptor(Context cx, java.lang.Object id)
protected ScriptableObject
NativeArray. getOwnPropertyDescriptor(Context cx, java.lang.Object id)
protected ScriptableObject
NativeProxy. getOwnPropertyDescriptor(Context cx, java.lang.Object id)
see https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-getownproperty-pprotected ScriptableObject
NativeString. getOwnPropertyDescriptor(Context cx, java.lang.Object id)
protected ScriptableObject
ScriptableObject. getOwnPropertyDescriptor(Context cx, java.lang.Object id)
(package private) ScriptableObject
AccessorSlot. getPropertyDescriptor(Context cx, Scriptable scope)
(package private) ScriptableObject
LambdaSlot. getPropertyDescriptor(Context cx, Scriptable scope)
(package private) ScriptableObject
Slot. getPropertyDescriptor(Context cx, Scriptable scope)
private ScriptableObject
LambdaConstructor. getPrototypeScriptable()
(package private) ScriptableObject
NativeProxy. getTargetThrowIfRevoked()
ScriptableObject
Context. initSafeStandardObjects()
Initialize the standard objects, leaving out those that offer access directly to Java classes.ScriptableObject
Context. initSafeStandardObjects(ScriptableObject scope, boolean sealed)
Initialize the standard objects, leaving out those that offer access directly to Java classes.static ScriptableObject
ScriptRuntime. initSafeStandardObjects(Context cx, ScriptableObject scope, boolean sealed)
ScriptableObject
Context. initStandardObjects()
Initialize the standard objects.ScriptableObject
Context. initStandardObjects(ScriptableObject scope, boolean sealed)
Initialize the standard objects.static ScriptableObject
ScriptRuntime. initStandardObjects(Context cx, ScriptableObject scope, boolean sealed)
private ScriptableObject
ImporterTopLevel. realScope(Scriptable scope, Scriptable thisObj, IdFunctionObject f)
Methods in org.htmlunit.corejs.javascript with parameters of type ScriptableObject Modifier and Type Method Description boolean
ClassCache. associate(ScriptableObject topScope)
Associate ClassCache object with the given top-level scope.protected void
ScriptableObject. checkPropertyChange(java.lang.Object id, ScriptableObject current, ScriptableObject desc)
protected void
ScriptableObject. checkPropertyDefinition(ScriptableObject desc)
(package private) static java.lang.Object
InterfaceAdapter. create(Context cx, java.lang.Class<?> cl, ScriptableObject object)
Make glue object implementing interface cl that will call the supplied JS function when called.protected static java.lang.Object
NativeJavaObject. createInterfaceAdapter(java.lang.Class<?> type, ScriptableObject so)
private static void
NativeSymbol. createStandardSymbol(Context cx, Scriptable scope, ScriptableObject ctor, java.lang.String name, SymbolKey key)
void
ScriptableObject. defineOwnProperties(Context cx, ScriptableObject props)
Defines one or more properties on this object.protected boolean
Arguments. defineOwnProperty(Context cx, java.lang.Object id, ScriptableObject desc, boolean checkValid)
protected boolean
IdScriptableObject. defineOwnProperty(Context cx, java.lang.Object key, ScriptableObject desc, boolean checkValid)
protected boolean
NativeArray. defineOwnProperty(Context cx, java.lang.Object id, ScriptableObject desc, boolean checkValid)
boolean
NativeProxy. defineOwnProperty(Context cx, java.lang.Object id, ScriptableObject desc)
see https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-defineownproperty-p-descboolean
ScriptableObject. defineOwnProperty(Context cx, java.lang.Object id, ScriptableObject desc)
Defines a property on an object.protected boolean
ScriptableObject. defineOwnProperty(Context cx, java.lang.Object id, ScriptableObject desc, boolean checkValid)
Defines a property on an object.private static void
ImporterTopLevel. importPackage(ScriptableObject scope, NativeJavaPackage pkg)
(package private) static ES6Generator
ES6Generator. init(ScriptableObject scope, boolean sealed)
protected static void
ES6Iterator. init(ScriptableObject scope, boolean sealed, IdScriptableObject prototype, java.lang.String tag)
(package private) static void
NativeArrayIterator. init(ScriptableObject scope, boolean sealed)
(package private) static void
NativeCollectionIterator. init(ScriptableObject scope, java.lang.String tag, boolean sealed)
(package private) static NativeGenerator
NativeGenerator. init(ScriptableObject scope, boolean sealed)
(package private) static void
NativeIterator. init(Context cx, ScriptableObject scope, boolean sealed)
(package private) static void
NativeJavaMap. init(ScriptableObject scope, boolean sealed)
(package private) static void
NativeJavaMap.NativeJavaMapIterator. init(ScriptableObject scope, boolean sealed)
(package private) static void
NativeJavaObject. init(ScriptableObject scope, boolean sealed)
(package private) static void
NativeJavaObject.JavaIterableIterator. init(ScriptableObject scope, boolean sealed)
(package private) static void
NativeStringIterator. init(ScriptableObject scope, boolean sealed)
Scriptable
Context. initSafeStandardObjects(ScriptableObject scope)
Initialize the standard objects, leaving out those that offer access directly to Java classes.ScriptableObject
Context. initSafeStandardObjects(ScriptableObject scope, boolean sealed)
Initialize the standard objects, leaving out those that offer access directly to Java classes.static ScriptableObject
ScriptRuntime. initSafeStandardObjects(Context cx, ScriptableObject scope, boolean sealed)
Scriptable
Context. initStandardObjects(ScriptableObject scope)
Initialize the standard objects.ScriptableObject
Context. initStandardObjects(ScriptableObject scope, boolean sealed)
Initialize the standard objects.static ScriptableObject
ScriptRuntime. initStandardObjects(Context cx, ScriptableObject scope, boolean sealed)
protected static boolean
ScriptableObject. isAccessorDescriptor(ScriptableObject desc)
Implements IsAccessorDescriptor as described in ES5 8.10.1(package private) static boolean
AbstractEcmaObjectOperations. isCompatiblePropertyDescriptor(boolean extensible, ScriptableObject desc, ScriptableObject current)
IsCompatiblePropertyDescriptor ( Extensible, Desc, Current )protected static boolean
ScriptableObject. isDataDescriptor(ScriptableObject desc)
Implements IsDataDescriptor as described in ES5 8.10.2protected static boolean
ScriptableObject. isGenericDescriptor(ScriptableObject desc)
Implements IsGenericDescriptor as described in ES5 8.10.3private static java.lang.Object
ImporterTopLevel. js_importPackage(ScriptableObject scope, java.lang.Object[] args)
(package private) static void
NativeMap. loadFromIterable(Context cx, Scriptable scope, ScriptableObject map, java.lang.Object arg1)
If an "iterable" object was passed to the constructor, there are many many things to do...(package private) static void
NativeSet. loadFromIterable(Context cx, Scriptable scope, ScriptableObject set, java.lang.Object arg1)
If an "iterable" object was passed to the constructor, there are many many things to do.static void
ScriptRuntime. setBuiltinProtoAndParent(ScriptableObject object, Scriptable scope, TopLevel.Builtins type)
static void
ScriptRuntime. setObjectProtoAndParent(ScriptableObject object, Scriptable scope)
(package private) static boolean
AbstractEcmaObjectOperations. validateAndApplyPropertyDescriptor(Scriptable o, Scriptable p, boolean extensible, ScriptableObject desc, ScriptableObject current)
ValidateAndApplyPropertyDescriptor ( O, P, extensible, Desc, current )Constructors in org.htmlunit.corejs.javascript with parameters of type ScriptableObject Constructor Description LazilyLoadedCtor(ScriptableObject scope, java.lang.String propertyName, java.lang.String className, boolean sealed)
LazilyLoadedCtor(ScriptableObject scope, java.lang.String propertyName, java.lang.String className, boolean sealed, boolean privileged)
NativeProxy(ScriptableObject target, Scriptable handler)
-
Uses of ScriptableObject in org.htmlunit.corejs.javascript.commonjs.module
Subclasses of ScriptableObject in org.htmlunit.corejs.javascript.commonjs.module Modifier and Type Class Description class
ModuleScope
A top-level module scope.class
Require
Implements the require() function as defined by Common JS modules.Methods in org.htmlunit.corejs.javascript.commonjs.module with parameters of type ScriptableObject Modifier and Type Method Description private static void
Require. defineReadOnlyProperty(ScriptableObject obj, java.lang.String name, java.lang.Object value)
-
Uses of ScriptableObject in org.htmlunit.corejs.javascript.engine
Subclasses of ScriptableObject in org.htmlunit.corejs.javascript.engine Modifier and Type Class Description class
BindingsObject
This class makes the Bindings object into a Scriptable.Fields in org.htmlunit.corejs.javascript.engine declared as ScriptableObject Modifier and Type Field Description private ScriptableObject
RhinoScriptEngine. topLevelScope
Methods in org.htmlunit.corejs.javascript.engine with parameters of type ScriptableObject Modifier and Type Method Description (package private) void
Builtins. register(Context cx, ScriptableObject scope, javax.script.ScriptContext sc)
-
Uses of ScriptableObject in org.htmlunit.corejs.javascript.regexp
Subclasses of ScriptableObject in org.htmlunit.corejs.javascript.regexp Modifier and Type Class Description class
NativeRegExp
This class implements the RegExp native object.(package private) class
NativeRegExpCallable
Legacy implementation of RegExp was callable, this class exists to preserve this functionality(package private) class
NativeRegExpCtor
This class implements the RegExp constructor native object. -
Uses of ScriptableObject in org.htmlunit.corejs.javascript.tools.shell
Subclasses of ScriptableObject in org.htmlunit.corejs.javascript.tools.shell Modifier and Type Class Description class
Environment
Environment, intended to be instantiated at global scope, provides a natural way to access System properties from JavaScript.class
Global
This class provides for sharing functions across multiple threads.Methods in org.htmlunit.corejs.javascript.tools.shell with parameters of type ScriptableObject Modifier and Type Method Description static void
Environment. defineClass(ScriptableObject scope)
Constructors in org.htmlunit.corejs.javascript.tools.shell with parameters of type ScriptableObject Constructor Description Environment(ScriptableObject scope)
-
Uses of ScriptableObject in org.htmlunit.corejs.javascript.typedarrays
Subclasses of ScriptableObject in org.htmlunit.corejs.javascript.typedarrays Modifier and Type Class Description class
NativeArrayBuffer
A NativeArrayBuffer is the backing buffer for a typed array.class
NativeArrayBufferView
This class is the abstract parent for all views of the array.class
NativeDataView
This class represents the JavaScript "DataView" interface, which allows direct manipulations of the bytes in a NativeArrayBuffer.class
NativeFloat32Array
An array view that stores 32-bit quantities and implements the JavaScript "loat32Array" interface.class
NativeFloat64Array
An array view that stores 64-bit quantities and implements the JavaScript "Float64Array" interface.class
NativeInt16Array
An array view that stores 16-bit quantities and implements the JavaScript "Int16Array" interface.class
NativeInt32Array
An array view that stores 32-bit quantities and implements the JavaScript "Int32Array" interface.class
NativeInt8Array
An array view that stores 8-bit quantities and implements the JavaScript "Int8Array" interface.class
NativeTypedArrayView<T>
This class is the abstract parent for all of the various typed arrays.class
NativeUint16Array
An array view that stores 16-bit quantities and implements the JavaScript "Uint16Array" interface.class
NativeUint32Array
An array view that stores 32-bit quantities and implements the JavaScript "Uint32Array" interface.class
NativeUint8Array
An array view that stores 8-bit quantities and implements the JavaScript "Uint8Array" interface.class
NativeUint8ClampedArray
An array view that stores 8-bit quantities and implements the JavaScript "Uint8ClampedArray" interface. -
Uses of ScriptableObject in org.htmlunit.corejs.javascript.xml
Subclasses of ScriptableObject in org.htmlunit.corejs.javascript.xml Modifier and Type Class Description class
XMLObject
This Interface describes what all XML objects (XML, XMLList) should have in common.
-