Package | Description |
---|---|
net.sourceforge.htmlunit.corejs.javascript | |
net.sourceforge.htmlunit.corejs.javascript.commonjs.module |
Provides the public API for the CommonJS Modules/1.1 implementation.
|
net.sourceforge.htmlunit.corejs.javascript.regexp | |
net.sourceforge.htmlunit.corejs.javascript.tools.shell | |
net.sourceforge.htmlunit.corejs.javascript.typedarrays | |
net.sourceforge.htmlunit.corejs.javascript.xml |
Modifier and Type | Class and Description |
---|---|
class |
BaseFunction
The base class for Function objects
See ECMA 15.3.
|
class |
BoundFunction
The class for results of the Function.bind operation
EcmaScript 5 spec, 15.3.4.5
|
class |
FunctionObject |
class |
IdFunctionObject |
class |
IdScriptableObject
Base class for native object implementation that uses IdFunctionObject to export its methods to script via
|
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 |
NativeArray
This class implements the Array 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 |
NativeContinuation |
class |
NativeFunction
This class implements the Function native object.
|
class |
NativeGenerator
This class implements generator objects.
|
class |
NativeIterator
This class implements iterator objects.
|
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 |
NativeObject
This class implements the Object native object.
|
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 |
---|---|
protected static ScriptableObject |
ScriptableObject.buildDataDescriptor(Scriptable scope,
java.lang.Object value,
int attributes) |
protected static ScriptableObject |
ScriptableObject.ensureScriptableObject(java.lang.Object arg) |
static ScriptableObject |
ScriptRuntime.getGlobal(Context cx) |
static ScriptableObject |
ScriptRuntime.getLibraryScopeOrNull(Scriptable scope) |
protected ScriptableObject |
ScriptableObject.getOwnPropertyDescriptor(Context cx,
java.lang.Object id) |
protected ScriptableObject |
NativeArray.getOwnPropertyDescriptor(Context cx,
java.lang.Object id) |
protected ScriptableObject |
IdScriptableObject.getOwnPropertyDescriptor(Context cx,
java.lang.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 |
---|---|
protected int |
ScriptableObject.applyDescriptorToAttributeBitset(int attributes,
ScriptableObject desc) |
boolean |
ClassCache.associate(ScriptableObject topScope)
Associate ClassCache object with the given top-level scope.
|
protected void |
ScriptableObject.checkPropertyChange(java.lang.String id,
ScriptableObject current,
ScriptableObject desc) |
protected void |
ScriptableObject.checkPropertyDefinition(ScriptableObject desc) |
protected static java.lang.Object |
NativeJavaObject.createInterfaceAdapter(java.lang.Class<?> type,
ScriptableObject so) |
void |
ScriptableObject.defineOwnProperties(Context cx,
ScriptableObject props)
Defines one or more properties on this object.
|
void |
ScriptableObject.defineOwnProperty(Context cx,
java.lang.Object id,
ScriptableObject desc)
Defines a property on an object.
|
void |
IdScriptableObject.defineOwnProperty(Context cx,
java.lang.Object key,
ScriptableObject desc) |
protected void |
ScriptableObject.defineOwnProperty(Context cx,
java.lang.Object id,
ScriptableObject desc,
boolean checkValid)
Defines a property on an object.
|
protected void |
NativeArray.defineOwnProperty(Context cx,
java.lang.Object id,
ScriptableObject desc,
boolean checkValid) |
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 boolean |
ScriptableObject.isAccessorDescriptor(ScriptableObject desc)
Implements IsAccessorDescriptor as described in ES5 8.10.1
|
protected boolean |
ScriptableObject.isDataDescriptor(ScriptableObject desc)
Implements IsDataDescriptor as described in ES5 8.10.2
|
protected boolean |
ScriptableObject.isGenericDescriptor(ScriptableObject desc)
Implements IsGenericDescriptor as described in ES5 8.10.3
|
static void |
ScriptRuntime.setBuiltinProtoAndParent(ScriptableObject object,
Scriptable scope,
TopLevel.Builtins type) |
static void |
ScriptRuntime.setObjectProtoAndParent(ScriptableObject object,
Scriptable scope) |
Constructor and Description |
---|
LazilyLoadedCtor(ScriptableObject scope,
java.lang.String propertyName,
java.lang.String className,
boolean sealed) |
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 | Class and Description |
---|---|
class |
NativeRegExp
This class implements the RegExp native object.
|
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 |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
XMLObject
This Interface describes what all XML objects (XML, XMLList) should have in common.
|