Package org.htmlunit.corejs.javascript
package org.htmlunit.corejs.javascript
-
ClassDescriptionAbstract Object Operations as defined by EcmaScriptThis is a specialization of Slot to store various types of values that are retrieved dynamically using Java and JavaScript functions.This is a getter that delegates to a JavaScript function.Invoke the setter as a JavaScript function, taking care that it might actually be Undefined.This is a Getter that delegates to a Java function via a MemberBox.Invoke the setter on this slot via reflection using MemberBox.This class implements the "arguments" object.The class for Arrow Function Definitions EcmaScript 6 Rev 14, March 8, 2013 Draft spec , 13.2The base class for Function objects.The class for results of the Function.bind operation EcmaScript 5 spec, 15.3.4.5Generic notion of callable object that can execute some script-related code upon request with specified values for script scope and this objects.Cache of generated classes and data structures to access Java runtime from JavaScript.CacheKey is a combination of class and securityContext.Embeddings that wish to filter Java classes that are visible to scripts through the LiveConnect, should implement this interface.Generates bytecode for the Interpreter.This class represents a string composed of two components, each of which may be a
java.lang.String
or another ConsString.An interface that can be used to implement a constructor function as a lambda.This class represents the runtime context of an executing script.Interface to represent arbitrary action that requires to have Context object associated with the current thread for its execution.Factory class that Rhino runtime uses to create newContext
instances.Listener ofContext
creation and release events.Deprecated.Exception thrown byContext.executeScriptWithContinuations(Script, Scriptable)
andContext.callFunctionWithContinuations(Callable, Scriptable, Object[])
when execution encounters a continuation captured byContext.captureContinuation()
.The following class save decompilation information about the source.This is the default error reporter for JavaScript.Load generated classes.This is a helper class for implementing wrappers around Scriptable objects.The class of exceptions raised by the engine as described in ECMA edition 3.An object that implements deep equality test of objects, including their reference graph topology, that is in addition to establishing by-value equality of objects, it also establishes that their reachable object graphs have identical shape.This is interface defines a protocol for the reporting of errors during JavaScript translation or execution.Abstraction of evaluation, which can be implemented either by an interpreter or compiler.The class of exceptions thrown by the JavaScript engine.Implement this interface in order to allow external data to be attached to a ScriptableObject.This is interface that all functions in JavaScript must implement.Interface to define classes from generated byte code.This class implements the SlotMap interface using a java.util.HashMap.This generic hash table class is used by Set and Map.One entry in the hash table.Additional interpreter-specific codesMaster for id-based functions that knows their properties and how to execute them.Base class for native object implementation that uses IdFunctionObject to export its methods to script via <class-name>.prototype object.This class is a singleton that just exists to serve up the implementation version.Class ImporterTopLevelAdapter to use JS function as implementation of Java interfaces with single method or multiple methods with the same signature.Class to hold data corresponding to one interpreted call stack frame.This class rewrites the parse tree into an IR suitable for codegen.This is a class that makes it easier to iterate over "iterator-like" objects as defined in the ECMAScript spec.Provides a key with which to distinguish previously generated adapter classes stored in a hash table.Version ofJavaMembers
for modular JDKs.Java reflection of JavaScript exceptions.This class provides implementations of converters for Java objects to be used by the JSON.stringify method.Collection of utilitiesThis 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.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.This is a specialization of property access using some lambda functions.Avoid loading classes unless they are used.This is a specialization of Slot to store values that are retrieved via calls to script functions.Wrapper class for Method and Constructor instances to cache getParameterTypes() results, recover from IllegalAccessException in some cases and provide serialization support.This class implements the Array native object.This class implements the BigInt native object.This class implements the Boolean native object.This class implements the activation object.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.This class implements the Date native object.The class of error objectsWe will attch this object to the constructor and use it solely to store the constructor properties that are "global." We can't make them static because there can be many contexts in the same JVM.This class implements the Function native object.This class implements generator objects.This class implements the global native object (function and value properties only).This class implements iterator objects.This class reflects Java arrays into the JavaScript environment.This class reflects Java classes into the JavaScript environment, mainly for constructors and static members.This class reflects a single Java constructor into the JavaScript environment.NativeJavaList
is a wrapper for java objects implementingjava.util.List
interface.NativeJavaMap
is a wrapper for java objects implementingjava.util.Map
interface.This class reflects Java methods into the JavaScript environment and handles overloading of methods.This class reflects non-Array Java objects into the JavaScript environment.This class reflects Java packages into the JavaScript environment.This class reflects Java packages into the JavaScript environment.This class implements the JSON native object.This class implements the Math native object.This class implements the Number native object.This class implements the Object native object.This class implements the Proxy object.This class implements the Reflect object.The JavaScript Script object.This class implements the String native object.This is an implementation of the standard "Symbol" type that implements all of its weird properties.This is an implementation of the ES6 WeakMap class.This is an implementation of the ES6 WeakSet class.This class implements the object lookup required for thewith
statement.This class implements the root of the intermediate representation.This class transforms a tree to a lower-level representation for codegen.Implementation of resizable array with focus on minimizing memory usage by storing few initial array elements in object fields.Map to associate objects to integers.This class implements the JavaScript parser.A security controller relying on JavaPolicy
in effect.Generic notion of reference object that know how to query/modify the target objects based on some property/index.Object that can allows assignments to the result of function calls.A proxy for the regexp package, so that the regexp package can be loaded optionally.The class of exceptions thrown by the JavaScript engine.Ajava.lang.SecurityManager
subclass that provides access to the current top-most script class on the execution stack.All compiled scripts implement this interface.This is interface that all objects in JavaScript must implement.This is the default implementation of the Scriptable interface.This comparator sorts property fields in spec-compliant order.This is the class that implements the runtime.This is the enumeration needed by the for..in statement.This is an interface defining a message provider.Helper to return a string or an integer.This class represents an element on the script execution stack.This class describes the support needed to implement security.A Slot is the base class for all properties stored in the ScriptableObject class.A SlotMap is an interface to the main data structure that contains all the "Slots" that back a ScriptableObject.This class holds the various SlotMaps of various types, and knows how to atomically switch between them when we need to so that we use the right data structure at the right time.This class distinguishes between the three different supported stack trace formats.A Symbol is a JavaScript objecy that obeys the special properties of the Symbol prototype.A SymbolKey is one of the implementations of Symbol.This interface may be combined with any object that implements Scriptable to add support for properties keyed by Symbol objects (as opposed to String and number objects as in previous versions of JavaScript.This class provides support for implementing Java-style synchronized methods in Javascript.This class extends the SlotMapContainer so that we have thread-safe access to all the properties of an object.This class implements the JavaScript scanner.This class implements the JavaScript scanner.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.An enumeration of built-in ECMAScript objects.An enumeration of built-in native errors.Map to associate non-negative integers to objects or integers.This class implements the Undefined value in JavaScript.This class is responsible for handling tracking of unhandled Promise rejections.Class instances represent serializable tags to mark special Object values.Embeddings that wish to provide their own custom wrappings for Java objects may extend this class and callContext.setWrapFactory(WrapFactory)
Once an instance of this class or an extension of this class is enabled for a given context (by calling setWrapFactory on that context), Rhino will call the methods of this class whenever it needs to wrap a value resulting from a call to a Java method or an access to a Java field.A wrapper for runtime exceptions.Objects that can wrap other values for reflection in the JS environment will implement Wrapper.
Context
instances should implementContextFactory.Listener
.