Uses of Interface
org.htmlunit.corejs.javascript.Scriptable
Packages that use Scriptable
Package
Description
-
Uses of Scriptable in org.htmlunit.corejs.javascript
Subinterfaces of Scriptable in org.htmlunit.corejs.javascriptModifier and TypeInterfaceDescriptioninterfaceThis is interface that all functions in JavaScript must implement.Classes in org.htmlunit.corejs.javascript that implement ScriptableModifier and TypeClassDescription(package private) classThis class implements the "arguments" object.private static classclassThe class for Arrow Function Definitions EcmaScript 6 Rev 14, March 8, 2013 Draft spec , 13.2classThe base class for Function objects.classThe class for results of the Function.bind operation EcmaScript 5 spec, 15.3.4.5classThis is a helper class for implementing wrappers around Scriptable objects.final classclass(package private) classclassclassclassclassBase class for native object implementation that uses IdFunctionObject to export its methods to script via <class-name>.prototype object.classClass ImporterTopLevel(package private) final classclassThis 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.classThis 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.classThis class implements the Array native object.final class(package private) final classThis class implements the BigInt native object.(package private) final classThis class implements the Boolean native object.final classThis class implements the activation object.classThis 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.classclassfinal class(package private) final classThis class implements the Date native object.(package private) final classThe class of error objectsclassThis class implements the Function native object.final classThis class implements generator objects.final classThis class implements iterator objects.static classclassThis class reflects Java arrays into the JavaScript environment.classThis class reflects Java classes into the JavaScript environment, mainly for constructors and static members.classThis class reflects a single Java constructor into the JavaScript environment.classNativeJavaListis a wrapper for java objects implementingjava.util.Listinterface.classNativeJavaMapis a wrapper for java objects implementingjava.util.Mapinterface.private static final classclassThis class reflects Java methods into the JavaScript environment and handles overloading of methods.classThis class reflects non-Array Java objects into the JavaScript environment.private static final classclassThis class reflects Java packages into the JavaScript environment.classThis class reflects Java packages into the JavaScript environment.final classThis class implements the JSON native object.class(package private) final classThis class implements the Math native object.(package private) final classThis class implements the Number native object.classThis class implements the Object native object.class(package private) final classThis class implements the Proxy object.(package private) final classThis class implements the Reflect object.(package private) classThe JavaScript Script object.class(package private) final classThis class implements the String native object.final classclassThis is an implementation of the standard "Symbol" type that implements all of its weird properties.classThis is an implementation of the ES6 WeakMap class.classThis is an implementation of the ES6 WeakSet class.classThis class implements the object lookup required for thewithstatement.classThis is the default implementation of the Scriptable interface.classThis class provides support for implementing Java-style synchronized methods in Javascript.classA 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 ScriptableModifier and TypeFieldDescriptionprivate ScriptableNativeArrayIterator.arrayLikeprivate ScriptableClassCache.associatedScopeprivate final ScriptableArrowFunction.boundThisprivate final ScriptableBoundFunction.boundThisprivate ScriptableNativeProxy.handlerObjprivate final ScriptableIteratorLikeIterable.iterator(package private) ScriptableScriptRuntime.IdEnumeration.iteratorprotected ScriptableDelegator.obj(package private) ScriptableScriptRuntime.IdEnumeration.objprotected ScriptableNativeJavaObject.parentThe parent scope of this object.protected ScriptableNativeWith.parentprivate ScriptableScriptableObject.parentScopeObjectThe parent scope of this object.protected ScriptableNativeJavaObject.prototypeThe prototype of this object.protected ScriptableNativeWith.prototypeprivate ScriptableScriptableObject.prototypeObjectThe prototype of this object.(package private) ScriptableInterpreter.CallFrame.scopeprivate final ScriptableIteratorLikeIterable.scopeprivate ScriptableNativeIterator.WrappedJavaIterator.scope(package private) ScriptableNativeJSON.StringifyState.scope(package private) ScriptableContext.scratchScriptablestatic final ScriptableUndefined.SCRIPTABLE_UNDEFINEDAn alternate representation of undefined, to be used only when we need to pass it to a method that takes as Scriptable as a parameter.private ScriptableSpecialRef.target(package private) final ScriptableInterpreter.CallFrame.thisObj(package private) ScriptableNativePromise.PromiseAllResolver.thisObj(package private) ScriptableContext.topCallScopeFields in org.htmlunit.corejs.javascript with type parameters of type ScriptableModifier and TypeFieldDescriptionprivate WeakHashMap<Scriptable, Object> NativeWeakMap.mapprivate WeakHashMap<Scriptable, Boolean> NativeWeakSet.mapstatic final Class<Scriptable> ScriptRuntime.ScriptableClassMethods in org.htmlunit.corejs.javascript with type parameters of type ScriptableModifier and TypeMethodDescription(package private) static <T extends Scriptable>
BaseFunctionScriptableObject.buildClassCtor(Scriptable scope, Class<T> clazz, boolean sealed, boolean mapInheritance) static <T extends Scriptable>
voidScriptableObject.defineClass(Scriptable scope, Class<T> clazz) Defines JavaScript objects from a Java class that implements Scriptable.static <T extends Scriptable>
voidScriptableObject.defineClass(Scriptable scope, Class<T> clazz, boolean sealed) Defines JavaScript objects from a Java class, optionally allowing sealing.static <T extends Scriptable>
StringScriptableObject.defineClass(Scriptable scope, Class<T> clazz, boolean sealed, boolean mapInheritance) Defines JavaScript objects from a Java class, optionally allowing sealing and mapping of Java inheritance to JavaScript prototype-based inheritance.private static <T extends Scriptable>
Class<T> ScriptableObject.extendsScriptable(Class<?> c) Methods in org.htmlunit.corejs.javascript that return ScriptableModifier and TypeMethodDescriptionstatic ScriptableScriptRuntime.bind(Context cx, Scriptable scope, String id) Returns the object in the scope chain that has a given property.private static ScriptableNativeArray.callConstructorOrCreateArray(Context cx, Scriptable scope, Scriptable arg, long length, boolean lengthAlways) (package private) static ScriptableScriptRuntime.checkDynamicScope(Scriptable possibleDynamicScope, Scriptable staticTopScope) ReturnpossibleDynamicScopeifstaticTopScopeis present on its prototype chain and returnstaticTopScopeotherwise.ArrowFunction.construct(Context cx, Scriptable scope, Object[] args) BaseFunction.construct(Context cx, Scriptable scope, Object[] args) BoundFunction.construct(Context cx, Scriptable scope, Object[] extraArgs) Constructable.construct(Context cx, Scriptable scope, Object[] args) Call the function as a constructor.Delegator.construct(Context cx, Scriptable scope, Object[] args) Note that if thedelegeeisnull, this method creates a new instance of the Delegator itself rather than forwarding the call to thedelegee.Function.construct(Context cx, Scriptable scope, Object[] args) Call the function as a constructor.LambdaConstructor.construct(Context cx, Scriptable scope, Object[] args) LambdaFunction.construct(Context cx, Scriptable scope, Object[] args) NativeContinuation.construct(Context cx, Scriptable scope, Object[] args) NativeJavaClass.construct(Context cx, Scriptable scope, Object[] args) NativeJavaTopPackage.construct(Context cx, Scriptable scope, Object[] args) NativeProxy.construct(Context cx, Scriptable scope, Object[] args) see https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-construct-argumentslist-newtargetprivate static ScriptableNativeReflect.construct(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) see https://262.ecma-international.org/12.0/#sec-reflect.constructNativeScript.construct(Context cx, Scriptable scope, Object[] args) private static ScriptableNativePromise.constructor(Context cx, Scriptable scope, Object[] args) (package private) static ScriptableNativeJavaClass.constructSpecific(Context cx, Scriptable scope, Object[] args, MemberBox ctor) static ScriptableJavaAdapter.createAdapterWrapper(Scriptable obj, Object adapter) static ScriptableScriptRuntime.createArrowFunctionActivation(NativeFunction funObj, Context cx, Scriptable scope, Object[] args, boolean isStrict, boolean argsHasRest) static ScriptableScriptRuntime.createArrowFunctionActivation(NativeFunction funObj, Scriptable scope, Object[] args, boolean isStrict) Deprecated.static ScriptableScriptRuntime.createFunctionActivation(NativeFunction funObj, Context cx, Scriptable scope, Object[] args, boolean isStrict, boolean argsHasRest) static ScriptableScriptRuntime.createFunctionActivation(NativeFunction funObj, Scriptable scope, Object[] args) static ScriptableScriptRuntime.createFunctionActivation(NativeFunction funObj, Scriptable scope, Object[] args, boolean isStrict) BaseFunction.createObject(Context cx, Scriptable scope) Creates new script object.FunctionObject.createObject(Context cx, Scriptable scope) Return newScriptableinstance using the default constructor for the class of the underlying Java method.IdFunctionObject.createObject(Context cx, Scriptable scope) protected static ScriptableScriptableObject.ensureScriptable(Object arg) static ScriptableScriptRuntime.enterDotQuery(Object value, Scriptable scope) static ScriptableScriptRuntime.enterWith(Object obj, Context cx, Scriptable scope) private static ScriptableNativeArray.flat(Context cx, Scriptable scope, Scriptable source, double depth) static ScriptableScriptableObject.getArrayPrototype(Scriptable scope) (package private) ScriptableClassCache.getAssociatedScope()(package private) static ScriptableScriptableObject.getBase(Scriptable start, int index) (package private) static ScriptableScriptableObject.getBase(Scriptable start, String name) private static ScriptableScriptableObject.getBase(Scriptable start, Symbol key) static ScriptableTopLevel.getBuiltinPrototype(Scriptable scope, TopLevel.Builtins type) Static helper method to get a built-in object prototype with the giventypefrom the givenscope.TopLevel.getBuiltinPrototype(TopLevel.Builtins type) Get the cached built-in object prototype from this scope with the giventype.protected ScriptableBaseFunction.getClassPrototype()static ScriptableScriptableObject.getClassPrototype(Scriptable scope, String className) Get the prototype for the named class.private static ScriptableNativeObject.getCompatibleObject(Context cx, Scriptable scope, Object arg) Delegator.getDelegee()Retrieve the delegee.EcmaError.getErrorObject()Deprecated.Always returns null.static ScriptableScriptableObject.getFunctionPrototype(Scriptable scope) Get the Function.prototype property.static ScriptableScriptableObject.getGeneratorFunctionPrototype(Scriptable scope) static ScriptableScriptableObject.getObjectPrototype(Scriptable scope) Get the Object.prototype property.private static ScriptableNativeReflect.getOwnPropertyDescriptor(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Delegator.getParentScope()NativeJavaObject.getParentScope()Returns the parent (enclosing) scope of the object.NativeWith.getParentScope()Scriptable.getParentScope()Get the parent scope of the object.ScriptableObject.getParentScope()Returns the parent (enclosing) scope of the object.Delegator.getPrototype()IdFunctionObject.getPrototype()NativeJavaArray.getPrototype()NativeJavaObject.getPrototype()NativeProxy.getPrototype()see https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-getprototypeofNativeWith.getPrototype()Scriptable.getPrototype()Get the prototype of the object.ScriptableObject.getPrototype()Returns the prototype of the object.private static ScriptableNativeReflect.getPrototypeOf(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) static ScriptableScriptRuntime.getTemplateLiteralCallSite(Context cx, Scriptable scope, Object[] strings, int index) static ScriptableScriptRuntime.getTopCallScope(Context cx) static ScriptableScriptableObject.getTopLevelScope(Scriptable obj) Get the global scope.final ScriptableContext.initSafeStandardObjects(ScriptableObject scope) Initialize the standard objects, leaving out those that offer access directly to Java classes.final ScriptableContext.initStandardObjects(ScriptableObject scope) Initialize the standard objects.private static ScriptableNativeArray.js_concat(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private ScriptableNativeJavaTopPackage.js_getClass(Context cx, Scriptable scope, Object[] args) private static ScriptableNativeArray.js_reverse(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) See ECMA 15.4.4.4private static ScriptableNativeArray.js_slice(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ScriptableNativeArray.js_sort(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) See ECMA 15.4.4.5static ScriptableScriptRuntime.lastStoredScriptable(Context cx) static ScriptableScriptRuntime.leaveDotQuery(Scriptable scope) static ScriptableScriptRuntime.leaveWith(Scriptable scope) (package private) static ScriptableES6Iterator.makeIteratorResult(Context cx, Scriptable scope, Boolean done) (package private) static ScriptableES6Iterator.makeIteratorResult(Context cx, Scriptable scope, Boolean done, Object value) Context.newArray(Scriptable scope, int length) Create an array with a specified initial length.Context.newArray(Scriptable scope, Object[] elements) Create an array with a set of initial elements.static ScriptableScriptRuntime.newArrayLiteral(Object[] objects, int[] skipIndices, Context cx, Scriptable scope) static ScriptableScriptRuntime.newBuiltinObject(Context cx, Scriptable scope, TopLevel.Builtins type, Object[] args) static ScriptableScriptRuntime.newCatchScope(Throwable t, Scriptable lastCatchScope, String exceptionName, Context cx, Scriptable scope) (package private) static ScriptableScriptRuntime.newNativeError(Context cx, Scriptable scope, TopLevel.NativeErrors type, Object[] args) Context.newObject(Scriptable scope) Create a new JavaScript object.Context.newObject(Scriptable scope, String constructorName) Create a new JavaScript object by executing the named constructor.Context.newObject(Scriptable scope, String constructorName, Object[] args) Creates a new JavaScript object by executing the named constructor.static ScriptableScriptRuntime.newObject(Object fun, Context cx, Scriptable scope, Object[] args) Operator new.static ScriptableScriptRuntime.newObject(Context cx, Scriptable scope, String constructorName, Object[] args) static ScriptableScriptRuntime.newObjectLiteral(Object[] propertyIds, Object[] propertyValues, int[] getterSetters, Context cx, Scriptable scope) static ScriptableScriptRuntime.newObjectLiteral(Object[] propertyIds, Object[] propertyValues, Context cx, Scriptable scope) Deprecated.private static ScriptableNativeReflect.ownKeys(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private ScriptableES6Generator.resumeAbruptLocal(Context cx, Scriptable scope, int op, Object value) private ScriptableES6Generator.resumeDelegee(Context cx, Scriptable scope, Object value) private ScriptableES6Generator.resumeDelegeeReturn(Context cx, Scriptable scope, Object value) private ScriptableES6Generator.resumeDelegeeThrow(Context cx, Scriptable scope, Object value) private ScriptableES6Generator.resumeLocal(Context cx, Scriptable scope, Object value) static Scriptablestatic ScriptableScriptRuntime.toIterator(Context cx, Scriptable scope, Scriptable obj, boolean keyOnly) static ScriptableContext.toObject(Object value, Scriptable scope) Convert the value to an JavaScript object value.static ScriptableContext.toObject(Object value, Scriptable scope, Class<?> staticType) Deprecated.static ScriptableScriptRuntime.toObject(Context cx, Scriptable scope, Object val) Convert the value to an object.static ScriptableScriptRuntime.toObject(Context cx, Scriptable scope, Object val, Class<?> staticClass) Deprecated.UseScriptRuntime.toObject(Context, Scriptable, Object)instead.static ScriptableScriptRuntime.toObject(Scriptable scope, Object val) static ScriptableScriptRuntime.toObject(Scriptable scope, Object val, Class<?> staticClass) Deprecated.UseScriptRuntime.toObject(Scriptable, Object)instead.static ScriptableScriptRuntime.toObjectOrNull(Context cx, Object obj) Deprecated.static ScriptableScriptRuntime.toObjectOrNull(Context cx, Object obj, Scriptable scope) WrapFactory.wrapAsJavaObject(Context cx, Scriptable scope, Object javaObject, Class<?> staticType) Wrap Java object as Scriptable instance to allow full access to its methods and fields from JavaScript.static ScriptableScriptRuntime.wrapException(Throwable t, Scriptable scope, Context cx) WrapFactory.wrapJavaClass(Context cx, Scriptable scope, Class<?> javaClass) Wrap a Java class as Scriptable instance to allow access to its static members and fields and use as constructor from JavaScript.WrapFactory.wrapNewObject(Context cx, Scriptable scope, Object obj) Wrap an object newly created by a constructor call.RegExpProxy.wrapRegExp(Context cx, Scriptable scope, Object compiled) static ScriptableScriptRuntime.wrapRegExp(Context cx, Scriptable scope, Object compiled) Methods in org.htmlunit.corejs.javascript that return types with arguments of type ScriptableMethods in org.htmlunit.corejs.javascript with parameters of type ScriptableModifier and TypeMethodDescriptionprivate static ObjectNativeMath.abs(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeMath.acos(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeMath.acosh(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) RegExpProxy.action(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, int actionType) voidFunctionObject.addAsConstructor(Scriptable scope, Scriptable prototype) Define this function as a JavaScript constructor.voidFunctionObject.addAsConstructor(Scriptable scope, Scriptable prototype, int attributes) Define this function as a JavaScript constructor.final voidIdFunctionObject.addAsProperty(Scriptable target) protected voidIdScriptableObject.addIdFunctionProperty(Scriptable obj, Object tag, int id, String name, int arity) static voidScriptRuntimeES6.addSymbolSpecies(Context cx, Scriptable scope, IdScriptableObject constructor) Registers the symbol[Symbol.species]on the given constructor function.private static ObjectNativePromise.all(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativePromise.allSettled(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeReflect.apply(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) protected intScriptableObject.applyDescriptorToAttributeBitset(int attributes, Scriptable desc) static ObjectScriptRuntime.applyOrCall(boolean isApply, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Function.prototype.apply and Function.prototype.callAccessorSlot.FunctionGetter.asGetterFunction(String name, Scriptable scope) AccessorSlot.Getter.asGetterFunction(String name, Scriptable scope) AccessorSlot.MemberBoxGetter.asGetterFunction(String name, Scriptable scope) (package private) FunctionMemberBox.asGetterFunction(String name, Scriptable scope) Function returned by calls to __lookupGetter__private static ObjectNativeMath.asin(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeMath.asinh(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) AccessorSlot.FunctionSetter.asSetterFunction(String name, Scriptable scope) AccessorSlot.MemberBoxSetter.asSetterFunction(String name, Scriptable scope) AccessorSlot.Setter.asSetterFunction(String name, Scriptable scope) (package private) FunctionMemberBox.asSetterFunction(String name, Scriptable scope) Function returned by calls to __lookupSetter__private static ObjectNativeMath.atan(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeMath.atan2(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeMath.atanh(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) static ScriptableScriptRuntime.bind(Context cx, Scriptable scope, String id) Returns the object in the scope chain that has a given property.(package private) static <T extends Scriptable>
BaseFunctionScriptableObject.buildClassCtor(Scriptable scope, Class<T> clazz, boolean sealed, boolean mapInheritance) protected static ScriptableObjectScriptableObject.buildDataDescriptor(Scriptable scope, Object value, int attributes) voidTopLevel.cacheBuiltins(Scriptable scope, boolean sealed) Cache the built-in ECMAScript objects to protect them against modifications by the script.Arguments.ThrowTypeError.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) ArrowFunction.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) BaseFunction.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Should be overridden.BoundFunction.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] extraArgs) Callable.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Perform the call.static ObjectContext.call(ContextFactory factory, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args) CallCallable.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args)using the Context instance associated with the current thread.Delegator.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Function.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Call the function.FunctionObject.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Performs conversions on argument types if needed and invokes the underlying Java method or constructor.IdFunctionObject.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) InterpretedFunction.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Calls the function.LambdaConstructor.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) LambdaFunction.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeContinuation.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeJavaClass.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeJavaConstructor.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeJavaMethod.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeJavaTopPackage.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeProxy.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) see https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-call-thisargument-argumentslistNativeProxy.Revoker.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeScript.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) abstract ObjectPolicySecurityController.SecureCaller.call(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) static ObjectDeprecated.The method is only present for compatibility.ScriptRuntime.NoSuchMethodShim.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Perform the call.abstract ObjectSecureCaller.call(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Synchronizer.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ScriptableNativeArray.callConstructorOrCreateArray(Context cx, Scriptable scope, Scriptable arg, long length, boolean lengthAlways) Context.callFunctionWithContinuations(Callable function, Scriptable scope, Object[] args) Call function that may pause execution by capturing a continuation.static ObjectScriptRuntime.callIterator(Object obj, Context cx, Scriptable scope) Given an object, get the "Symbol.iterator" element, throw a TypeError if it is not present, then call the result, (throwing a TypeError if the result is not a function), and return that result, whatever it is.static ObjectJavaAdapter.callMethod(ContextFactory factory, Scriptable thisObj, Function f, Object[] args, long argsToWrap) Utility method which dynamically binds a Context to the current thread, if none already exists.static ObjectScriptableObject.callMethod(Context cx, Scriptable obj, String methodName, Object[] args) Call a method of an object.static ObjectScriptableObject.callMethod(Scriptable obj, String methodName, Object[] args) Call a method of an object.static RefScriptRuntime.callRef(Callable function, Scriptable thisObj, Object[] args, Context cx) Perform function call in reference context.private ObjectES6Generator.callReturnOptionally(Context cx, Scriptable scope, Object value) (package private) static ObjectSecureCaller.callSecurely(CodeSource codeSource, Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Call the specified callable using a protection domain belonging to the specified code source.static ObjectScriptRuntime.callSpecial(Context cx, Callable fun, Scriptable thisObj, Object[] args, Scriptable scope, Scriptable callerThis, int callType, String filename, int lineNumber) private voidNativePromise.callThenable(Context cx, Scriptable scope, Object resolution, Callable thenFunc) PolicySecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args) SecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args) CallCallable.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args)of callable under restricted security domain where an action is allowed only if it is allowed according to the Java stack on the moment of the execWithDomain call and securityDomain.private static ObjectNativeMath.cbrt(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeMath.ceil(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) (package private) static ScriptableScriptRuntime.checkDynamicScope(Scriptable possibleDynamicScope, Scriptable staticTopScope) ReturnpossibleDynamicScopeifstaticTopScopeis present on its prototype chain and returnstaticTopScopeotherwise.private static ObjectNativeMath.clz32(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) final FunctionContext.compileFunction(Scriptable scope, String source, String sourceName, int lineno, Object securityDomain) Compile a JavaScript function.protected FunctionContext.compileFunction(Scriptable scope, String source, Evaluator compiler, ErrorReporter compilationErrorReporter, String sourceName, int lineno, Object securityDomain) protected ObjectContext.compileImpl(Scriptable scope, String sourceString, String sourceName, int lineno, Object securityDomain, boolean returnFunction, Evaluator compiler, ErrorReporter compilationErrorReporter) final ScriptContext.compileReader(Scriptable scope, Reader in, String sourceName, int lineno, Object securityDomain) Deprecated.private static longNativeArray.concatSpreadArg(Context cx, Scriptable result, Scriptable arg, long offset) ArrowFunction.construct(Context cx, Scriptable scope, Object[] args) BaseFunction.construct(Context cx, Scriptable scope, Object[] args) BoundFunction.construct(Context cx, Scriptable scope, Object[] extraArgs) Constructable.construct(Context cx, Scriptable scope, Object[] args) Call the function as a constructor.Delegator.construct(Context cx, Scriptable scope, Object[] args) Note that if thedelegeeisnull, this method creates a new instance of the Delegator itself rather than forwarding the call to thedelegee.Function.construct(Context cx, Scriptable scope, Object[] args) Call the function as a constructor.LambdaConstructor.construct(Context cx, Scriptable scope, Object[] args) LambdaFunction.construct(Context cx, Scriptable scope, Object[] args) NativeContinuation.construct(Context cx, Scriptable scope, Object[] args) NativeJavaClass.construct(Context cx, Scriptable scope, Object[] args) NativeJavaTopPackage.construct(Context cx, Scriptable scope, Object[] args) NativeProxy.construct(Context cx, Scriptable scope, Object[] args) see https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-construct-argumentslist-newtargetprivate static ScriptableNativeReflect.construct(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) see https://262.ecma-international.org/12.0/#sec-reflect.constructNativeScript.construct(Context cx, Scriptable scope, Object[] args) static NativeSymbolNativeSymbol.construct(Context cx, Scriptable scope, Object[] args) Use this when we need to create symbols internally because of the convoluted way we have to construct them.static EcmaErrorNativeGlobal.constructError(Context cx, String error, String message, Scriptable scope) Deprecated.UseScriptRuntime.constructError(String,String)instead.static EcmaErrorNativeGlobal.constructError(Context cx, String error, String message, Scriptable scope, String sourceName, int lineNumber, int columnNumber, String lineSource) Deprecated.private static ScriptableNativePromise.constructor(Context cx, Scriptable scope, Object[] args) private static NativeProxyNativeProxy.constructor(Context cx, Scriptable scope, Object[] args) (package private) static ScriptableNativeJavaClass.constructSpecific(Context cx, Scriptable scope, Object[] args, MemberBox ctor) static ObjectFunctionObject.convertArg(Context cx, Scriptable scope, Object arg, int typeTag) static ObjectFunctionObject.convertArg(Context cx, Scriptable scope, Object arg, Class<?> desired) Deprecated.UseFunctionObject.getTypeTag(Class)andFunctionObject.convertArg(Context, Scriptable, Object, int)for type conversion.static <T> TLambdaConstructor.convertThisObject(Scriptable thisObj, Class<T> targetClass) A convenience method to convert JavaScript's "this" object into a target class and throw a TypeError if it does not match.private static ObjectNativeMath.cos(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeMath.cosh(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private voidNativeConsole.count(Context cx, Scriptable scope, Object[] args) private voidNativeConsole.countReset(Context cx, Scriptable scope, Object[] args) static ScriptableJavaAdapter.createAdapterWrapper(Scriptable obj, Object adapter) static ScriptableScriptRuntime.createArrowFunctionActivation(NativeFunction funObj, Context cx, Scriptable scope, Object[] args, boolean isStrict, boolean argsHasRest) static ScriptableScriptRuntime.createArrowFunctionActivation(NativeFunction funObj, Scriptable scope, Object[] args, boolean isStrict) (package private) static InterpretedFunctionInterpretedFunction.createFunction(Context cx, Scriptable scope, InterpretedFunction parent, int index) Create function embedded in script or another function.(package private) static InterpretedFunctionInterpretedFunction.createFunction(Context cx, Scriptable scope, InterpreterData idata, Object staticSecurityDomain) Create function compiled from Function(...) constructor.static ScriptableScriptRuntime.createFunctionActivation(NativeFunction funObj, Context cx, Scriptable scope, Object[] args, boolean isStrict, boolean argsHasRest) static ScriptableScriptRuntime.createFunctionActivation(NativeFunction funObj, Scriptable scope, Object[] args) static ScriptableScriptRuntime.createFunctionActivation(NativeFunction funObj, Scriptable scope, Object[] args, boolean isStrict) Evaluator.createFunctionObject(Context cx, Scriptable scope, Object bytecode, Object staticSecurityDomain) Create a function object.Interpreter.createFunctionObject(Context cx, Scriptable scope, Object bytecode, Object staticSecurityDomain) private static JavaMembersJavaMembers.createJavaMembers(Scriptable associatedScope, Class<?> cl, boolean includeProtected) AbstractEcmaObjectOperations.createListFromArrayLike(Context cx, Scriptable o, Predicate<Object> elementTypesPredicate, String msg) CreateListFromArrayLike ( obj [ , elementTypes ] )BaseFunction.createObject(Context cx, Scriptable scope) Creates new script object.FunctionObject.createObject(Context cx, Scriptable scope) Return newScriptableinstance using the default constructor for the class of the underlying Java method.IdFunctionObject.createObject(Context cx, Scriptable scope) (package private) static RefSpecialRef.createSpecial(Context cx, Scriptable scope, Object object, String name) private static voidNativeSymbol.createStandardSymbol(Context cx, Scriptable scope, ScriptableObject ctor, String name, SymbolKey key) (package private) static StringScriptRuntime.defaultObjectToSource(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) (package private) static StringScriptRuntime.defaultObjectToString(Scriptable obj) static <T extends Scriptable>
voidScriptableObject.defineClass(Scriptable scope, Class<T> clazz) Defines JavaScript objects from a Java class that implements Scriptable.static <T extends Scriptable>
voidScriptableObject.defineClass(Scriptable scope, Class<T> clazz, boolean sealed) Defines JavaScript objects from a Java class, optionally allowing sealing.static <T extends Scriptable>
StringScriptableObject.defineClass(Scriptable scope, Class<T> clazz, boolean sealed, boolean mapInheritance) Defines JavaScript objects from a Java class, optionally allowing sealing and mapping of Java inheritance to JavaScript prototype-based inheritance.voidConstProperties.defineConst(String name, Scriptable start) Reserves a definition spot for a const.voidScriptableObject.defineConst(String name, Scriptable start) static voidScriptableObject.defineConstProperty(Scriptable destination, String propertyName) Utility method to add properties to arbitrary Scriptable object.voidLambdaConstructor.defineConstructorMethod(Scriptable scope, String name, int length, Callable target, int attributes) Define a function property directly on the constructor that is implemented under the covers by a LambdaFunction.voidLambdaConstructor.defineConstructorMethod(Scriptable scope, String name, int length, Callable target, int attributes, int propertyAttributes) Define a function property directly on the constructor that is implemented under the covers by a LambdaFunction, and override the properties of its "name", "length", and "arity" properties.voidLambdaConstructor.defineConstructorMethod(Scriptable scope, Symbol key, String name, int length, Callable target, int attributes) Define a function property directly on the constructor that is implemented under the covers by a LambdaFunction.private static voidNativeArray.defineElem(Context cx, Scriptable target, long index, Object value) private static voidNativeArray.defineElemOrThrow(Context cx, Scriptable target, long index, Object value) private static ObjectNativeReflect.defineProperty(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) protected voidScriptableObject.defineProperty(Scriptable scope, String name, int length, Callable target, int attributes, int propertyAttributes) Utility method to add lambda properties to arbitrary Scriptable object.static voidScriptableObject.defineProperty(Scriptable destination, String propertyName, Object value, int attributes) Utility method to add properties to arbitrary Scriptable object.voidLambdaConstructor.definePrototypeMethod(Scriptable scope, String name, int length, Callable target) Define a function property on the prototype of the constructor using a LambdaFunction under the covers.voidLambdaConstructor.definePrototypeMethod(Scriptable scope, String name, int length, Callable target, int attributes, int propertyAttributes) Define a function property on the prototype of the constructor using a LambdaFunction under the covers.static ObjectScriptRuntime.delete(Object obj, Object id, Context cx, Scriptable scope, boolean isName) The delete operatorprivate static voidNativeArray.deleteElem(Scriptable target, long index) static booleanScriptRuntime.deleteObjectElem(Scriptable target, Object elem, Context cx) private static ObjectNativeReflect.deleteProperty(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) static booleanScriptableObject.deleteProperty(Scriptable obj, int index) Removes the property from an object or its prototype chain.static booleanScriptableObject.deleteProperty(Scriptable obj, String name) Removes the property from an object or its prototype chain.static booleanScriptableObject.deleteProperty(Scriptable obj, Symbol key) A version of deleteProperty for properties with Symbol keys.private static ObjectNativePromise.doAll(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, boolean failFast) private static ObjectJavaAdapter.doCall(Context cx, Scriptable scope, Scriptable thisObj, Function f, Object[] args, long argsToWrap) private static ObjectNativePromise.doCatch(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static longNativeArray.doConcat(Context cx, Scriptable scope, Scriptable result, Object arg, long offset) private static ObjectNativePromise.doFinally(Context cx, Scriptable scope, Scriptable thisObj, LambdaConstructor defaultConstructor, Object[] args) private static ObjectScriptRuntime.doScriptableIncrDecr(Scriptable target, String id, Scriptable protoChainStart, Object value, int incrDecrMask) protected ObjectContextFactory.doTopCall(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Execute top call to script or function.static ObjectScriptRuntime.doTopCall(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Deprecated.static ObjectScriptRuntime.doTopCall(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args, boolean isTopLevelStrict) static ObjectScriptRuntime.elemIncrDecr(Object obj, Object index, Context cx, Scriptable scope, int incrDecrMask) static voidScriptRuntime.enterActivationFunction(Context cx, Scriptable scope) static ScriptableScriptRuntime.enterDotQuery(Object value, Scriptable scope) static ScriptableScriptRuntime.enterWith(Object obj, Context cx, Scriptable scope) static ObjectScriptRuntime.enumInit(Object value, Context cx, Scriptable scope, int enumType) private booleanEqualObjectGraphs.equalScriptables(Scriptable s1, Scriptable s2) static ObjectScriptRuntime.evalSpecial(Context cx, Scriptable scope, Object thisArg, Object[] args, String filename, int lineNumber) The eval function property of the global object.final ObjectContext.evaluateReader(Scriptable scope, Reader in, String sourceName, int lineno, Object securityDomain) Evaluate a reader as JavaScript source.final ObjectContext.evaluateString(Scriptable scope, String source, String sourceName, int lineno, Object securityDomain) Evaluate a JavaScript source string.InterpretedFunction.exec(Context cx, Scriptable scope) Script.exec(Context cx, Scriptable scope) Execute the script.BaseFunction.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) ES6Generator.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) ES6Iterator.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) IdFunctionCall.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) 'thisObj' will be null if invoked as constructor, in which case instance of Scriptable should be returnedIdScriptableObject.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) 'thisObj' will be null if invoked as constructor, in which case * instance of Scriptable should be returned.ImporterTopLevel.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) JavaAdapter.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeArray.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeBigInt.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeBoolean.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeCall.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeCallSite.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeConsole.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeContinuation.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeDate.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeError.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeGenerator.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeGlobal.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeIterator.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeJavaTopPackage.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeMap.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeNumber.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeObject.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeScript.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeSet.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeString.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeSymbol.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeWeakMap.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeWeakSet.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeWith.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Context.executeScriptWithContinuations(Script script, Scriptable scope) Execute script that may pause execution by capturing a continuation.SecurityController.execWithDomain(Context cx, Scriptable scope, Script script, Object securityDomain) Deprecated.The application should not override this method and instead overrideSecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args).private static ObjectNativeMath.exp(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeMath.expm1(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) final IdFunctionObjectIdScriptableObject.exportAsJSClass(int maxPrototypeId, Scriptable scope, boolean sealed) (package private) voidNativePromise.PromiseAllResolver.finalResolution(Context cx, Scriptable scope) intRegExpProxy.find_split(Context cx, Scriptable scope, String target, String separator, Scriptable re, int[] ip, int[] matchlen, boolean[] matched, String[][] parensp) private static ScriptableNativeArray.flat(Context cx, Scriptable scope, Scriptable source, double depth) private static ObjectNativeMath.floor(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) (package private) NativeJavaPackageNativeJavaPackage.forcePackage(String name, Scriptable scope) static StringNativeConsole.format(Context cx, Scriptable scope, Object[] args) private static StringNativeConsole.formatObj(Context cx, Scriptable scope, Object arg) private static ObjectNativeMath.fround(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private ObjectNativePromise.fulfillPromise(Context cx, Scriptable scope, Object value) Arguments.get(int index, Scriptable start) static ClassCacheClassCache.get(Scriptable scope) Search for ClassCache object in the given scope.Delegator.get(int index, Scriptable start) Delegator.get(String name, Scriptable start) Delegator.get(Symbol key, Scriptable start) IdScriptableObject.get(String name, Scriptable start) IdScriptableObject.get(Symbol key, Scriptable start) ImporterTopLevel.get(String name, Scriptable start) InterpretedFunction.get(String name, Scriptable start) (package private) ObjectJavaMembers.get(Scriptable scope, String name, Object javaObject, boolean isStatic) NativeArray.get(int index, Scriptable start) NativeArray.get(Symbol key, Scriptable start) NativeJavaArray.get(int index, Scriptable start) NativeJavaArray.get(String id, Scriptable start) NativeJavaArray.get(Symbol key, Scriptable start) NativeJavaClass.get(String name, Scriptable start) NativeJavaList.get(int index, Scriptable start) NativeJavaList.get(String name, Scriptable start) NativeJavaList.get(Symbol key, Scriptable start) NativeJavaMap.get(int index, Scriptable start) NativeJavaMap.get(String name, Scriptable start) NativeJavaMap.get(Symbol key, Scriptable start) NativeJavaObject.get(int index, Scriptable start) NativeJavaObject.get(String name, Scriptable start) NativeJavaObject.get(Symbol key, Scriptable start) NativeJavaPackage.get(int index, Scriptable start) NativeJavaPackage.get(String id, Scriptable start) NativeProxy.get(int index, Scriptable start) see https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-get-p-receiverNativeProxy.get(String name, Scriptable start) see https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-get-p-receiverNativeProxy.get(Symbol key, Scriptable start) see https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-get-p-receiverprivate static ObjectNativeReflect.get(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeString.get(int index, Scriptable start) NativeWith.get(int index, Scriptable start) NativeWith.get(String id, Scriptable start) NativeWith.get(Symbol key, Scriptable start) Scriptable.get(int index, Scriptable start) Get a property from the object selected by an integral index.Scriptable.get(String name, Scriptable start) Get a named property from the object.ScriptableObject.get(int index, Scriptable start) Returns the value of the indexed property or NOT_FOUND.ScriptableObject.get(String name, Scriptable start) Returns the value of the named property or NOT_FOUND.ScriptableObject.get(Symbol key, Scriptable start) Another version of Get that supports Symbol keyed properties.SymbolScriptable.get(Symbol key, Scriptable start) Return the value of the property with the specified key, or NOT_FOUND.private static Class<?> JavaAdapter.getAdapterClass(Scriptable scope, Class<?> superClass, Class<?>[] interfaces, Scriptable obj) static Object[]ScriptRuntime.getArrayElements(Scriptable object) static ScriptableScriptableObject.getArrayPrototype(Scriptable scope) final intScriptableObject.getAttributes(int index, Scriptable start) Deprecated.final intScriptableObject.getAttributes(String name, Scriptable start) Deprecated.(package private) static ScriptableScriptableObject.getBase(Scriptable start, int index) (package private) static ScriptableScriptableObject.getBase(Scriptable start, String name) private static ScriptableScriptableObject.getBase(Scriptable start, Symbol key) static FunctionTopLevel.getBuiltinCtor(Context cx, Scriptable scope, TopLevel.Builtins type) Static helper method to get a built-in object constructor with the giventypefrom the givenscope.static ScriptableTopLevel.getBuiltinPrototype(Scriptable scope, TopLevel.Builtins type) Static helper method to get a built-in object prototype with the giventypefrom the givenscope.(package private) static CallableScriptRuntime.getCallable(Scriptable thisObj) static ScriptableScriptableObject.getClassPrototype(Scriptable scope, String className) Get the prototype for the named class.private static ScriptableNativeObject.getCompatibleObject(Context cx, Scriptable scope, Object arg) static ObjectScriptableObject.getDefaultValue(Scriptable object, Class<?> typeHint) private static ObjectNativeArray.getElem(Context cx, Scriptable target, long index) final Object[]Context.getElements(Scriptable object) Get the elements of a JavaScript array.static CallableScriptRuntime.getElemFunctionAndThis(Object obj, Object elem, Context cx, Scriptable scope) Prepare for calling obj[id](...): return function corresponding to obj[id] and make obj properly converted to Scriptable available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.private static ObjectNativePromise.getErrorObject(Context cx, Scriptable scope, RhinoException re) (package private) static FunctionScriptRuntime.getExistingCtor(Context cx, Scriptable scope, String constructorName) private ObjectJavaMembers.getExplicitFunction(Scriptable scope, String name, Object javaObject, boolean isStatic) (package private) Map<String, FieldAndMethods> JavaMembers.getFieldAndMethodsObjects(Scriptable scope, Object javaObject, boolean isStatic) private static ObjectNativeCallSite.getFileName(Scriptable obj) static FunctionJavaAdapter.getFunction(Scriptable obj, String functionName) private static ObjectNativeCallSite.getFunctionName(Scriptable obj) static ScriptableScriptableObject.getFunctionPrototype(Scriptable scope) Get the Function.prototype property.static ScriptableScriptableObject.getGeneratorFunctionPrototype(Scriptable scope) (package private) FunctionAccessorSlot.getGetterFunction(String name, Scriptable scope) (package private) FunctionSlot.getGetterFunction(String name, Scriptable scope) Same for the "getter."ScriptableObject.getGetterOrSetter(String name, int index, Scriptable scope, boolean isSetter) Get the getter or setter for a given property.private static Object[]EqualObjectGraphs.getIds(Scriptable s) (package private) static longNativeArray.getLengthProperty(Context cx, Scriptable obj) static ScriptableObjectScriptRuntime.getLibraryScopeOrNull(Scriptable scope) private static ObjectNativeCallSite.getLineNumber(Scriptable obj) static CallableScriptRuntime.getNameFunctionAndThis(String name, Context cx, Scriptable scope) Prepare for calling name(...): return function corresponding to name and make current top scope available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.(package private) static FunctionTopLevel.getNativeErrorCtor(Context cx, Scriptable scope, TopLevel.NativeErrors type) Static helper method to get a native error constructor with the giventypefrom the givenscope.private static Object[]ImporterTopLevel.getNativeJavaPackages(Scriptable scope) static ObjectScriptRuntime.getObjectElem(Object obj, Object elem, Context cx, Scriptable scope) Call obj.[[Get]](id)static ObjectScriptRuntime.getObjectElem(Scriptable obj, Object elem, Context cx) private static ObjToIntMapJavaAdapter.getObjectFunctionNames(Scriptable obj) static ObjectScriptRuntime.getObjectIndex(Object obj, double dblIndex, Context cx, Scriptable scope) A cheaper and less general version of the above for well-known argument types.static ObjectScriptRuntime.getObjectIndex(Scriptable obj, int index, Context cx) static ObjectScriptRuntime.getObjectProp(Object obj, String property, Context cx, Scriptable scope) Version of getObjectElem when elem is a valid JS identifier name.static ObjectScriptRuntime.getObjectProp(Scriptable obj, String property, Context cx) static ObjectScriptRuntime.getObjectPropNoWarn(Object obj, String property, Context cx, Scriptable scope) static ScriptableScriptableObject.getObjectPrototype(Scriptable scope) Get the Object.prototype property.private static ScriptableNativeReflect.getOwnPropertyDescriptor(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private ObjectImporterTopLevel.getPackageProperty(String name, Scriptable start) (package private) ObjectNativeJavaPackage.getPkgProperty(String name, Scriptable start, boolean createPkg) static ObjectScriptableObject.getProperty(Scriptable obj, int index) Gets an indexed property from an object or any object in its prototype chain.static ObjectScriptableObject.getProperty(Scriptable obj, String name) Gets a named property from an object or any object in its prototype chain.static ObjectScriptableObject.getProperty(Scriptable obj, Symbol key) This is a version of getProperty that works with Symbols.(package private) ScriptableObjectAccessorSlot.getPropertyDescriptor(Context cx, Scriptable scope) (package private) ScriptableObjectLambdaSlot.getPropertyDescriptor(Context cx, Scriptable scope) (package private) ScriptableObjectSlot.getPropertyDescriptor(Context cx, Scriptable scope) static Object[]ScriptableObject.getPropertyIds(Scriptable obj) Returns an array of all ids from an object and its prototypes.static CallableScriptRuntime.getPropFunctionAndThis(Object obj, String property, Context cx, Scriptable scope) Prepare for calling obj.property(...): return function corresponding to obj.property and make obj properly converted to Scriptable available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.private static CallableScriptRuntime.getPropFunctionAndThisHelper(Object obj, String property, Context cx, Scriptable thisObj) private static ScriptableNativeReflect.getPrototypeOf(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeArray.getRawElem(Scriptable target, long index) private static NativeSymbolNativeSymbol.getSelf(Context cx, Scriptable scope, Object thisObj) (package private) FunctionAccessorSlot.getSetterFunction(String name, Scriptable scope) (package private) FunctionSlot.getSetterFunction(String name, Scriptable scope) Return a JavaScript function that represents the "setter".private static Object[]EqualObjectGraphs.getSortedIds(Scriptable s) static ObjectNativeIterator.getStopIterationObject(Scriptable scope) Get the value of the "StopIteration" object.static ScriptableScriptRuntime.getTemplateLiteralCallSite(Context cx, Scriptable scope, Object[] strings, int index) static ObjectScriptRuntime.getTopLevelProp(Scriptable scope, String id) static ScriptableScriptableObject.getTopLevelScope(Scriptable obj) Get the global scope.static ObjectScriptableObject.getTopScopeValue(Scriptable scope, Object key) Get arbitrary application-specific value associated with the top scope of the given scope.static <T> TScriptableObject.getTypedProperty(Scriptable s, int index, Class<T> type) Gets an indexed property from an object or any object in its prototype chain and coerces it to the requested Java type.static <T> TScriptableObject.getTypedProperty(Scriptable s, String name, Class<T> type) Gets a named property from an object or any object in its prototype chain and coerces it to the requested Java type.AccessorSlot.FunctionGetter.getValue(Scriptable start) AccessorSlot.Getter.getValue(Scriptable start) AccessorSlot.getValue(Scriptable start) AccessorSlot.MemberBoxGetter.getValue(Scriptable start) private static ObjectEqualObjectGraphs.getValue(Scriptable s, Object id) LambdaSlot.getValue(Scriptable start) LazyLoadSlot.getValue(Scriptable start) Slot.getValue(Scriptable start) booleanArguments.has(int index, Scriptable start) booleanDelegator.has(int index, Scriptable start) booleanDelegator.has(String name, Scriptable start) booleanDelegator.has(Symbol key, Scriptable start) booleanIdScriptableObject.has(String name, Scriptable start) booleanIdScriptableObject.has(Symbol key, Scriptable start) booleanImporterTopLevel.has(String name, Scriptable start) booleanNativeArray.has(int index, Scriptable start) booleanNativeArray.has(Symbol key, Scriptable start) booleanNativeJavaArray.has(int index, Scriptable start) booleanNativeJavaArray.has(String id, Scriptable start) booleanNativeJavaArray.has(Symbol key, Scriptable start) booleanNativeJavaClass.has(String name, Scriptable start) booleanNativeJavaList.has(int index, Scriptable start) booleanNativeJavaList.has(String name, Scriptable start) booleanNativeJavaList.has(Symbol key, Scriptable start) booleanNativeJavaMap.has(int index, Scriptable start) booleanNativeJavaMap.has(String name, Scriptable start) booleanNativeJavaMap.has(Symbol key, Scriptable start) booleanNativeJavaObject.has(int index, Scriptable start) booleanNativeJavaObject.has(String name, Scriptable start) booleanNativeJavaObject.has(Symbol key, Scriptable start) booleanNativeJavaPackage.has(int index, Scriptable start) booleanNativeJavaPackage.has(String id, Scriptable start) booleanNativeProxy.has(int index, Scriptable start) see https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-hasproperty-pbooleanNativeProxy.has(String name, Scriptable start) https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-hasproperty-pbooleanNativeProxy.has(Symbol key, Scriptable start) see https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-hasproperty-pprivate static ObjectNativeReflect.has(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) booleanNativeString.has(int index, Scriptable start) booleanNativeWith.has(int index, Scriptable start) booleanNativeWith.has(String id, Scriptable start) booleanNativeWith.has(Symbol key, Scriptable start) booleanScriptable.has(int index, Scriptable start) Indicates whether or not an indexed property is defined in an object.booleanScriptable.has(String name, Scriptable start) Indicates whether or not a named property is defined in an object.booleanScriptableObject.has(int index, Scriptable start) Returns true if the property index is defined.booleanScriptableObject.has(String name, Scriptable start) Returns true if the named property is defined.booleanScriptableObject.has(Symbol key, Scriptable start) A version of "has" that supports symbols.booleanSymbolScriptable.has(Symbol key, Scriptable start) Return true if the specified property exists.booleanArrowFunction.hasInstance(Scriptable instance) booleanBaseFunction.hasInstance(Scriptable instance) Implements the instanceof operator for JavaScript Function objects.booleanBoundFunction.hasInstance(Scriptable instance) booleanDelegator.hasInstance(Scriptable instance) booleanNativeIterator.StopIteration.hasInstance(Scriptable instance) booleanNativeJavaArray.hasInstance(Scriptable value) booleanNativeJavaClass.hasInstance(Scriptable value) Determines if prototype is a wrapped Java object and performs a Java "instanceof".booleanNativeJavaObject.hasInstance(Scriptable value) booleanNativeWith.hasInstance(Scriptable value) booleanScriptable.hasInstance(Scriptable instance) The instanceof operator.booleanScriptableObject.hasInstance(Scriptable instance) Implements the instanceof operator.static booleanScriptRuntime.hasObjectElem(Scriptable target, Object elem, Context cx) static booleanScriptableObject.hasProperty(Scriptable obj, int index) Returns whether an indexed property is defined in an object or any object in its prototype chain.static booleanScriptableObject.hasProperty(Scriptable obj, String name) Returns whether a named property is defined in an object or any object in its prototype chain.static booleanScriptableObject.hasProperty(Scriptable obj, Symbol key) A version of hasProperty for properties with Symbol keys.private static ObjectNativeMath.hypot(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static voidImporterTopLevel.importClass(Scriptable scope, NativeJavaClass cl) voidImporterTopLevel.importPackage(Context cx, Scriptable thisObj, Object[] args, Function funObj) Deprecated.Kept only for compatibility.private static ObjectNativeMath.imul(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) (package private) static voidBaseFunction.init(Context cx, Scriptable scope, boolean sealed) (package private) static voidBaseFunction.init(Scriptable scope, boolean sealed) Deprecated.UseBaseFunction.init(Context, Scriptable, boolean)insteadstatic voidImporterTopLevel.init(Context cx, Scriptable scope, boolean sealed) static voidJavaAdapter.init(Context cx, Scriptable scope, boolean sealed) (package private) static voidNativeArray.init(Context cx, Scriptable scope, boolean sealed) (package private) static voidNativeBigInt.init(Scriptable scope, boolean sealed) (package private) static voidNativeBoolean.init(Scriptable scope, boolean sealed) (package private) static voidNativeCall.init(Scriptable scope, boolean sealed) (package private) static voidNativeCallSite.init(Scriptable scope, boolean sealed) static voidNativeConsole.init(Scriptable scope, boolean sealed, NativeConsole.ConsolePrinter printer) static voidNativeContinuation.init(Context cx, Scriptable scope, boolean sealed) (package private) static voidNativeDate.init(Scriptable scope, boolean sealed) (package private) static voidNativeError.init(Scriptable scope, boolean sealed) static voidNativeGlobal.init(Context cx, Scriptable scope, boolean sealed) static voidNativeJavaTopPackage.init(Context cx, Scriptable scope, boolean sealed) (package private) static voidNativeJSON.init(Scriptable scope, boolean sealed) (package private) static voidNativeMap.init(Context cx, Scriptable scope, boolean sealed) (package private) static voidNativeMath.init(Scriptable scope, boolean sealed) (package private) static voidNativeNumber.init(Scriptable scope, boolean sealed) (package private) static voidNativeObject.init(Scriptable scope, boolean sealed) static voidNativePromise.init(Context cx, Scriptable scope, boolean sealed) static voidNativeProxy.init(Context cx, Scriptable scope, boolean sealed) static voidNativeReflect.init(Context cx, Scriptable scope, boolean sealed) (package private) static voidNativeScript.init(Context cx, Scriptable scope, boolean sealed) (package private) static voidNativeScript.init(Scriptable scope, boolean sealed) Deprecated.UseNativeScript.init(Context, Scriptable, boolean)instead(package private) static voidNativeSet.init(Context cx, Scriptable scope, boolean sealed) (package private) static voidNativeString.init(Scriptable scope, boolean sealed) static voidNativeSymbol.init(Context cx, Scriptable scope, boolean sealed) (package private) static voidNativeWeakMap.init(Scriptable scope, boolean sealed) (package private) static voidNativeWeakSet.init(Scriptable scope, boolean sealed) (package private) static voidNativeWith.init(Scriptable scope, boolean sealed) (package private) voidFunctionObject.initAsConstructor(Scriptable scope, Scriptable prototype, int attributes) (package private) static ObjectBaseFunction.initAsGeneratorFunction(Scriptable scope, boolean sealed) private static Interpreter.CallFrameInterpreter.initFrame(Context cx, Scriptable callerScope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, InterpretedFunction fnOrScript, Interpreter.CallFrame parentFrame) private static Interpreter.CallFrameInterpreter.initFrameForApplyOrCall(Context cx, Interpreter.CallFrame frame, int indexReg, Object[] stack, double[] sDbl, int stackTop, int op, Scriptable calleeScope, IdFunctionObject ifun, InterpretedFunction iApplyCallable) private static Interpreter.CallFrameInterpreter.initFrameForNoSuchMethod(Context cx, Interpreter.CallFrame frame, int indexReg, Object[] stack, double[] sDbl, int stackTop, int op, Scriptable funThisObj, Scriptable calleeScope, ScriptRuntime.NoSuchMethodShim noSuchMethodShim, InterpretedFunction ifun) Call __noSuchMethod__.voidIdFunctionObject.initFunction(String name, Scriptable scope) private static voidInterpreter.initFunction(Context cx, Scriptable scope, InterpretedFunction parent, int index) static voidScriptRuntime.initFunction(Context cx, Scriptable scope, NativeFunction function, int type, boolean fromEvalCode) (package private) voidInterpreter.CallFrame.initializeArgs(Context cx, Scriptable callerScope, Object[] args, double[] argsDbl, int argShift, int argCount) static voidScriptRuntime.initScript(NativeFunction funObj, Scriptable thisObj, Context cx, Scriptable scope, boolean evalScript) final voidNativeFunction.initScriptFunction(Context cx, Scriptable scope) final voidNativeFunction.initScriptFunction(Context cx, Scriptable scope, boolean es6GeneratorFunction) (package private) static ObjectInterpreter.interpret(InterpretedFunction ifun, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) InterfaceAdapter.invoke(ContextFactory cf, Object target, Scriptable topScope, Object thisObject, Method method, Object[] args) (package private) voidNativePromise.Reaction.invoke(Context cx, Scriptable scope, Object arg) (package private) ObjectInterfaceAdapter.invokeImpl(Context cx, Object target, Scriptable topScope, Object thisObject, Method method, Object[] args) static booleanScriptRuntime.isArrayLike(Scriptable obj) private static booleanNativeArray.isConcatSpreadable(Context cx, Scriptable scope, Object val) protected abstract booleanES6Iterator.isDone(Context cx, Scriptable scope) protected booleanNativeArrayIterator.isDone(Context cx, Scriptable scope) protected booleanNativeCollectionIterator.isDone(Context cx, Scriptable scope) protected booleanNativeJavaMap.NativeJavaMapIterator.isDone(Context cx, Scriptable scope) protected booleanNativeJavaObject.JavaIterableIterator.isDone(Context cx, Scriptable scope) protected booleanNativeStringIterator.isDone(Context cx, Scriptable scope) private static ObjectNativeReflect.isExtensible(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) booleanRegExpProxy.isRegExp(Scriptable obj) private static ObjectNativeArray.iterativeMethod(Context cx, IdFunctionObject idFunctionObject, Scriptable scope, Scriptable thisObj, Object[] args) Implements the methods "every", "filter", "forEach", "map", and "some".private static StringNativeJSON.ja(Scriptable value, NativeJSON.StringifyState state) static ObjectContext.javaToJS(Object value, Scriptable scope) Convenient method to convert java value to its closest representation in JavaScript.static ObjectContext.javaToJS(Object value, Scriptable scope, Context cx) Convenient method to convert java value to its closest representation in JavaScript.private static StringNativeJSON.jo(Scriptable value, NativeJSON.StringifyState state) private static ObjectNativeArray.js_at(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static voidNativeError.js_captureStackTrace(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ScriptableNativeArray.js_concat(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private ObjectImporterTopLevel.js_construct(Scriptable scope, Object[] args) private static ObjectNativeArray.js_copyWithin(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) (package private) static ObjectJavaAdapter.js_createAdapter(Context cx, Scriptable scope, Object[] args) private static ObjectNativeGlobal.js_eval(Context cx, Scriptable scope, Object[] args) This is an indirect call to eval, and thus uses the global environment.private static ObjectNativeArray.js_fill(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeArray.js_flat(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeArray.js_flatMap(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private ObjectNativeSymbol.js_for(Context cx, Scriptable scope, Object[] args) private ObjectNativeMap.js_forEach(Context cx, Scriptable scope, Object arg1, Object arg2) private ObjectNativeSet.js_forEach(Context cx, Scriptable scope, Object arg1, Object arg2) private static ObjectNativeArray.js_from(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private ScriptableNativeJavaTopPackage.js_getClass(Context cx, Scriptable scope, Object[] args) private static ObjectImporterTopLevel.js_importClass(Scriptable scope, Object[] args) private static BooleanNativeArray.js_includes(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeArray.js_indexOf(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private ObjectNativeMap.js_iterator(Scriptable scope, NativeCollectionIterator.Type type) private ObjectNativeSet.js_iterator(Scriptable scope, NativeCollectionIterator.Type type) private static StringNativeArray.js_join(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) See ECMA 15.4.4.3private ObjectNativeSymbol.js_keyFor(Context cx, Scriptable scope, Object[] args) private static ObjectNativeArray.js_lastIndexOf(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeArray.js_of(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static StringNativeString.js_pad(Context cx, Scriptable thisObj, IdFunctionObject f, Object[] args, boolean atStart) private static ObjectNativeArray.js_pop(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeArray.js_push(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static CharSequenceNativeString.js_raw(Context cx, Scriptable scope, Object[] args) String.raw (template, ...substitutions)private static StringNativeString.js_repeat(Context cx, Scriptable thisObj, IdFunctionObject f, Object[] args) private static ScriptableNativeArray.js_reverse(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) See ECMA 15.4.4.4private static ObjectNativeArray.js_shift(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ScriptableNativeArray.js_slice(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ScriptableNativeArray.js_sort(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) See ECMA 15.4.4.5private static ObjectNativeArray.js_splice(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) RegExpProxy.js_split(Context _cx, Scriptable _scope, String thisString, Object[] _args) private static StringNativeError.js_toSource(Context cx, Scriptable scope, Scriptable thisObj) private static ObjectNativeCallSite.js_toString(Scriptable obj) private static ObjectNativeError.js_toString(Scriptable thisObj) private static ObjectNativeArray.js_unshift(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private voidNativeConsole.jsAssert(Context cx, Scriptable scope, Object[] args) private ObjectBaseFunction.jsConstructor(Context cx, Scriptable scope, Object[] args) private static ObjectNativeArray.jsConstructor(Context cx, Scriptable scope, Object[] args) See ECMA 15.4.1,2private static ObjectNativeIterator.jsConstructor(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) static booleanScriptRuntime.jsDelegatesTo(Scriptable lhs, Scriptable rhs) Delegates tostatic ScriptableScriptRuntime.leaveDotQuery(Scriptable scope) static ScriptableScriptRuntime.leaveWith(Scriptable scope) (package private) static longAbstractEcmaObjectOperations.lengthOfArrayLike(Context cx, Scriptable o) LengthOfArrayLike ( obj )(package private) static voidNativeMap.loadFromIterable(Context cx, Scriptable scope, ScriptableObject map, Object arg1) If an "iterable" object was passed to the constructor, there are many many things to do...(package private) static voidNativeSet.loadFromIterable(Context cx, Scriptable scope, ScriptableObject set, Object arg1) If an "iterable" object was passed to the constructor, there are many many things to do.static booleanScriptRuntime.loadFromIterable(Context cx, Scriptable scope, Object arg1, BiConsumer<Object, Object> setter) This is used to handle all the special cases that are required when invoking Object.fromEntries or constructing a NativeMap or NativeWeakMap from an iterable.private static ObjectNativeMath.log(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeMath.log10(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeMath.log1p(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeMath.log2(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) (package private) static JavaMembersJavaMembers.lookupClass(Scriptable scope, Class<?> dynamicType, Class<?> staticType, boolean includeProtected) (package private) static NativeCallSiteNativeCallSite.make(Scriptable scope, Scriptable ctorObj) (package private) static NativeErrorNativeError.make(Context cx, Scriptable scope, IdFunctionObject ctorObj, Object[] args) private static CallableNativePromise.makeCatchFinally(Scriptable scope, Object constructor, Callable onFinally) (package private) static ScriptableES6Iterator.makeIteratorResult(Context cx, Scriptable scope, Boolean done) (package private) static ScriptableES6Iterator.makeIteratorResult(Context cx, Scriptable scope, Boolean done, Object value) private static CallableNativePromise.makeThenFinally(Scriptable scope, Object constructor, Callable onFinally) final voidIdFunctionObject.markAsConstructor(Scriptable prototypeProperty) private static ObjectNativeMath.max(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeMath.min(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) static ObjectScriptRuntime.name(Context cx, Scriptable scope, String name) Looks up a name in the scope chain and returns its value.static ObjectScriptRuntime.nameIncrDecr(Scriptable scopeChain, String id, int incrDecrMask) Deprecated.static ObjectScriptRuntime.nameIncrDecr(Scriptable scopeChain, String id, Context cx, int incrDecrMask) private static ObjectScriptRuntime.nameOrFunction(Context cx, Scriptable scope, Scriptable parentScope, String name, boolean asFunctionCall) static RefScriptRuntime.nameRef(Object namespace, Object name, Context cx, Scriptable scope, int memberTypeFlags) static RefScriptRuntime.nameRef(Object name, Context cx, Scriptable scope, int memberTypeFlags) Context.newArray(Scriptable scope, int length) Create an array with a specified initial length.Context.newArray(Scriptable scope, Object[] elements) Create an array with a set of initial elements.static ScriptableScriptRuntime.newArrayLiteral(Object[] objects, int[] skipIndices, Context cx, Scriptable scope) static ScriptableScriptRuntime.newBuiltinObject(Context cx, Scriptable scope, TopLevel.Builtins type, Object[] args) static ScriptableScriptRuntime.newCatchScope(Throwable t, Scriptable lastCatchScope, String exceptionName, Context cx, Scriptable scope) private IdFunctionObjectIdScriptableObject.newIdFunction(Object tag, int id, String name, int arity, Scriptable scope) protected abstract ObjectVMBridge.newInterfaceProxy(Object proxyHelper, ContextFactory cf, InterfaceAdapter adapter, Object target, Scriptable topScope) Create proxy object forInterfaceAdapter.(package private) static ScriptableScriptRuntime.newNativeError(Context cx, Scriptable scope, TopLevel.NativeErrors type, Object[] args) Context.newObject(Scriptable scope) Create a new JavaScript object.Context.newObject(Scriptable scope, String constructorName) Create a new JavaScript object by executing the named constructor.Context.newObject(Scriptable scope, String constructorName, Object[] args) Creates a new JavaScript object by executing the named constructor.static ScriptableScriptRuntime.newObject(Object fun, Context cx, Scriptable scope, Object[] args) Operator new.static ScriptableScriptRuntime.newObject(Context cx, Scriptable scope, String constructorName, Object[] args) static ScriptableScriptRuntime.newObjectLiteral(Object[] propertyIds, Object[] propertyValues, int[] getterSetters, Context cx, Scriptable scope) static ScriptableScriptRuntime.newObjectLiteral(Object[] propertyIds, Object[] propertyValues, Context cx, Scriptable scope) Deprecated.static ObjectScriptRuntime.newSpecial(Context cx, Object fun, Object[] args, Scriptable scope, int callType) (package private) static ObjectNativeWith.newWithSpecial(Context cx, Scriptable scope, Object[] args) protected ObjectES6Iterator.next(Context cx, Scriptable scope) private ObjectNativeIterator.next(Context cx, Scriptable scope) protected abstract ObjectES6Iterator.nextValue(Context cx, Scriptable scope) protected ObjectNativeArrayIterator.nextValue(Context cx, Scriptable scope) protected ObjectNativeCollectionIterator.nextValue(Context cx, Scriptable scope) protected ObjectNativeJavaMap.NativeJavaMapIterator.nextValue(Context cx, Scriptable scope) protected ObjectNativeJavaObject.JavaIterableIterator.nextValue(Context cx, Scriptable scope) protected ObjectNativeStringIterator.nextValue(Context cx, Scriptable scope) static RuntimeExceptionScriptRuntime.notFoundError(Scriptable object, String property) private static ScriptableNativeReflect.ownKeys(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) static Object[]ScriptRuntime.padAndRestArguments(Context cx, Scriptable scope, Object[] args, int argCount) Helper function for builtin objects that use the varargs form.private static ObjectNativeJSON.parse(Context cx, Scriptable scope, String jtext) static ObjectNativeJSON.parse(Context cx, Scriptable scope, String jtext, Callable reviver) private static ObjectNativeJSON.parse(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativePromise.performRace(Context cx, Scriptable scope, IteratorLikeIterable.Itr iterator, Scriptable thisObj, NativePromise.Capability cap) private static ObjectNativeMath.pow(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeReflect.preventExtensions(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) voidNativeConsole.ConsolePrinter.print(Context cx, Scriptable scope, NativeConsole.Level level, Object[] args, ScriptStackElement[] stack) private voidNativeConsole.print(Context cx, Scriptable scope, NativeConsole.Level level, String msg) static ObjectScriptRuntime.propIncrDecr(Object obj, String id, Context cx, Scriptable scope, int incrDecrMask) (package private) static voidAbstractEcmaObjectOperations.put(Context cx, Scriptable o, int p, Object v, boolean isThrow) Set ( O, P, V, Throw)(package private) static voidAbstractEcmaObjectOperations.put(Context cx, Scriptable o, String p, Object v, boolean isThrow) Set ( O, P, V, Throw)voidArguments.put(int index, Scriptable start, Object value) voidArguments.put(String name, Scriptable start, Object value) voidDelegator.put(int index, Scriptable start, Object value) voidDelegator.put(String name, Scriptable start, Object value) voidDelegator.put(Symbol symbol, Scriptable start, Object value) voidIdScriptableObject.put(String name, Scriptable start, Object value) voidIdScriptableObject.put(Symbol key, Scriptable start, Object value) (package private) voidJavaMembers.put(Scriptable scope, String name, Object javaObject, Object value, boolean isStatic) voidNativeArray.put(int index, Scriptable start, Object value) voidNativeArray.put(String id, Scriptable start, Object value) voidNativeArray.put(Symbol key, Scriptable start, Object value) voidNativeJavaArray.put(int index, Scriptable start, Object value) voidNativeJavaArray.put(String id, Scriptable start, Object value) voidNativeJavaClass.put(String name, Scriptable start, Object value) voidNativeJavaList.put(int index, Scriptable start, Object value) voidNativeJavaList.put(String name, Scriptable start, Object value) voidNativeJavaMap.put(int index, Scriptable start, Object value) voidNativeJavaMap.put(String name, Scriptable start, Object value) voidNativeJavaObject.put(int index, Scriptable start, Object value) voidNativeJavaObject.put(String name, Scriptable start, Object value) voidNativeJavaObject.put(Symbol symbol, Scriptable start, Object value) voidNativeJavaPackage.put(int index, Scriptable start, Object value) voidNativeJavaPackage.put(String id, Scriptable start, Object value) voidNativeProxy.put(int index, Scriptable start, Object value) https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-set-p-v-receivervoidNativeProxy.put(String name, Scriptable start, Object value) https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-set-p-v-receivervoidNativeProxy.put(Symbol key, Scriptable start, Object value) https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-set-p-v-receivervoidNativeString.put(int index, Scriptable start, Object value) voidNativeSymbol.put(int index, Scriptable start, Object value) voidNativeSymbol.put(String name, Scriptable start, Object value) voidNativeSymbol.put(Symbol key, Scriptable start, Object value) voidNativeWith.put(int index, Scriptable start, Object value) voidNativeWith.put(String id, Scriptable start, Object value) voidNativeWith.put(Symbol symbol, Scriptable start, Object value) voidScriptable.put(int index, Scriptable start, Object value) Sets an indexed property in this object.voidScriptable.put(String name, Scriptable start, Object value) Sets a named property in this object.voidScriptableObject.put(int index, Scriptable start, Object value) Sets the value of the indexed property, creating it if need be.voidScriptableObject.put(String name, Scriptable start, Object value) Sets the value of the named property, creating it if need be.voidScriptableObject.put(Symbol key, Scriptable start, Object value) Implementation of put required by SymbolScriptable objects.voidSymbolScriptable.put(Symbol key, Scriptable start, Object value) Add a new property to to the object.voidConstProperties.putConst(String name, Scriptable start, Object value) Sets a named const property in this object.voidScriptableObject.putConst(String name, Scriptable start, Object value) Sets the value of the named const property, creating it if need be.private booleanScriptableObject.putConstImpl(String name, int index, Scriptable start, Object value, int constFlag) static voidScriptableObject.putConstProperty(Scriptable obj, String name, Object value) Puts a named property in an object or in an object in its prototype chain.private booleanScriptableObject.putImpl(Object key, int index, Scriptable start, Object value) (package private) booleanScriptableObject.putImpl(Object key, int index, Scriptable start, Object value, boolean isThrow) static voidScriptableObject.putProperty(Scriptable obj, int index, Object value) Puts an indexed property in an object or in an object in its prototype chain.static voidScriptableObject.putProperty(Scriptable obj, String name, Object value) Puts a named property in an object or in an object in its prototype chain.static voidScriptableObject.putProperty(Scriptable obj, Symbol key, Object value) This is a version of putProperty for Symbol keys.private static ObjectNativePromise.race(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeMath.random(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) static ObjectJavaAdapter.readAdapterObject(Scriptable self, ObjectInputStream in) private static BaseFunctionBaseFunction.realFunction(Scriptable thisObj, IdFunctionObject f) private ScriptableObjectImporterTopLevel.realScope(Scriptable scope, Scriptable thisObj, IdFunctionObject f) private static NativeMapNativeMap.realThis(Scriptable thisObj, IdFunctionObject f) private static NativeScriptNativeScript.realThis(Scriptable thisObj, IdFunctionObject f) private static NativeSetNativeSet.realThis(Scriptable thisObj, IdFunctionObject f) private static NativeStringNativeString.realThis(Scriptable thisObj, IdFunctionObject f) private static NativeWeakMapNativeWeakMap.realThis(Scriptable thisObj, IdFunctionObject f) private static NativeWeakSetNativeWeakSet.realThis(Scriptable thisObj, IdFunctionObject f) static voidScriptableObject.redefineProperty(Scriptable obj, String name, boolean isConst) If hasProperty(obj, name) would return true, then if the property that was found is compatible with the new property, this method just returns.private static ObjectNativeArray.reduceMethod(Context cx, int id, Scriptable scope, Scriptable thisObj, Object[] args) Implements the methods "reduce" and "reduceRight".RefCallable.refCall(Context cx, Scriptable thisObj, Object[] args) Perform function call in reference context.static ObjectScriptRuntime.refIncrDecr(Ref ref, Context cx, Scriptable scope, int incrDecrMask) private voidJavaMembers.reflect(Context cx, Scriptable scope, boolean includeProtected, boolean includePrivate) static ObjectScriptRuntime.refSet(Ref ref, Object value, Context cx, Scriptable scope) private static ObjectNativePromise.reject(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private ObjectNativePromise.ResolvingFunctions.reject(Context cx, Scriptable scope, NativePromise promise, Object reason) private ObjectNativePromise.rejectPromise(Context cx, Scriptable scope, Object reason) (package private) ObjectNativePromise.PromiseAllResolver.resolve(Context topCx, Scriptable topScope) (package private) ObjectNativePromise.PromiseElementResolver.resolve(Context cx, Scriptable scope, Object result, NativePromise.PromiseAllResolver resolver) private static ObjectNativePromise.resolve(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private ObjectNativePromise.ResolvingFunctions.resolve(Context cx, Scriptable scope, NativePromise promise, Object resolution) private static ObjectNativePromise.resolveInternal(Context cx, Scriptable scope, Object constructor, Object arg) static ObjectInterpreter.restartContinuation(NativeContinuation c, Context cx, Scriptable scope, Object[] args) private ObjectNativeGenerator.resume(Context cx, Scriptable scope, int operation, Object value) private ScriptableES6Generator.resumeAbruptLocal(Context cx, Scriptable scope, int op, Object value) Context.resumeContinuation(Object continuation, Scriptable scope, Object functionResult) Restarts execution of the JavaScript suspended at the call toContext.captureContinuation().private ScriptableES6Generator.resumeDelegee(Context cx, Scriptable scope, Object value) private ScriptableES6Generator.resumeDelegeeReturn(Context cx, Scriptable scope, Object value) private ScriptableES6Generator.resumeDelegeeThrow(Context cx, Scriptable scope, Object value) InterpretedFunction.resumeGenerator(Context cx, Scriptable scope, int operation, Object state, Object value) static ObjectInterpreter.resumeGenerator(Context cx, Scriptable scope, int operation, Object savedState, Object value) NativeFunction.resumeGenerator(Context cx, Scriptable scope, int operation, Object state, Object value) Resume execution of a suspended generator.private ScriptableES6Generator.resumeLocal(Context cx, Scriptable scope, Object value) private static ObjectNativeProxy.revocable(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeMath.round(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) (package private) final voidIdScriptableObject.PrototypeValues.set(int id, Scriptable start, Object value) private static ObjectNativeReflect.set(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Ref.set(Context cx, Scriptable scope, Object value) SpecialRef.set(Context cx, Scriptable scope, Object value) voidScriptableObject.setAttributes(int index, Scriptable start, int attributes) Deprecated.final voidScriptableObject.setAttributes(String name, Scriptable start, int attributes) Deprecated.static voidScriptRuntime.setBuiltinProtoAndParent(ScriptableObject object, Scriptable scope, TopLevel.Builtins type) static ObjectScriptRuntime.setConst(Scriptable bound, Object value, Context cx, String id) voidDelegator.setDelegee(Scriptable obj) Set the delegee.private static voidNativeArray.setElem(Context cx, Scriptable target, long index, Object value) static voidScriptRuntime.setFunctionProtoAndParent(BaseFunction fn, Context cx, Scriptable scope) static voidScriptRuntime.setFunctionProtoAndParent(BaseFunction fn, Context cx, Scriptable scope, boolean es6GeneratorFunction) static voidScriptRuntime.setFunctionProtoAndParent(BaseFunction fn, Scriptable scope) Deprecated.static voidScriptRuntime.setFunctionProtoAndParent(BaseFunction fn, Scriptable scope, boolean es6GeneratorFunction) Deprecated.private static ObjectNativeArray.setLengthProperty(Context cx, Scriptable target, long length) static ObjectScriptRuntime.setName(Scriptable bound, Object value, Context cx, Scriptable scope, String id) static ObjectScriptRuntime.setObjectElem(Object obj, Object elem, Object value, Context cx, Scriptable scope) Call obj.[[Put]](id, value)static ObjectScriptRuntime.setObjectElem(Scriptable obj, Object elem, Object value, Context cx) static ObjectScriptRuntime.setObjectIndex(Object obj, double dblIndex, Object value, Context cx, Scriptable scope) A cheaper and less general version of the above for well-known argument types.static ObjectScriptRuntime.setObjectIndex(Scriptable obj, int index, Object value, Context cx) static ObjectScriptRuntime.setObjectProp(Object obj, String property, Object value, Context cx, Scriptable scope) Version of setObjectElem when elem is a valid JS identifier name.static ObjectScriptRuntime.setObjectProp(Scriptable obj, String property, Object value, Context cx) static voidScriptRuntime.setObjectProtoAndParent(ScriptableObject object, Scriptable scope) voidDelegator.setParentScope(Scriptable parent) voidNativeJavaObject.setParentScope(Scriptable m) Sets the parent (enclosing) scope of the object.voidNativeWith.setParentScope(Scriptable parent) voidScriptable.setParentScope(Scriptable parent) Set the parent scope of the object.voidScriptableObject.setParentScope(Scriptable m) Sets the parent (enclosing) scope of the object.voidDelegator.setPrototype(Scriptable prototype) voidNativeArray.setPrototype(Scriptable p) voidNativeJavaObject.setPrototype(Scriptable m) Sets the prototype of the object.voidNativeProxy.setPrototype(Scriptable prototype) see https://262.ecma-international.org/12.0/#sec-proxy-object-internal-methods-and-internal-slots-setprototypeof-vvoidNativeWith.setPrototype(Scriptable prototype) voidScriptable.setPrototype(Scriptable prototype) Set the prototype of the object.voidScriptableObject.setPrototype(Scriptable m) Sets the prototype of the object.private voidNativeProxy.setPrototypeDirect(Scriptable prototype) private static ObjectNativeReflect.setPrototypeOf(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static voidNativeArray.setRawElem(Context cx, Scriptable target, long index, Object value) booleanAccessorSlot.FunctionSetter.setValue(Object value, Scriptable owner, Scriptable start) booleanAccessorSlot.MemberBoxSetter.setValue(Object value, Scriptable owner, Scriptable start) booleanAccessorSlot.Setter.setValue(Object value, Scriptable owner, Scriptable start) booleanAccessorSlot.setValue(Object value, Scriptable owner, Scriptable start, boolean isThrow) booleanLambdaSlot.setValue(Object value, Scriptable owner, Scriptable start, boolean isThrow) final booleanSlot.setValue(Object value, Scriptable owner, Scriptable start) booleanSlot.setValue(Object value, Scriptable owner, Scriptable start, boolean isThrow) private static ObjectNativeMath.sign(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeMath.sin(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeMath.sinh(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) static RefScriptRuntime.specialRef(Object obj, String specialProperty, Context cx, Scriptable scope) (package private) static ConstructableAbstractEcmaObjectOperations.speciesConstructor(Context cx, Scriptable s, Constructable defaultConstructor) Implement the ECMAScript abstract operation "SpeciesConstructor" defined in section 7.2.33 of ECMA262.private static ObjectNativeMath.sqrt(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static voidScriptRuntime.storeScriptable(Context cx, Scriptable value) private static ObjectNativeJSON.str(Object key, Scriptable holder, NativeJSON.StringifyState state) static ObjectScriptRuntime.strictSetName(Scriptable bound, Object value, Context cx, Scriptable scope, String id) static Objectprivate static ObjectNativeJSON.stringify(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static StringNativeString.tagify(Context cx, Scriptable thisObj, IdFunctionObject f, String tag, String attribute, Object[] args) private static ObjectNativeMath.tan(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static ObjectNativeMath.tanh(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private ObjectNativePromise.then(Context cx, Scriptable scope, LambdaConstructor defaultConstructor, Object[] args) static JavaScriptExceptionScriptRuntime.throwCustomError(Context cx, Scriptable scope, String constructorName, String message) Equivalent to executing "new $constructorName(message, sourceFileName, sourceLineNo)" from JavaScript.static JavaScriptExceptionScriptRuntime.throwError(Context cx, Scriptable scope, String message) Equivalent to executing "new Error(message, sourceFileName, sourceLineNo)" from JavaScript.protected voidSlot.throwNoSetterException(Scriptable start, Object newValue) private voidNativeConsole.time(Context cx, Scriptable scope, Object[] args) private voidNativeConsole.timeEnd(Context cx, Scriptable scope, Object[] args) private voidNativeConsole.timeLog(Context cx, Scriptable scope, Object[] args) static ScriptableScriptRuntime.toIterator(Context cx, Scriptable scope, Scriptable obj, boolean keyOnly) static ScriptableContext.toObject(Object value, Scriptable scope) Convert the value to an JavaScript object value.static ScriptableContext.toObject(Object value, Scriptable scope, Class<?> staticType) Deprecated.static ScriptableScriptRuntime.toObject(Context cx, Scriptable scope, Object val) Convert the value to an object.static ScriptableScriptRuntime.toObject(Context cx, Scriptable scope, Object val, Class<?> staticClass) Deprecated.UseScriptRuntime.toObject(Context, Scriptable, Object)instead.static ScriptableScriptRuntime.toObject(Scriptable scope, Object val) static ScriptableScriptRuntime.toObject(Scriptable scope, Object val, Class<?> staticClass) Deprecated.UseScriptRuntime.toObject(Scriptable, Object)instead.static ScriptableScriptRuntime.toObjectOrNull(Context cx, Object obj, Scriptable scope) private static ObjectScriptRuntime.topScopeName(Context cx, Scriptable scope, String name) private static StringNativeArray.toStringHelper(Context cx, Scriptable scope, Scriptable thisObj, boolean toSource, boolean toLocale) private static ObjectNativeMath.trunc(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) static StringScriptRuntime.typeofName(Scriptable scope, String id) The typeof operator that correctly handles the undefined case(package private) static StringScriptRuntime.uneval(Context cx, Scriptable scope, Object value) static ObjectScriptRuntime.updateDotQuery(boolean value, Scriptable scope) (package private) static booleanAbstractEcmaObjectOperations.validateAndApplyPropertyDescriptor(Scriptable o, Scriptable p, boolean extensible, ScriptableObject desc, ScriptableObject current) ValidateAndApplyPropertyDescriptor ( O, P, extensible, Desc, current )private static ObjectNativeJSON.walk(Context cx, Scriptable scope, Callable reviver, Scriptable holder, Object name) static NativeJavaArrayNativeJavaArray.wrap(Scriptable scope, Object array) static ObjectNativeJavaObject.wrap(Scriptable scope, Object obj, Class<?> staticType) Deprecated.UseContext.getWrapFactory()together with callingWrapFactory.wrap(Context, Scriptable, Object, Class)WrapFactory.wrap(Context cx, Scriptable scope, Object obj, Class<?> staticType) Wrap the object.WrapFactory.wrapAsJavaObject(Context cx, Scriptable scope, Object javaObject, Class<?> staticType) Wrap Java object as Scriptable instance to allow full access to its methods and fields from JavaScript.static ScriptableScriptRuntime.wrapException(Throwable t, Scriptable scope, Context cx) WrapFactory.wrapJavaClass(Context cx, Scriptable scope, Class<?> javaClass) Wrap a Java class as Scriptable instance to allow access to its static members and fields and use as constructor from JavaScript.WrapFactory.wrapNewObject(Context cx, Scriptable scope, Object obj) Wrap an object newly created by a constructor call.RegExpProxy.wrapRegExp(Context cx, Scriptable scope, Object compiled) static ScriptableScriptRuntime.wrapRegExp(Context cx, Scriptable scope, Object compiled) Constructors in org.htmlunit.corejs.javascript with parameters of type ScriptableModifierConstructorDescriptionArrowFunction(Context cx, Scriptable scope, Callable targetFunction, Scriptable boundThis) BaseFunction(Scriptable scope, Scriptable prototype) BoundFunction(Context cx, Scriptable scope, Callable targetFunction, Scriptable boundThis, Object[] boundArgs) (package private)CallFrame(Context cx, Scriptable thisObj, InterpretedFunction fnOrScript, Interpreter.CallFrame parentFrame) (package private)Capability(Context topCx, Scriptable topScope, Object pc) Delegator(Scriptable obj) Create a new Delegator that forwards requests to a delegee Scriptable object.EcmaError(Scriptable nativeError, String sourceName, int lineNumber, int columnNumber, String lineSource) Deprecated.EcmaError error instances should not be constructed explicitly since they are generated by the engine.ES6Generator(Scriptable scope, NativeFunction function, Object savedState) protectedES6Iterator(Scriptable scope, String tag) (package private)FieldAndMethods(Scriptable scope, MemberBox[] methods, Field field) FunctionObject(String name, Member methodOrConstructor, Scriptable scope) Create a JavaScript function object from a Java method.IdFunctionObject(IdFunctionCall idcall, Object tag, int id, String name, int arity, Scriptable scope) IdFunctionObjectES6(IdFunctionCall idcall, Object tag, int id, String name, int arity, Scriptable scope) IdScriptableObject(Scriptable scope, Scriptable prototype) IteratorLikeIterable(Context cx, Scriptable scope, Object target) (package private)JavaIterableIterator(Scriptable scope, Iterable iterable) (package private)JavaMembers(Scriptable scope, Class<?> cl) (package private)JavaMembers(Scriptable scope, Class<?> cl, boolean includeProtected) (package private)JavaMembers_jdk11(Scriptable scope, Class<?> cl, boolean includeProtected) LambdaConstructor(Scriptable scope, String name, int length, int flags, Constructable target) Create a new function and control whether it may be invoked using new, as a function, or both.LambdaConstructor(Scriptable scope, String name, int length, Constructable target) Create a new function that may be used as a constructor.LambdaFunction(Scriptable scope, int length, Callable target) Create a new built-in function, with no name, and no default prototype.LambdaFunction(Scriptable scope, String name, int length, Callable target) Create a new function.NativeArrayIterator(Scriptable scope, Scriptable arrayLike, NativeArrayIterator.ARRAY_ITERATOR_TYPE type) (package private)NativeCall(NativeFunction function, Context cx, Scriptable scope, Object[] args, boolean isArrow, boolean isStrict, boolean argsHasRest) NativeCollectionIterator(Scriptable scope, String className, NativeCollectionIterator.Type type, Iterator<Hashtable.Entry> iterator) NativeGenerator(Scriptable scope, NativeFunction function, Object savedState) NativeJavaArray(Scriptable scope, Object array) NativeJavaClass(Scriptable scope, Class<?> cl) NativeJavaClass(Scriptable scope, Class<?> cl, boolean isAdapter) NativeJavaList(Scriptable scope, Object list) NativeJavaMap(Scriptable scope, Object map) (package private)NativeJavaMapIterator(Scriptable scope, Map<Object, Object> map) NativeJavaObject(Scriptable scope, Object javaObject, Class<?> staticType) NativeJavaObject(Scriptable scope, Object javaObject, Class<?> staticType, boolean isAdapter) privateNativeProxy(ScriptableObject target, Scriptable handler) (package private)NativeStringIterator(Scriptable scope, Object stringLike) protectedNativeWith(Scriptable parent, Scriptable prototype) (package private)PromiseAllResolver(IteratorLikeIterable.Itr iter, Scriptable thisObj, NativePromise.Capability cap, boolean failFast) (package private)ResolvingFunctions(Scriptable topScope, NativePromise promise) ScriptableObject(Scriptable scope, Scriptable prototype) privateSpecialRef(Scriptable target, int type, String name) (package private)StringifyState(Context cx, Scriptable scope, String indent, String gap, Callable replacer, Object[] propertyList) Synchronizer(Scriptable obj) Create a new synchronized function from an existing one.Synchronizer(Scriptable obj, Object syncObject) Create a new synchronized function from an existing one using an explicit object as synchronization object.(package private)WrappedJavaIterator(Iterator<?> iterator, Scriptable scope) -
Uses of Scriptable in org.htmlunit.corejs.javascript.commonjs.module
Classes in org.htmlunit.corejs.javascript.commonjs.module that implement ScriptableModifier and TypeClassDescriptionclassA top-level module scope.classImplements the require() function as defined by Common JS modules.Fields in org.htmlunit.corejs.javascript.commonjs.module declared as ScriptableModifier and TypeFieldDescriptionprivate ScriptableRequire.mainExportsprivate final ScriptableRequire.nativeScopeprivate final ScriptableRequire.pathsFields in org.htmlunit.corejs.javascript.commonjs.module with type parameters of type ScriptableModifier and TypeFieldDescriptionprivate final Map<String, Scriptable> Require.exportedModuleInterfacesprivate static final ThreadLocal<Map<String, Scriptable>> Require.loadingModuleInterfacesMethods in org.htmlunit.corejs.javascript.commonjs.module that return ScriptableModifier and TypeMethodDescriptionRequire.construct(Context cx, Scriptable scope, Object[] args) private ScriptableRequire.executeModuleScript(Context cx, String id, Scriptable exports, ModuleScript moduleScript, boolean isMain) private ScriptableRequire.getExportedModuleInterface(Context cx, String id, URI uri, URI base, boolean isMain) Require.requireMain(Context cx, String mainModuleId) Calling this method establishes a module as being the main module of the program to which this require() instance belongs.Methods in org.htmlunit.corejs.javascript.commonjs.module with parameters of type ScriptableModifier and TypeMethodDescriptionRequire.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Require.construct(Context cx, Scriptable scope, Object[] args) RequireBuilder.createRequire(Context cx, Scriptable globalScope) Creates a new require() function.private ScriptableRequire.executeModuleScript(Context cx, String id, Scriptable exports, ModuleScript moduleScript, boolean isMain) private static voidRequire.executeOptionalScript(Script script, Context cx, Scriptable executionScope) ModuleScriptProvider.getModuleScript(Context cx, String moduleId, URI moduleUri, URI baseUri, Scriptable paths) Returns a module script.voidRequire.install(Scriptable scope) Binds this instance of require() into the specified scope under the property name "require".Constructors in org.htmlunit.corejs.javascript.commonjs.module with parameters of type ScriptableModifierConstructorDescriptionModuleScope(Scriptable prototype, URI uri, URI base) Require(Context cx, Scriptable nativeScope, ModuleScriptProvider moduleScriptProvider, Script preExec, Script postExec, boolean sandboxed) Creates a new instance of the require() function. -
Uses of Scriptable in org.htmlunit.corejs.javascript.commonjs.module.provider
Methods in org.htmlunit.corejs.javascript.commonjs.module.provider with parameters of type ScriptableModifier and TypeMethodDescriptionCachingModuleScriptProviderBase.getModuleScript(Context cx, String moduleId, URI moduleUri, URI baseUri, Scriptable paths) MultiModuleScriptProvider.getModuleScript(Context cx, String moduleId, URI uri, URI base, Scriptable paths) SoftCachingModuleScriptProvider.getModuleScript(Context cx, String moduleId, URI uri, URI base, Scriptable paths) private ModuleSourceModuleSourceProviderBase.loadFromPathArray(String moduleId, Scriptable paths, Object validator) ModuleSourceProvider.loadSource(String moduleId, Scriptable paths, Object validator) Returns the script source of the requested module.ModuleSourceProviderBase.loadSource(String moduleId, Scriptable paths, Object validator) -
Uses of Scriptable in org.htmlunit.corejs.javascript.debug
Methods in org.htmlunit.corejs.javascript.debug with parameters of type ScriptableModifier and TypeMethodDescriptionvoidDebugFrame.onEnter(Context cx, Scriptable activation, Scriptable thisObj, Object[] args) Called when execution is ready to start bytecode interpretation for entered a particular function or script. -
Uses of Scriptable in org.htmlunit.corejs.javascript.engine
Classes in org.htmlunit.corejs.javascript.engine that implement ScriptableModifier and TypeClassDescriptionclassThis class makes the Bindings object into a Scriptable.Methods in org.htmlunit.corejs.javascript.engine that return ScriptableModifier and TypeMethodDescriptionprivate ScriptableRhinoScriptEngine.initScope(Context cx, ScriptContext sc) Methods in org.htmlunit.corejs.javascript.engine with parameters of type ScriptableModifier and TypeMethodDescriptionBindingsObject.get(String name, Scriptable start) private static BuiltinsBuiltins.getSelf(Scriptable scope) booleanBindingsObject.has(String name, Scriptable start) private static booleanRhinoScriptEngine.methodsMissing(Scriptable scope, Class<?> clasz) static voidBuiltins.print(Context cx, Scriptable thisObj, Object[] args, Function f) voidBindingsObject.put(String name, Scriptable start, Object value) -
Uses of Scriptable in org.htmlunit.corejs.javascript.jdk18
Methods in org.htmlunit.corejs.javascript.jdk18 with parameters of type ScriptableModifier and TypeMethodDescriptionprotected ObjectVMBridge_jdk18.newInterfaceProxy(Object proxyHelper, ContextFactory cf, InterfaceAdapter adapter, Object target, Scriptable topScope) -
Uses of Scriptable in org.htmlunit.corejs.javascript.json
Fields in org.htmlunit.corejs.javascript.json declared as ScriptableConstructors in org.htmlunit.corejs.javascript.json with parameters of type Scriptable -
Uses of Scriptable in org.htmlunit.corejs.javascript.optimizer
Fields in org.htmlunit.corejs.javascript.optimizer declared as ScriptableMethods in org.htmlunit.corejs.javascript.optimizer that return ScriptableModifier and TypeMethodDescriptionstatic ScriptableOptRuntime.createNativeGenerator(NativeFunction funObj, Scriptable scope, Scriptable thisObj, int maxLocals, int maxStack) static ScriptableOptRuntime.newArrayLiteral(Object[] objects, String encodedInts, int skipCount, Context cx, Scriptable scope) Methods in org.htmlunit.corejs.javascript.optimizer with parameters of type ScriptableModifier and TypeMethodDescriptionstatic FunctionOptRuntime.bindThis(NativeFunction fn, Context cx, Scriptable scope, Scriptable thisObj) static ObjectOptRuntime.call0(Callable fun, Scriptable thisObj, Context cx, Scriptable scope) Implement ....() call shrinking optimizer code.static ObjectOptRuntime.call1(Callable fun, Scriptable thisObj, Object arg0, Context cx, Scriptable scope) Implement ....(arg) call shrinking optimizer code.static ObjectOptRuntime.call2(Callable fun, Scriptable thisObj, Object arg0, Object arg1, Context cx, Scriptable scope) Implement ....(arg0, arg1) call shrinking optimizer code.static ObjectOptRuntime.callN(Callable fun, Scriptable thisObj, Object[] args, Context cx, Scriptable scope) Implement ....(arg0, arg1, ...) call shrinking optimizer code.static ObjectOptRuntime.callName(Object[] args, String name, Context cx, Scriptable scope) Implement name(args) call shrinking optimizer code.static ObjectOptRuntime.callName0(String name, Context cx, Scriptable scope) Implement name() call shrinking optimizer code.static ObjectOptRuntime.callProp0(Object value, String property, Context cx, Scriptable scope) Implement x.property() call shrinking optimizer code.static ObjectOptRuntime.callSpecial(Context cx, Callable fun, Scriptable thisObj, Object[] args, Scriptable scope, Scriptable callerThis, int callType, String fileName, int lineNumber) Codegen.createFunctionObject(Context cx, Scriptable scope, Object bytecode, Object staticSecurityDomain) static ScriptableOptRuntime.createNativeGenerator(NativeFunction funObj, Scriptable scope, Scriptable thisObj, int maxLocals, int maxStack) static ObjectOptRuntime.elemIncrDecr(Object obj, double index, Context cx, Scriptable scope, int incrDecrMask) static voidOptRuntime.initFunction(NativeFunction fn, int functionType, Scriptable scope, Context cx) static ScriptableOptRuntime.newArrayLiteral(Object[] objects, String encodedInts, int skipCount, Context cx, Scriptable scope) static ObjectOptRuntime.newObjectSpecial(Context cx, Object fun, Object[] args, Scriptable scope, Scriptable callerThis, int callType) Constructors in org.htmlunit.corejs.javascript.optimizer with parameters of type ScriptableModifierConstructorDescription(package private)GeneratorState(Scriptable thisObj, int maxLocals, int maxStack) -
Uses of Scriptable in org.htmlunit.corejs.javascript.regexp
Classes in org.htmlunit.corejs.javascript.regexp that implement ScriptableModifier and TypeClassDescriptionclassThis class implements the RegExp native object.(package private) classLegacy implementation of RegExp was callable, this class exists to preserve this functionality(package private) classThis class implements the RegExp constructor native object.Fields in org.htmlunit.corejs.javascript.regexp declared as ScriptableMethods in org.htmlunit.corejs.javascript.regexp that return ScriptableModifier and TypeMethodDescription(package private) ScriptableNativeRegExp.compile(Context cx, Scriptable scope, Object[] args) NativeRegExpCallable.construct(Context cx, Scriptable scope, Object[] args) NativeRegExpCtor.construct(Context cx, Scriptable scope, Object[] args) RegExpImpl.wrapRegExp(Context cx, Scriptable scope, Object compiled) Methods in org.htmlunit.corejs.javascript.regexp with parameters of type ScriptableModifier and TypeMethodDescriptionRegExpImpl.action(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, int actionType) NativeRegExpCallable.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeRegExpCtor.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) (package private) ScriptableNativeRegExp.compile(Context cx, Scriptable scope, Object[] args) NativeRegExpCallable.construct(Context cx, Scriptable scope, Object[] args) NativeRegExpCtor.construct(Context cx, Scriptable scope, Object[] args) private static NativeRegExpRegExpImpl.createRegExp(Context cx, Scriptable scope, Object[] args, int optarg, boolean forceFlat) NativeRegExp.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) (package private) ObjectNativeRegExp.execSub(Context cx, Scriptable scopeObj, Object[] args, int matchType) (package private) ObjectNativeRegExp.executeRegExp(Context cx, Scriptable scope, RegExpImpl res, String str, int[] indexp, int matchType) private static intRegExpImpl.find_split(Context cx, Scriptable scope, String target, String separator, int version, RegExpProxy reProxy, Scriptable re, int[] ip, int[] matchlen, boolean[] matched, String[][] parensp) intRegExpImpl.find_split(Context cx, Scriptable scope, String target, String separator, Scriptable reObj, int[] ip, int[] matchlen, boolean[] matched, String[][] parensp) static voidNativeRegExp.init(Context cx, Scriptable scope, boolean sealed) booleanRegExpImpl.isRegExp(Scriptable obj) RegExpImpl.js_split(Context cx, Scriptable scope, String target, Object[] args) private static voidRegExpImpl.match_glob(GlobData mdata, Context cx, Scriptable scope, int count, RegExpImpl reImpl) private static ObjectRegExpImpl.matchOrReplace(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, RegExpImpl reImpl, GlobData data, NativeRegExp re) Analog of C match_or_replace.private static NativeRegExpNativeRegExp.realThis(Scriptable thisObj, IdFunctionObject f) private static voidRegExpImpl.replace_glob(GlobData rdata, Context cx, Scriptable scope, RegExpImpl reImpl, int leftIndex, int leftlen) (package private) static NativeRegExpNativeRegExpInstantiator.withLanguageVersionScopeCompiled(int languageVersion, Scriptable scope, RECompiled compiled) RegExpImpl.wrapRegExp(Context cx, Scriptable scope, Object compiled) Constructors in org.htmlunit.corejs.javascript.regexp with parameters of type ScriptableModifierConstructorDescription(package private)NativeRegExp(Scriptable scope, RECompiled regexpCompiled) (package private)NativeRegExpCallable(Scriptable scope, RECompiled compiled) -
Uses of Scriptable in org.htmlunit.corejs.javascript.serialize
Fields in org.htmlunit.corejs.javascript.serialize declared as ScriptableModifier and TypeFieldDescriptionprivate ScriptableScriptableInputStream.scopeprivate ScriptableScriptableOutputStream.scopeMethods in org.htmlunit.corejs.javascript.serialize with parameters of type ScriptableModifier and TypeMethodDescription(package private) static ObjectScriptableOutputStream.lookupQualifiedName(Scriptable scope, String qualifiedName) Constructors in org.htmlunit.corejs.javascript.serialize with parameters of type ScriptableModifierConstructorDescriptionScriptableInputStream(InputStream in, Scriptable scope) Create a ScriptableInputStream.ScriptableOutputStream(OutputStream out, Scriptable scope) ScriptableOutputStream constructor. -
Uses of Scriptable in org.htmlunit.corejs.javascript.tools.debugger
Fields in org.htmlunit.corejs.javascript.tools.debugger declared as ScriptableModifier and TypeFieldDescriptionprivate ScriptableDim.StackFrame.scopeThe scope.private ScriptableMain.IProxy.scopeThe scope object to expose whenMain.IProxy.type=Main.IProxy.SCOPE_PROVIDER.private ScriptableDim.StackFrame.thisObjThe 'this' object.Methods in org.htmlunit.corejs.javascript.tools.debugger that return ScriptableModifier and TypeMethodDescriptionMain.IProxy.getScope()Returns the scope for script evaluations.ScopeProvider.getScope()Returns the scope object to be used for script evaluation.Methods in org.htmlunit.corejs.javascript.tools.debugger with parameters of type ScriptableModifier and TypeMethodDescriptionstatic MainMain.mainEmbedded(ContextFactory factory, Scriptable scope, String title) Entry point for embedded applications.static ScopeProviderMain.IProxy.newScopeProvider(Scriptable scope) Creates a new IProxy that acts as aScopeProvider.voidDim.StackFrame.onEnter(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Called when the stack frame is entered.voidMain.setScope(Scriptable scope) Sets the scope to be used for script evaluation. -
Uses of Scriptable in org.htmlunit.corejs.javascript.tools.shell
Classes in org.htmlunit.corejs.javascript.tools.shell that implement ScriptableModifier and TypeClassDescriptionclassEnvironment, intended to be instantiated at global scope, provides a natural way to access System properties from JavaScript.classThis class provides for sharing functions across multiple threads.Fields in org.htmlunit.corejs.javascript.tools.shell declared as ScriptableModifier and TypeFieldDescriptionprivate ScriptableFlexibleCompletor.globalprivate ScriptableRunner.scopeMethods in org.htmlunit.corejs.javascript.tools.shell that return ScriptableModifier and TypeMethodDescription(package private) static Scriptable(package private) static ScriptableMain.getShellScope()Methods in org.htmlunit.corejs.javascript.tools.shell with parameters of type ScriptableModifier and TypeMethodDescriptionprotected voidJavaPolicySecurity.callProcessFileSecure(Context cx, Scriptable scope, String filename) protected abstract voidSecurityProxy.callProcessFileSecure(Context cx, Scriptable scope, String filename) JavaPolicySecurity.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args) static voidGlobal.defineClass(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) Load a Java class that defines a JavaScript object using the conventions outlined in ScriptableObject.defineClass.static ObjectGlobal.deserialize(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) static ObjectGlobal.doctest(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) Example: doctest("js> function f() {\n > return 3;\n > }\njs> f();\n3\n"); returns 2 (since 2 tests were executed).private booleanTimers.executeNext(Context cx, Scriptable scope) Put up to one task on the context's "microtask queue." If the next task is not ready to run for some time, then block the calling thread until the time is up.static voidGlobal.gc(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) Environment.get(String name, Scriptable start) static ShellConsoleShellConsole.getConsole(Scriptable scope, Charset cs) Provides a specializedShellConsoleto handle line editing, history and completion.private static ShellConsole.JLineShellConsoleV1ShellConsole.getJLineShellConsoleV1(ClassLoader classLoader, Class<?> readerClass, Scriptable scope, Charset cs) private static ShellConsole.JLineShellConsoleV2ShellConsole.getJLineShellConsoleV2(ClassLoader classLoader, Class<?> readerClass, Scriptable scope, Charset cs) static InputStreamShellLine.getStream(Scriptable scope) Deprecated.booleanEnvironment.has(String name, Scriptable start) static voidGlobal.help(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) Print a help message.voidTimers.install(Scriptable scope) Initialize the "setTimeout" and "clearTimeout" functions on the specified scope.static voidGlobal.load(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) Load and execute a set of JavaScript source files.static voidGlobal.loadClass(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) Load and execute a script compiled to a class file.static ObjectGlobal.print(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) Print the string values of its arguments.voidShellConsolePrinter.print(Context cx, Scriptable scope, NativeConsole.Level level, Object[] args, ScriptStackElement[] stack) static voidMain.processFile(Context cx, Scriptable scope, String filename) static voidMain.processFileNoThrow(Context cx, Scriptable scope, String filename) (package private) static voidMain.processFileSecure(Context cx, Scriptable scope, String path, Object securityDomain) voidEnvironment.put(String name, Scriptable start, Object value) static voidGlobal.quit(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) Call embedding-specific quit action passing its argument as int32 exit code.static ObjectGlobal.readFile(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) The readFile reads the given file content and convert it to a string using the specified character coding or default character coding if explicit coding argument is not given.static ObjectGlobal.readline(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) The readline reads one line from the standard input.static ObjectGlobal.readUrl(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) The readUrl opens connection to the given URL, read all its data and converts them to a string using the specified character coding or default character coding if explicit coding argument is not given.voidTimers.runAllTimers(Context cx, Scriptable scope) Execute all pending timers and microtasks, blocking the thread if we need to wait for any timers to time out.static ObjectGlobal.runCommand(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) Execute the specified command with the given argument and options as a separate process and return the exit status of the process.intGlobal.runDoctest(Context cx, Scriptable scope, String session, String sourceName, int lineNumber) static voidGlobal.seal(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) The seal function seals all supplied arguments.static voidGlobal.serialize(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) static ObjectGlobal.spawn(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) The spawn function runs a given function or script in a different thread.static ObjectGlobal.sync(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) The sync function creates a synchronized function (in the sense of a Java synchronized method) from an existing function.static ObjectGlobal.toint32(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) Convert the argument to int32 number.static doubleGlobal.version(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) Get and set the language version.static ObjectGlobal.write(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Function funObj) Print just as in "print," but without the trailing newline.Constructors in org.htmlunit.corejs.javascript.tools.shell with parameters of type ScriptableModifierConstructorDescription(package private)FlexibleCompletor(Class<?> completorClass, Scriptable global) (package private)Runner(Scriptable scope, Function func, Object[] args) (package private)Runner(Scriptable scope, Script script) -
Uses of Scriptable in org.htmlunit.corejs.javascript.typedarrays
Classes in org.htmlunit.corejs.javascript.typedarrays that implement ScriptableModifier and TypeClassDescriptionclassA NativeArrayBuffer is the backing buffer for a typed array.classThis class is the abstract parent for all views of the array.classThis class represents the JavaScript "DataView" interface, which allows direct manipulations of the bytes in a NativeArrayBuffer.classAn array view that stores 32-bit quantities and implements the JavaScript "loat32Array" interface.classAn array view that stores 64-bit quantities and implements the JavaScript "Float64Array" interface.classAn array view that stores 16-bit quantities and implements the JavaScript "Int16Array" interface.classAn array view that stores 32-bit quantities and implements the JavaScript "Int32Array" interface.classAn array view that stores 8-bit quantities and implements the JavaScript "Int8Array" interface.classThis class is the abstract parent for all of the various typed arrays.classAn array view that stores 16-bit quantities and implements the JavaScript "Uint16Array" interface.classAn array view that stores 32-bit quantities and implements the JavaScript "Uint32Array" interface.classAn array view that stores 8-bit quantities and implements the JavaScript "Uint8Array" interface.classAn array view that stores 8-bit quantities and implements the JavaScript "Uint8ClampedArray" interface.Methods in org.htmlunit.corejs.javascript.typedarrays with parameters of type ScriptableModifier and TypeMethodDescriptionNativeArrayBuffer.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeDataView.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeTypedArrayView.execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeArrayBufferView.get(Symbol key, Scriptable start) NativeTypedArrayView.get(int index, Scriptable start) NativeTypedArrayView.get(String name, Scriptable start) booleanNativeTypedArrayView.has(int index, Scriptable start) booleanNativeTypedArrayView.has(String name, Scriptable start) static voidNativeArrayBuffer.init(Context cx, Scriptable scope, boolean sealed) static voidNativeDataView.init(Context cx, Scriptable scope, boolean sealed) static voidNativeFloat32Array.init(Context cx, Scriptable scope, boolean sealed) static voidNativeFloat64Array.init(Context cx, Scriptable scope, boolean sealed) static voidNativeInt16Array.init(Context cx, Scriptable scope, boolean sealed) static voidNativeInt32Array.init(Context cx, Scriptable scope, boolean sealed) static voidNativeInt8Array.init(Context cx, Scriptable scope, boolean sealed) static voidNativeUint16Array.init(Context cx, Scriptable scope, boolean sealed) static voidNativeUint32Array.init(Context cx, Scriptable scope, boolean sealed) static voidNativeUint8Array.init(Context cx, Scriptable scope, boolean sealed) static voidNativeUint8ClampedArray.init(Context cx, Scriptable scope, boolean sealed) private ObjectNativeTypedArrayView.js_at(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private NativeTypedArrayView<T> NativeTypedArrayView.js_constructor(Context cx, Scriptable scope, Object[] args) private ObjectNativeTypedArrayView.js_subarray(Context cx, Scriptable scope, int s, int e) private NativeArrayBufferNativeTypedArrayView.makeArrayBuffer(Context cx, Scriptable scope, int length) voidNativeTypedArrayView.put(int index, Scriptable start, Object val) voidNativeTypedArrayView.put(String name, Scriptable start, Object val) private static NativeArrayBufferNativeArrayBuffer.realThis(Scriptable thisObj, IdFunctionObject f) private static NativeDataViewNativeDataView.realThis(Scriptable thisObj, IdFunctionObject f) protected NativeFloat32ArrayNativeFloat32Array.realThis(Scriptable thisObj, IdFunctionObject f) protected NativeFloat64ArrayNativeFloat64Array.realThis(Scriptable thisObj, IdFunctionObject f) protected NativeInt16ArrayNativeInt16Array.realThis(Scriptable thisObj, IdFunctionObject f) protected NativeInt32ArrayNativeInt32Array.realThis(Scriptable thisObj, IdFunctionObject f) protected NativeInt8ArrayNativeInt8Array.realThis(Scriptable thisObj, IdFunctionObject f) protected abstract NativeTypedArrayView<T> NativeTypedArrayView.realThis(Scriptable thisObj, IdFunctionObject f) protected NativeUint16ArrayNativeUint16Array.realThis(Scriptable thisObj, IdFunctionObject f) protected NativeUint32ArrayNativeUint32Array.realThis(Scriptable thisObj, IdFunctionObject f) protected NativeUint8ArrayNativeUint8Array.realThis(Scriptable thisObj, IdFunctionObject f) protected NativeUint8ClampedArrayNativeUint8ClampedArray.realThis(Scriptable thisObj, IdFunctionObject f) -
Uses of Scriptable in org.htmlunit.corejs.javascript.xml
Classes in org.htmlunit.corejs.javascript.xml that implement ScriptableModifier and TypeClassDescriptionclassThis Interface describes what all XML objects (XML, XMLList) should have in common.Methods in org.htmlunit.corejs.javascript.xml that return ScriptableModifier and TypeMethodDescriptionabstract ScriptableXMLObject.getExtraMethodSource(Context cx) Return an additional object to look for methods that runtime should consider during method search.Methods in org.htmlunit.corejs.javascript.xml with parameters of type ScriptableModifier and TypeMethodDescriptionprotected final XMLLibXMLLib.bindToScope(Scriptable scope) abstract NativeWithXMLObject.enterDotQuery(Scriptable scope) Wrap this object into NativeWith to implement the .() query.abstract NativeWithXMLObject.enterWith(Scriptable scope) Wrap this object into NativeWith to implement the with statement.static XMLLibXMLLib.extractFromScope(Scriptable scope) static XMLLibXMLLib.extractFromScopeOrNull(Scriptable scope) abstract RefXMLLib.nameRef(Context cx, Object namespace, Object name, Scriptable scope, int memberTypeFlags) abstract RefXMLLib.nameRef(Context cx, Object name, Scriptable scope, int memberTypeFlags) Constructors in org.htmlunit.corejs.javascript.xml with parameters of type Scriptable
ScriptRuntime.createArrowFunctionActivation(NativeFunction, Context, Scriptable, Object[], boolean, boolean)instead