| Modifier and Type | Class and Description |
|---|---|
class |
BuiltInSlot<T extends ScriptableObject>
This is a specialization of property access using some lambda functions designed for properties
on built in objects that may be created extremely frequently.
|
static interface |
BuiltInSlot.AttributeSetter<U extends ScriptableObject> |
static interface |
BuiltInSlot.Getter<U extends ScriptableObject> |
static interface |
BuiltInSlot.PropDescriptionSetter<U extends ScriptableObject> |
static interface |
BuiltInSlot.Setter<U extends ScriptableObject> |
| Modifier and Type | Class and Description |
|---|---|
class |
ArrowFunction
The class for Arrow Function Definitions EcmaScript 6 Rev 14, March 8, 2013 Draft spec , 13.2
|
class |
BaseFunction
The base class for Function objects.
|
class |
BoundFunction
The class for results of the Function.bind operation EcmaScript 5 spec, 15.3.4.5
|
class |
ES6Generator |
class |
ES6Iterator |
class |
FunctionObject |
class |
IdFunctionObject |
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
This class defines a ScriptableObject that can be instantiated as a top-level ("global")
object to provide functionality similar to Java's "import" statement.
|
class |
KnownBuiltInFunction
This class implements a lambda function which is known to the runtime system and which may be
treated specially by the interpreter or runtime.
|
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 |
class |
NativeCall
This class implements the activation object.
|
class |
NativeCallSite
This class is used by the V8 extension "Error.prepareStackTrace."
|
class |
NativeCollectionIterator |
class |
NativeConsole |
class |
NativeContinuation |
class |
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.
|
class |
NativeJavaMethod
This class reflects Java methods into the JavaScript environment and handles overloading of
methods.
|
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 |
class |
NativeObject
This class implements the Object native object.
|
class |
NativePromise |
class |
NativeSet |
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.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends ScriptableObject> |
ScriptableObject.defineBuiltInProperty(T owner,
Object name,
int attributes,
BuiltInSlot.Getter<T> getter) |
static <T extends ScriptableObject> |
ScriptableObject.defineBuiltInProperty(T owner,
Object name,
int attributes,
BuiltInSlot.Getter<T> getter,
BuiltInSlot.Setter<T> setter,
BuiltInSlot.AttributeSetter<T> attrSetter) |
static <T extends ScriptableObject> |
ScriptableObject.defineBuiltInProperty(T owner,
String name,
int attributes,
BuiltInSlot.Getter<T> getter,
BuiltInSlot.Setter<T> setter) |
static <T extends ScriptableObject> |
ScriptableObject.defineBuiltInProperty(T owner,
String name,
int attributes,
BuiltInSlot.Getter<T> getter,
BuiltInSlot.Setter<T> setter,
BuiltInSlot.AttributeSetter<T> attrSetter,
BuiltInSlot.PropDescriptionSetter<T> propDescSetter) |
| Modifier and Type | Method and Description |
|---|---|
protected static ScriptableObject |
ScriptableObject.buildDataDescriptor(Scriptable scope,
Object value,
int attributes) |
ScriptableObject |
LambdaAccessorSlot.buildPropertyDescriptor(Context cx)
The method exists avoid changing the getPropertyDescriptor signature and at the same time to
make it explicit that we don't use Scriptable scope parameter of getPropertyDescriptor, since
it can be problematic when called from inside ThreadSafeSlotMapContainer::compute lambda
which can lead to deadlocks.
|
protected static ScriptableObject |
ScriptableObject.ensureScriptableObject(Object arg) |
protected static ScriptableObject |
ScriptableObject.ensureScriptableObjectButNotSymbol(Object arg) |
static ScriptableObject |
ScriptRuntime.getGlobal(Context cx) |
static ScriptableObject |
ScriptRuntime.getLibraryScopeOrNull(Scriptable scope) |
protected ScriptableObject |
ScriptableObject.getOwnPropertyDescriptor(Context cx,
Object id) |
protected ScriptableObject |
NativeArray.getOwnPropertyDescriptor(Context cx,
Object id) |
protected ScriptableObject |
IdScriptableObject.getOwnPropertyDescriptor(Context cx,
Object id) |
ScriptableObject |
Context.initSafeStandardObjects()
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.initSafeStandardObjects(ScriptableObject scope,
boolean sealed)
Initialize the standard objects, leaving out those that offer access directly to Java
classes.
|
ScriptableObject |
Context.initStandardObjects()
Initialize the standard objects.
|
static ScriptableObject |
ScriptRuntime.initStandardObjects(Context cx,
ScriptableObject scope,
boolean sealed) |
ScriptableObject |
Context.initStandardObjects(ScriptableObject scope,
boolean sealed)
Initialize the standard objects.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ScriptRuntimeES6.addSymbolSpecies(Context cx,
Scriptable scope,
ScriptableObject constructor)
Registers the symbol
[Symbol.species] on the given constructor function. |
static void |
ScriptRuntimeES6.addSymbolUnscopables(Context cx,
Scriptable scope,
ScriptableObject constructor,
LazilyLoadedCtor value)
Registers the symbol
[Symbol.unscopables] on the given constructor function. |
boolean |
BuiltInSlot.PropDescriptionSetter.apply(U builtIn,
BuiltInSlot<U> current,
Object id,
ScriptableObject desc,
boolean checkValid,
Object key,
int index) |
protected static boolean |
NativeArray.arraySetLength(NativeArray builtIn,
BuiltInSlot<NativeArray> current,
Object id,
ScriptableObject desc,
boolean checkValid,
Object key,
int index) |
boolean |
ClassCache.associate(ScriptableObject topScope)
Associate ClassCache object with the given top-level scope.
|
protected void |
ScriptableObject.checkPropertyChangeForSlot(Object id,
Slot current,
ScriptableObject desc) |
protected void |
ScriptableObject.checkPropertyDefinition(ScriptableObject desc) |
protected static Object |
NativeJavaObject.createInterfaceAdapter(Class<?> type,
ScriptableObject so) |
void |
ScriptableObject.defineOwnProperties(Context cx,
ScriptableObject props)
Defines one or more properties on this object.
|
boolean |
ScriptableObject.defineOwnProperty(Context cx,
Object id,
ScriptableObject desc)
Defines a property on an object.
|
protected boolean |
ScriptableObject.defineOwnProperty(Context cx,
Object id,
ScriptableObject desc,
boolean checkValid)
Defines a property on an object.
|
protected boolean |
NativeArray.defineOwnProperty(Context cx,
Object id,
ScriptableObject desc,
boolean checkValid) |
protected boolean |
IdScriptableObject.defineOwnProperty(Context cx,
Object key,
ScriptableObject desc,
boolean checkValid) |
void |
LambdaConstructor.definePrototypeProperty(Context cx,
String name,
ScriptableObject descriptor) |
void |
LambdaConstructor.definePrototypeProperty(Context cx,
Symbol key,
ScriptableObject descriptor) |
protected static void |
ES6Iterator.init(ScriptableObject scope,
boolean sealed,
IdScriptableObject prototype,
String tag) |
static ScriptableObject |
ScriptRuntime.initSafeStandardObjects(Context cx,
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.initStandardObjects(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.
|
protected static boolean |
ScriptableObject.isAccessorDescriptor(ScriptableObject desc)
Implements IsAccessorDescriptor as described in ES5 8.10.1
|
protected static boolean |
ScriptableObject.isDataDescriptor(ScriptableObject desc)
Implements IsDataDescriptor as described in ES5 8.10.2
|
protected static boolean |
ScriptableObject.isGenericDescriptor(ScriptableObject desc)
Implements IsGenericDescriptor as described in ES5 8.10.3
|
void |
RegExpProxy.register(ScriptableObject scope,
boolean sealed) |
static void |
ScriptRuntime.setBuiltinProtoAndParent(ScriptableObject object,
Scriptable scope,
TopLevel.Builtins type) |
static void |
ScriptRuntime.setObjectProtoAndParent(ScriptableObject object,
Scriptable scope) |
void |
LambdaConstructor.setPrototypeScriptable(ScriptableObject proto)
Replace the default "Object" prototype with a prototype of a specific implementation.
|
| Constructor and Description |
|---|
LazilyLoadedCtor(ScriptableObject scope,
String propertyName,
boolean sealed,
boolean privileged,
Initializable initializer)
Create a constructor using a lambda function.
|
LazilyLoadedCtor(ScriptableObject scope,
String propertyName,
boolean sealed,
Initializable initializer,
boolean privileged)
Create a constructor using a lambda function.
|
LazilyLoadedCtor(ScriptableObject scope,
String propertyName,
String className,
boolean sealed)
Create a constructor that loads via reflection, looking for an "init" method on the class.
|
LazilyLoadedCtor(ScriptableObject scope,
String propertyName,
String className,
boolean sealed,
boolean privileged)
Create a constructor that loads via reflection, looking for an "init" method on the class.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ModuleScope
A top-level module scope.
|
class |
Require
Implements the require() function as defined by Common JS modules.
|
| Modifier and Type | Method and Description |
|---|---|
default TypeInfoFactory |
TypeInfoFactory.associate(ScriptableObject topScope)
Associate this TypeInfoFactory object with the given top-level scope.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NativeRegExp
This class implements the RegExp native object.
|
class |
NativeRegExpStringIterator |
| Modifier and Type | Method and Description |
|---|---|
static void |
NativeRegExpStringIterator.init(ScriptableObject scope,
boolean sealed) |
void |
RegExpImpl.register(ScriptableObject scope,
boolean sealed) |
| Modifier and Type | Class and 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.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Environment.defineClass(ScriptableObject scope) |
| Constructor and Description |
|---|
Environment(ScriptableObject scope) |
| Modifier and Type | Class and 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 |
NativeBigInt64Array
An array view that stores 64-bit quantities and implements the JavaScript "Float64Array"
interface.
|
class |
NativeBigIntArrayView |
class |
NativeBigUint64Array
An array view that stores 64-bit quantities and implements the JavaScript "Float64Array"
interface.
|
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 "Float32Array"
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.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
NativeTypedArrayView.defineOwnProperty(Context cx,
Object id,
ScriptableObject desc,
boolean checkValid) |
| Modifier and Type | Class and Description |
|---|---|
class |
XMLObject
This Interface describes what all XML objects (XML, XMLList) should have in common.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XMLLoader.load(ScriptableObject scope,
boolean sealed) |
Copyright © 2025 HtmlUnit. All rights reserved.