Uses of Interface
org.mozilla.javascript.Scriptable
Package
Description
Provides the public API for the CommonJS Modules/1.1 implementation.
Provides default implementations for module providers.
-
Uses of Scriptable in org.loboevolution.html.js
Modifier and TypeMethodDescriptionWindowImpl.getWindowScope
(Context context) Getter for the field windowScope.Modifier and TypeMethodDescriptionstatic boolean
Executor.executeFunction
(Scriptable thisScope, Function f, LoboContextFactory contextFactory) executeFunction. -
Uses of Scriptable in org.loboevolution.html.js.xml
ModifierConstructorDescriptionXMLHttpRequestImpl
(HTMLDocumentImpl document, Scriptable scriptable, Window window) Constructor for XMLHttpRequestImpl. -
Uses of Scriptable in org.loboevolution.js
Modifier and TypeClassDescriptionclass
JavaConstructorObject class.class
JavaFunctionObject class.class
JavaObjectWrapper class.Modifier and TypeMethodDescriptionJavaConstructorObject.construct
(Context cx, Scriptable scope, Object[] args) Call the function as a constructor.JavaFunctionObject.construct
(Context cx, Scriptable scope, Object[] args) Call the function as a constructor.AbstractScriptableDelegate.getScriptable()
getScriptable.ScriptableDelegate.getScriptable()
getScriptable.Modifier and TypeMethodDescriptionJavaConstructorObject.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Call the function.JavaFunctionObject.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Call the function.JavaConstructorObject.construct
(Context cx, Scriptable scope, Object[] args) Call the function as a constructor.JavaFunctionObject.construct
(Context cx, Scriptable scope, Object[] args) Call the function as a constructor.void
JavaScript.defineElementClass
(Scriptable scope, Document document, String jsClassName, String elementName, Class<?> javaClass) void
JavaScript.defineJsObject
(Scriptable scope, String jsClassName, Class<?> javaClass, JavaInstantiator instantiator) JavaObjectWrapper.get
(int index, Scriptable start) Returns the value of the indexed property or NOT_FOUND.JavaObjectWrapper.get
(String name, Scriptable start) Returns the value of the named property or NOT_FOUND.JavaScript.getJavascriptObject
(Object raw, Scriptable scope) Returns an object that may be used by the Javascript engine.void
JavaObjectWrapper.put
(int index, Scriptable start, Object value) Sets the value of the indexed property, creating it if need be.void
JavaObjectWrapper.put
(String name, Scriptable start, Object value) Sets the value of the named property, creating it if need be.void
AbstractScriptableDelegate.setScriptable
(Scriptable scriptable) setScriptable.void
ScriptableDelegate.setScriptable
(Scriptable scriptable) setScriptable. -
Uses of Scriptable in org.mozilla.javascript
Modifier and TypeInterfaceDescriptioninterface
This is interface that all functions in JavaScript must implement.Modifier and TypeClassDescriptionclass
The class for Arrow Function Definitions EcmaScript 6 Rev 14, March 8, 2013 Draft spec , 13.2class
The base class for Function objects.class
The class for results of the Function.bind operation EcmaScript 5 spec, 15.3.4.5class
This is a helper class for implementing wrappers around Scriptable objects.final class
class
class
class
class
class
Base class for native object implementation that uses IdFunctionObject to export its methods to script via <class-name>.prototype object.class
Class ImporterTopLevelclass
This class implements a JavaScript function that may be used as a constructor by delegating to an interface that can be easily implemented as a lambda.class
This class implements a single JavaScript function that has the prototype of the built-in Function class, and which is implemented using a single function that can easily be implemented using a lambda expression.class
This class implements the Array native object.final class
final class
This class implements the activation object.class
This class is used by the V8 extension "Error.prepareStackTrace."class
class
final class
class
This class implements the Function native object.final class
This class implements generator objects.final class
This class implements iterator objects.static class
class
This class reflects Java arrays into the JavaScript environment.class
This class reflects Java classes into the JavaScript environment, mainly for constructors and static members.class
This class reflects a single Java constructor into the JavaScript environment.class
NativeJavaList
is a wrapper for java objects implementingjava.util.List
interface.class
NativeJavaMap
is a wrapper for java objects implementingjava.util.Map
interface.class
This class reflects Java methods into the JavaScript environment and handles overloading of methods.class
This class reflects non-Array Java objects into the JavaScript environment.class
This class reflects Java packages into the JavaScript environment.class
This class reflects Java packages into the JavaScript environment.final class
This class implements the JSON native object.class
class
This class implements the Object native object.class
class
final class
class
This is an implementation of the standard "Symbol" type that implements all of its weird properties.class
This is an implementation of the ES6 WeakMap class.class
This is an implementation of the ES6 WeakSet class.class
This class implements the object lookup required for thewith
statement.class
This is the default implementation of the Scriptable interface.class
This class provides support for implementing Java-style synchronized methods in Javascript.class
A top-level scope object that provides special means to cache and preserve the initial values of the built-in constructor properties for better ECMAScript compliance.Modifier and TypeFieldDescriptionprotected Scriptable
Delegator.obj
protected Scriptable
NativeJavaObject.parent
The parent scope of this object.protected Scriptable
NativeWith.parent
protected Scriptable
NativeJavaObject.prototype
The prototype of this object.protected Scriptable
NativeWith.prototype
static final Scriptable
Undefined.SCRIPTABLE_UNDEFINED
An alternate representation of undefined, to be used only when we need to pass it to a method that takes as Scriptable as a parameter.Modifier and TypeMethodDescriptionstatic <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.Modifier and TypeMethodDescriptionstatic Scriptable
ScriptRuntime.bind
(Context cx, Scriptable scope, String id) Returns the object in the scope chain that has a given property.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 thedelegee
isnull
, 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) static Scriptable
JavaAdapter.createAdapterWrapper
(Scriptable obj, Object adapter) static Scriptable
ScriptRuntime.createArrowFunctionActivation
(NativeFunction funObj, Context cx, Scriptable scope, Object[] args, boolean isStrict, boolean argsHasRest) static Scriptable
ScriptRuntime.createArrowFunctionActivation
(NativeFunction funObj, Scriptable scope, Object[] args, boolean isStrict) Deprecated.static Scriptable
ScriptRuntime.createFunctionActivation
(NativeFunction funObj, Context cx, Scriptable scope, Object[] args, boolean isStrict, boolean argsHasRest) static Scriptable
ScriptRuntime.createFunctionActivation
(NativeFunction funObj, Scriptable scope, Object[] args) static Scriptable
ScriptRuntime.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 newScriptable
instance using the default constructor for the class of the underlying Java method.IdFunctionObject.createObject
(Context cx, Scriptable scope) protected static Scriptable
ScriptableObject.ensureScriptable
(Object arg) static Scriptable
ScriptRuntime.enterDotQuery
(Object value, Scriptable scope) static Scriptable
ScriptRuntime.enterWith
(Object obj, Context cx, Scriptable scope) static Scriptable
ScriptableObject.getArrayPrototype
(Scriptable scope) static Scriptable
TopLevel.getBuiltinPrototype
(Scriptable scope, TopLevel.Builtins type) Static helper method to get a built-in object prototype with the giventype
from the givenscope
.TopLevel.getBuiltinPrototype
(TopLevel.Builtins type) Get the cached built-in object prototype from this scope with the giventype
.protected Scriptable
BaseFunction.getClassPrototype()
static Scriptable
ScriptableObject.getClassPrototype
(Scriptable scope, String className) Get the prototype for the named class.Delegator.getDelegee()
Retrieve the delegee.EcmaError.getErrorObject()
Deprecated.Always returns null.static Scriptable
ScriptableObject.getFunctionPrototype
(Scriptable scope) Get the Function.prototype property.static Scriptable
ScriptableObject.getGeneratorFunctionPrototype
(Scriptable scope) static Scriptable
ScriptableObject.getObjectPrototype
(Scriptable scope) Get the Object.prototype property.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()
NativeWith.getPrototype()
Scriptable.getPrototype()
Get the prototype of the object.ScriptableObject.getPrototype()
Returns the prototype of the object.static Scriptable
ScriptRuntime.getTemplateLiteralCallSite
(Context cx, Scriptable scope, Object[] strings, int index) static Scriptable
ScriptRuntime.getTopCallScope
(Context cx) static Scriptable
ScriptableObject.getTopLevelScope
(Scriptable obj) Get the global scope.final Scriptable
Context.initSafeStandardObjects
(ScriptableObject scope) Initialize the standard objects, leaving out those that offer access directly to Java classes.final Scriptable
Context.initStandardObjects
(ScriptableObject scope) Initialize the standard objects.static Scriptable
ScriptRuntime.lastStoredScriptable
(Context cx) static Scriptable
ScriptRuntime.leaveDotQuery
(Scriptable scope) static Scriptable
ScriptRuntime.leaveWith
(Scriptable scope) 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 Scriptable
ScriptRuntime.newArrayLiteral
(Object[] objects, int[] skipIndices, Context cx, Scriptable scope) static Scriptable
ScriptRuntime.newBuiltinObject
(Context cx, Scriptable scope, TopLevel.Builtins type, Object[] args) static Scriptable
ScriptRuntime.newCatchScope
(Throwable t, Scriptable lastCatchScope, String exceptionName, Context cx, Scriptable scope) 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 Scriptable
ScriptRuntime.newObject
(Object fun, Context cx, Scriptable scope, Object[] args) Operator new.static Scriptable
ScriptRuntime.newObject
(Context cx, Scriptable scope, String constructorName, Object[] args) static Scriptable
ScriptRuntime.newObjectLiteral
(Object[] propertyIds, Object[] propertyValues, int[] getterSetters, Context cx, Scriptable scope) static Scriptable
ScriptRuntime.newObjectLiteral
(Object[] propertyIds, Object[] propertyValues, Context cx, Scriptable scope) Deprecated.static Scriptable
static Scriptable
ScriptRuntime.toIterator
(Context cx, Scriptable scope, Scriptable obj, boolean keyOnly) static Scriptable
Context.toObject
(Object value, Scriptable scope) Convert the value to an JavaScript object value.static Scriptable
Context.toObject
(Object value, Scriptable scope, Class<?> staticType) Deprecated.static Scriptable
ScriptRuntime.toObject
(Context cx, Scriptable scope, Object val) Convert the value to an object.static Scriptable
ScriptRuntime.toObject
(Context cx, Scriptable scope, Object val, Class<?> staticClass) Deprecated.UseScriptRuntime.toObject(Context, Scriptable, Object)
instead.static Scriptable
ScriptRuntime.toObject
(Scriptable scope, Object val) static Scriptable
ScriptRuntime.toObject
(Scriptable scope, Object val, Class<?> staticClass) Deprecated.UseScriptRuntime.toObject(Scriptable, Object)
instead.static Scriptable
ScriptRuntime.toObjectOrNull
(Context cx, Object obj) Deprecated.static Scriptable
ScriptRuntime.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 Scriptable
ScriptRuntime.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 Scriptable
ScriptRuntime.wrapRegExp
(Context cx, Scriptable scope, Object compiled) Modifier and TypeMethodDescriptionRegExpProxy.action
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, int actionType) void
FunctionObject.addAsConstructor
(Scriptable scope, Scriptable prototype) Define this function as a JavaScript constructor.void
FunctionObject.addAsConstructor
(Scriptable scope, Scriptable prototype, int attributes) Define this function as a JavaScript constructor.final void
IdFunctionObject.addAsProperty
(Scriptable target) protected void
IdScriptableObject.addIdFunctionProperty
(Scriptable obj, Object tag, int id, String name, int arity) static void
ScriptRuntimeES6.addSymbolSpecies
(Context cx, Scriptable scope, IdScriptableObject constructor) Registers the symbol[Symbol.species]
on the given constructor function.static void
ScriptRuntimeES6.addSymbolUnscopables
(Context cx, Scriptable scope, IdScriptableObject constructor) Registers the symbol[Symbol.unscopables]
on the given constructor function.static Object
ScriptRuntime.applyOrCall
(boolean isApply, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Function.prototype.apply and Function.prototype.callstatic Scriptable
ScriptRuntime.bind
(Context cx, Scriptable scope, String id) Returns the object in the scope chain that has a given property.protected static ScriptableObject
ScriptableObject.buildDataDescriptor
(Scriptable scope, Object value, int attributes) void
TopLevel.cacheBuiltins
(Scriptable scope, boolean sealed) Cache the built-in ECMAScript objects to protect them against modifications by the script.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 Object
Context.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) 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) abstract Object
PolicySecurityController.SecureCaller.call
(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) static Object
Deprecated.The method is only present for compatibility.abstract Object
SecureCaller.call
(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Synchronizer.call
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Context.callFunctionWithContinuations
(Callable function, Scriptable scope, Object[] args) Call function that may pause execution by capturing a continuation.static Object
ScriptRuntime.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 Object
JavaAdapter.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 Object
ScriptableObject.callMethod
(Context cx, Scriptable obj, String methodName, Object[] args) Call a method of an object.static Object
ScriptableObject.callMethod
(Scriptable obj, String methodName, Object[] args) Call a method of an object.static Ref
ScriptRuntime.callRef
(Callable function, Scriptable thisObj, Object[] args, Context cx) Perform function call in reference context.static Object
ScriptRuntime.callSpecial
(Context cx, Callable fun, Scriptable thisObj, Object[] args, Scriptable scope, Scriptable callerThis, int callType, String filename, int lineNumber, boolean isOptionalChainingCall) 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.final Function
Context.compileFunction
(Scriptable scope, String source, String sourceName, int lineno, Object securityDomain) Compile a JavaScript function.protected Object
Context.compileImpl
(Scriptable scope, String sourceString, String sourceName, int lineno, Object securityDomain, boolean returnFunction, Evaluator compiler, ErrorReporter compilationErrorReporter) final Script
Context.compileReader
(Scriptable scope, Reader in, String sourceName, int lineno, Object securityDomain) Deprecated.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 thedelegee
isnull
, 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) static EcmaError
NativeGlobal.constructError
(Context cx, String error, String message, Scriptable scope) Deprecated.UseScriptRuntime.constructError(String,String)
instead.static EcmaError
NativeGlobal.constructError
(Context cx, String error, String message, Scriptable scope, String sourceName, int lineNumber, int columnNumber, String lineSource) Deprecated.static Object
FunctionObject.convertArg
(Context cx, Scriptable scope, Object arg, int typeTag) static Object
FunctionObject.convertArg
(Context cx, Scriptable scope, Object arg, Class<?> desired) Deprecated.UseFunctionObject.getTypeTag(Class)
andFunctionObject.convertArg(Context, Scriptable, Object, int)
for type conversion.static <T> T
LambdaConstructor.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.static Scriptable
JavaAdapter.createAdapterWrapper
(Scriptable obj, Object adapter) static Scriptable
ScriptRuntime.createArrowFunctionActivation
(NativeFunction funObj, Context cx, Scriptable scope, Object[] args, boolean isStrict, boolean argsHasRest) static Scriptable
ScriptRuntime.createArrowFunctionActivation
(NativeFunction funObj, Scriptable scope, Object[] args, boolean isStrict) static Scriptable
ScriptRuntime.createFunctionActivation
(NativeFunction funObj, Context cx, Scriptable scope, Object[] args, boolean isStrict, boolean argsHasRest) static Scriptable
ScriptRuntime.createFunctionActivation
(NativeFunction funObj, Scriptable scope, Object[] args) static Scriptable
ScriptRuntime.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) BaseFunction.createObject
(Context cx, Scriptable scope) Creates new script object.FunctionObject.createObject
(Context cx, Scriptable scope) Return newScriptable
instance using the default constructor for the class of the underlying Java method.IdFunctionObject.createObject
(Context cx, Scriptable scope) 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.void
ConstProperties.defineConst
(String name, Scriptable start) Reserves a definition spot for a const.void
ScriptableObject.defineConst
(String name, Scriptable start) static void
ScriptableObject.defineConstProperty
(Scriptable destination, String propertyName) Utility method to add properties to arbitrary Scriptable object.void
LambdaConstructor.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.void
LambdaConstructor.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.void
LambdaConstructor.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.void
ScriptableObject.defineProperty
(Scriptable scope, String name, int length, Callable target, int attributes, int propertyAttributes) Utility method to add lambda properties to arbitrary Scriptable object.static void
ScriptableObject.defineProperty
(Scriptable destination, String propertyName, Object value, int attributes) Utility method to add properties to arbitrary Scriptable object.void
LambdaConstructor.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.void
LambdaConstructor.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.void
LambdaConstructor.definePrototypeMethod
(Scriptable scope, SymbolKey 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 Object
ScriptRuntime.delete
(Object obj, Object id, Context cx, Scriptable scope, boolean isName) The delete operatorstatic boolean
ScriptRuntime.deleteObjectElem
(Scriptable target, Object elem, Context cx) static boolean
ScriptableObject.deleteProperty
(Scriptable obj, int index) Removes the property from an object or its prototype chain.static boolean
ScriptableObject.deleteProperty
(Scriptable obj, String name) Removes the property from an object or its prototype chain.protected Object
ContextFactory.doTopCall
(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Execute top call to script or function.static Object
ScriptRuntime.doTopCall
(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Deprecated.static Object
ScriptRuntime.doTopCall
(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args, boolean isTopLevelStrict) static Object
ScriptRuntime.elemIncrDecr
(Object obj, Object index, Context cx, Scriptable scope, int incrDecrMask) static void
ScriptRuntime.enterActivationFunction
(Context cx, Scriptable scope) static Scriptable
ScriptRuntime.enterDotQuery
(Object value, Scriptable scope) static Scriptable
ScriptRuntime.enterWith
(Object obj, Context cx, Scriptable scope) static Object
ScriptRuntime.enumInit
(Object value, Context cx, Scriptable scope, int enumType) static Object
ScriptRuntime.evalSpecial
(Context cx, Scriptable scope, Object thisArg, Object[] args, String filename, int lineNumber) The eval function property of the global object.final Object
Context.evaluateReader
(Scriptable scope, Reader in, String sourceName, int lineno, Object securityDomain) Evaluate a reader as JavaScript source.final Object
Context.evaluateString
(Scriptable scope, String source, String sourceName, int lineno, Object securityDomain) Evaluate a JavaScript source string.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) 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) 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) NativeObject.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) NativeSet.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)
.final IdFunctionObject
IdScriptableObject.exportAsJSClass
(int maxPrototypeId, Scriptable scope, boolean sealed) static void
ScriptRuntime.fillObjectLiteral
(Scriptable object, Object[] propertyIds, Object[] propertyValues, int[] getterSetters, Context cx, Scriptable scope) int
RegExpProxy.find_split
(Context cx, Scriptable scope, String target, String separator, Scriptable re, int[] ip, int[] matchlen, boolean[] matched, String[][] parensp) static String
NativeConsole.format
(Context cx, Scriptable scope, Object[] args) static ClassCache
ClassCache.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) 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) 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.static Object[]
ScriptRuntime.getArrayElements
(Scriptable object) static Scriptable
ScriptableObject.getArrayPrototype
(Scriptable scope) final int
ScriptableObject.getAttributes
(int index, Scriptable start) Deprecated.final int
ScriptableObject.getAttributes
(String name, Scriptable start) Deprecated.static Function
TopLevel.getBuiltinCtor
(Context cx, Scriptable scope, TopLevel.Builtins type) Static helper method to get a built-in object constructor with the giventype
from the givenscope
.static Scriptable
TopLevel.getBuiltinPrototype
(Scriptable scope, TopLevel.Builtins type) Static helper method to get a built-in object prototype with the giventype
from the givenscope
.static Scriptable
ScriptableObject.getClassPrototype
(Scriptable scope, String className) Get the prototype for the named class.static Object
ScriptableObject.getDefaultValue
(Scriptable object, Class<?> typeHint) final Object[]
Context.getElements
(Scriptable object) Get the elements of a JavaScript array.static Callable
ScriptRuntime.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.static Callable
ScriptRuntime.getElemFunctionAndThisOptional
(Object obj, Object elem, Context cx, Scriptable scope) static Function
ScriptRuntime.getExistingCtor
(Context cx, Scriptable scope, String constructorName) static Function
JavaAdapter.getFunction
(Scriptable obj, String functionName) static Scriptable
ScriptableObject.getFunctionPrototype
(Scriptable scope) Get the Function.prototype property.static Scriptable
ScriptableObject.getGeneratorFunctionPrototype
(Scriptable scope) ScriptableObject.getGetterOrSetter
(String name, int index, Scriptable scope, boolean isSetter) Get the getter or setter for a given property.static ScriptableObject
ScriptRuntime.getLibraryScopeOrNull
(Scriptable scope) static Callable
ScriptRuntime.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.static Callable
ScriptRuntime.getNameFunctionAndThisOptional
(String name, Context cx, Scriptable scope) static Object
ScriptRuntime.getObjectElem
(Object obj, Object elem, Context cx, Scriptable scope) Call obj.static Object
ScriptRuntime.getObjectElem
(Scriptable obj, Object elem, Context cx) static Object
ScriptRuntime.getObjectIndex
(Object obj, double dblIndex, Context cx, Scriptable scope) A cheaper and less general version of the above for well-known argument types.static Object
ScriptRuntime.getObjectIndex
(Scriptable obj, int index, Context cx) static Object
ScriptRuntime.getObjectProp
(Object obj, String property, Context cx, Scriptable scope) Version of getObjectElem when elem is a valid JS identifier name.static Object
ScriptRuntime.getObjectProp
(Scriptable obj, String property, Context cx) static Object
ScriptRuntime.getObjectPropNoWarn
(Object obj, String property, Context cx, Scriptable scope) static Scriptable
ScriptableObject.getObjectPrototype
(Scriptable scope) Get the Object.prototype property.static Object
ScriptableObject.getProperty
(Scriptable obj, int index) Gets an indexed property from an object or any object in its prototype chain.static Object
ScriptableObject.getProperty
(Scriptable obj, String name) Gets a named property from an object or any object in its prototype chain.static Object
ScriptableObject.getProperty
(Scriptable obj, Symbol key) This is a version of getProperty that works with Symbols.static Object[]
ScriptableObject.getPropertyIds
(Scriptable obj) Returns an array of all ids from an object and its prototypes.static Callable
ScriptRuntime.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.static Callable
ScriptRuntime.getPropFunctionAndThisOptional
(Object obj, String property, Context cx, Scriptable scope) static Comparator
<Object> ArrayLikeAbstractOperations.getSortComparator
(Context cx, Scriptable scope, Object[] args) ArrayLikeAbstractOperations.getSortComparatorFromArguments
(Context cx, Scriptable scope, Object[] args) static Object
NativeIterator.getStopIterationObject
(Scriptable scope) Get the value of the "StopIteration" object.static Scriptable
ScriptRuntime.getTemplateLiteralCallSite
(Context cx, Scriptable scope, Object[] strings, int index) static Object
ScriptRuntime.getTopLevelProp
(Scriptable scope, String id) static Scriptable
ScriptableObject.getTopLevelScope
(Scriptable obj) Get the global scope.static Object
ScriptableObject.getTopScopeValue
(Scriptable scope, Object key) Get arbitrary application-specific value associated with the top scope of the given scope.static <T> T
ScriptableObject.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> T
ScriptableObject.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.getValue
(Scriptable start) LambdaAccessorSlot.getValue
(Scriptable owner) LambdaSlot.getValue
(Scriptable start) LazyLoadSlot.getValue
(Scriptable start) Slot.getValue
(Scriptable start) boolean
Delegator.has
(int index, Scriptable start) boolean
Delegator.has
(String name, Scriptable start) boolean
Delegator.has
(Symbol key, Scriptable start) boolean
IdScriptableObject.has
(String name, Scriptable start) boolean
IdScriptableObject.has
(Symbol key, Scriptable start) boolean
ImporterTopLevel.has
(String name, Scriptable start) boolean
NativeArray.has
(int index, Scriptable start) boolean
NativeArray.has
(Symbol key, Scriptable start) boolean
NativeJavaArray.has
(int index, Scriptable start) boolean
NativeJavaArray.has
(String id, Scriptable start) boolean
NativeJavaArray.has
(Symbol key, Scriptable start) boolean
NativeJavaClass.has
(String name, Scriptable start) boolean
NativeJavaList.has
(int index, Scriptable start) boolean
NativeJavaList.has
(String name, Scriptable start) boolean
NativeJavaList.has
(Symbol key, Scriptable start) boolean
NativeJavaMap.has
(int index, Scriptable start) boolean
NativeJavaMap.has
(String name, Scriptable start) boolean
NativeJavaMap.has
(Symbol key, Scriptable start) boolean
NativeJavaObject.has
(int index, Scriptable start) boolean
NativeJavaObject.has
(String name, Scriptable start) boolean
NativeJavaObject.has
(Symbol key, Scriptable start) boolean
NativeJavaPackage.has
(int index, Scriptable start) boolean
NativeJavaPackage.has
(String id, Scriptable start) boolean
NativeWith.has
(int index, Scriptable start) boolean
NativeWith.has
(String id, Scriptable start) boolean
NativeWith.has
(Symbol key, Scriptable start) boolean
Scriptable.has
(int index, Scriptable start) Indicates whether or not an indexed property is defined in an object.boolean
Scriptable.has
(String name, Scriptable start) Indicates whether or not a named property is defined in an object.boolean
ScriptableObject.has
(int index, Scriptable start) Returns true if the property index is defined.boolean
ScriptableObject.has
(String name, Scriptable start) Returns true if the named property is defined.boolean
ScriptableObject.has
(Symbol key, Scriptable start) A version of "has" that supports symbols.boolean
SymbolScriptable.has
(Symbol key, Scriptable start) Return true if the specified property exists.boolean
ArrowFunction.hasInstance
(Scriptable instance) boolean
BaseFunction.hasInstance
(Scriptable instance) Implements the instanceof operator for JavaScript Function objects.boolean
BoundFunction.hasInstance
(Scriptable instance) boolean
Delegator.hasInstance
(Scriptable instance) boolean
NativeIterator.StopIteration.hasInstance
(Scriptable instance) boolean
NativeJavaArray.hasInstance
(Scriptable value) boolean
NativeJavaClass.hasInstance
(Scriptable value) Determines if prototype is a wrapped Java object and performs a Java "instanceof".boolean
NativeJavaObject.hasInstance
(Scriptable value) boolean
NativeWith.hasInstance
(Scriptable value) boolean
Scriptable.hasInstance
(Scriptable instance) The instanceof operator.boolean
ScriptableObject.hasInstance
(Scriptable instance) Implements the instanceof operator.static boolean
ScriptRuntime.hasObjectElem
(Scriptable target, Object elem, Context cx) static boolean
ScriptableObject.hasProperty
(Scriptable obj, int index) Returns whether an indexed property is defined in an object or any object in its prototype chain.static boolean
ScriptableObject.hasProperty
(Scriptable obj, String name) Returns whether a named property is defined in an object or any object in its prototype chain.static boolean
ScriptableObject.hasProperty
(Scriptable obj, Symbol key) A version of hasProperty for properties with Symbol keys.void
ImporterTopLevel.importPackage
(Context cx, Scriptable thisObj, Object[] args, Function funObj) Deprecated.Kept only for compatibility.static void
ImporterTopLevel.init
(Context cx, Scriptable scope, boolean sealed) static void
JavaAdapter.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeConsole.init
(Scriptable scope, boolean sealed, NativeConsole.ConsolePrinter printer) static void
NativeContinuation.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeGlobal.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeJavaTopPackage.init
(Context cx, Scriptable scope, boolean sealed) static void
NativePromise.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeSymbol.init
(Context cx, Scriptable scope, boolean sealed) void
IdFunctionObject.initFunction
(String name, Scriptable scope) static void
ScriptRuntime.initFunction
(Context cx, Scriptable scope, NativeFunction function, int type, boolean fromEvalCode) static void
ScriptRuntime.initScript
(NativeFunction funObj, Scriptable thisObj, Context cx, Scriptable scope, boolean evalScript) final void
NativeFunction.initScriptFunction
(Context cx, Scriptable scope) final void
NativeFunction.initScriptFunction
(Context cx, Scriptable scope, boolean es6GeneratorFunction) InterfaceAdapter.invoke
(ContextFactory cf, Object target, Scriptable topScope, Object thisObject, Method method, Object[] args) protected abstract boolean
ES6Iterator.isDone
(Context cx, Scriptable scope) protected boolean
NativeArrayIterator.isDone
(Context cx, Scriptable scope) protected boolean
NativeCollectionIterator.isDone
(Context cx, Scriptable scope) protected boolean
NativeStringIterator.isDone
(Context cx, Scriptable scope) boolean
RegExpProxy.isRegExp
(Scriptable obj) static Object
ArrayLikeAbstractOperations.iterativeMethod
(Context cx, ArrayLikeAbstractOperations.IterativeOperation operation, Scriptable scope, Scriptable thisObj, Object[] args) Implements the methods "every", "filter", "forEach", "map", and "some" without using an IdFunctionObject.static Object
ArrayLikeAbstractOperations.iterativeMethod
(Context cx, IdFunctionObject fun, ArrayLikeAbstractOperations.IterativeOperation operation, Scriptable scope, Scriptable thisObj, Object[] args) Implements the methods "every", "filter", "forEach", "map", and "some" using an IdFunctionObject.static Object
Context.javaToJS
(Object value, Scriptable scope) Convenient method to convert java value to its closest representation in JavaScript.static Object
Context.javaToJS
(Object value, Scriptable scope, Context cx) Convenient method to convert java value to its closest representation in JavaScript.RegExpProxy.js_split
(Context _cx, Scriptable _scope, String thisString, Object[] _args) static boolean
ScriptRuntime.jsDelegatesTo
(Scriptable lhs, Scriptable rhs) Delegates tostatic Scriptable
ScriptRuntime.leaveDotQuery
(Scriptable scope) static Scriptable
ScriptRuntime.leaveWith
(Scriptable scope) static boolean
ScriptRuntime.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.final void
IdFunctionObject.markAsConstructor
(Scriptable prototypeProperty) static Object
ScriptRuntime.name
(Context cx, Scriptable scope, String name) Looks up a name in the scope chain and returns its value.static Object
ScriptRuntime.nameIncrDecr
(Scriptable scopeChain, String id, int incrDecrMask) Deprecated.static Object
ScriptRuntime.nameIncrDecr
(Scriptable scopeChain, String id, Context cx, int incrDecrMask) static Ref
ScriptRuntime.nameRef
(Object namespace, Object name, Context cx, Scriptable scope, int memberTypeFlags) static Ref
ScriptRuntime.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 Scriptable
ScriptRuntime.newArrayLiteral
(Object[] objects, int[] skipIndices, Context cx, Scriptable scope) static Scriptable
ScriptRuntime.newBuiltinObject
(Context cx, Scriptable scope, TopLevel.Builtins type, Object[] args) static Scriptable
ScriptRuntime.newCatchScope
(Throwable t, Scriptable lastCatchScope, String exceptionName, Context cx, Scriptable scope) protected abstract Object
VMBridge.newInterfaceProxy
(Object proxyHelper, ContextFactory cf, InterfaceAdapter adapter, Object target, Scriptable topScope) Create proxy object forInterfaceAdapter
.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 Scriptable
ScriptRuntime.newObject
(Object fun, Context cx, Scriptable scope, Object[] args) Operator new.static Scriptable
ScriptRuntime.newObject
(Context cx, Scriptable scope, String constructorName, Object[] args) static Scriptable
ScriptRuntime.newObjectLiteral
(Object[] propertyIds, Object[] propertyValues, int[] getterSetters, Context cx, Scriptable scope) static Scriptable
ScriptRuntime.newObjectLiteral
(Object[] propertyIds, Object[] propertyValues, Context cx, Scriptable scope) Deprecated.static Object
ScriptRuntime.newSpecial
(Context cx, Object fun, Object[] args, Scriptable scope, int callType) protected Object
ES6Iterator.next
(Context cx, Scriptable scope) protected abstract Object
ES6Iterator.nextValue
(Context cx, Scriptable scope) protected Object
NativeArrayIterator.nextValue
(Context cx, Scriptable scope) protected Object
NativeCollectionIterator.nextValue
(Context cx, Scriptable scope) protected Object
NativeStringIterator.nextValue
(Context cx, Scriptable scope) static RuntimeException
ScriptRuntime.notFoundError
(Scriptable object, String property) static Object[]
ScriptRuntime.padAndRestArguments
(Context cx, Scriptable scope, Object[] args, int argCount) Helper function for builtin objects that use the varargs form.static Object
NativeJSON.parse
(Context cx, Scriptable scope, String jtext, Callable reviver) void
NativeConsole.ConsolePrinter.print
(Context cx, Scriptable scope, NativeConsole.Level level, Object[] args, ScriptStackElement[] stack) static Object
ScriptRuntime.propIncrDecr
(Object obj, String id, Context cx, Scriptable scope, int incrDecrMask) void
Delegator.put
(int index, Scriptable start, Object value) void
Delegator.put
(String name, Scriptable start, Object value) void
Delegator.put
(Symbol symbol, Scriptable start, Object value) void
IdScriptableObject.put
(String name, Scriptable start, Object value) void
IdScriptableObject.put
(Symbol key, Scriptable start, Object value) void
NativeArray.put
(int index, Scriptable start, Object value) void
NativeArray.put
(String id, Scriptable start, Object value) void
NativeArray.put
(Symbol key, Scriptable start, Object value) void
NativeJavaArray.put
(int index, Scriptable start, Object value) void
NativeJavaArray.put
(String id, Scriptable start, Object value) void
NativeJavaClass.put
(String name, Scriptable start, Object value) void
NativeJavaList.put
(int index, Scriptable start, Object value) void
NativeJavaList.put
(String name, Scriptable start, Object value) void
NativeJavaMap.put
(int index, Scriptable start, Object value) void
NativeJavaMap.put
(String name, Scriptable start, Object value) void
NativeJavaObject.put
(int index, Scriptable start, Object value) void
NativeJavaObject.put
(String name, Scriptable start, Object value) void
NativeJavaObject.put
(Symbol symbol, Scriptable start, Object value) void
NativeJavaPackage.put
(int index, Scriptable start, Object value) void
NativeJavaPackage.put
(String id, Scriptable start, Object value) void
NativeSymbol.put
(int index, Scriptable start, Object value) void
NativeSymbol.put
(String name, Scriptable start, Object value) void
NativeSymbol.put
(Symbol key, Scriptable start, Object value) void
NativeWith.put
(int index, Scriptable start, Object value) void
NativeWith.put
(String id, Scriptable start, Object value) void
NativeWith.put
(Symbol symbol, Scriptable start, Object value) void
Scriptable.put
(int index, Scriptable start, Object value) Sets an indexed property in this object.void
Scriptable.put
(String name, Scriptable start, Object value) Sets a named property in this object.void
ScriptableObject.put
(int index, Scriptable start, Object value) Sets the value of the indexed property, creating it if need be.void
ScriptableObject.put
(String name, Scriptable start, Object value) Sets the value of the named property, creating it if need be.void
ScriptableObject.put
(Symbol key, Scriptable start, Object value) Implementation of put required by SymbolScriptable objects.void
SymbolScriptable.put
(Symbol key, Scriptable start, Object value) Add a new property to to the object.void
ConstProperties.putConst
(String name, Scriptable start, Object value) Sets a named const property in this object.void
ScriptableObject.putConst
(String name, Scriptable start, Object value) Sets the value of the named const property, creating it if need be.static void
ScriptableObject.putConstProperty
(Scriptable obj, String name, Object value) Puts a named property in an object or in an object in its prototype chain.static void
ScriptableObject.putProperty
(Scriptable obj, int index, Object value) Puts an indexed property in an object or in an object in its prototype chain.static void
ScriptableObject.putProperty
(Scriptable obj, String name, Object value) Puts a named property in an object or in an object in its prototype chain.static void
ScriptableObject.putProperty
(Scriptable obj, Symbol key, Object value) This is a version of putProperty for Symbol keys.static Object
JavaAdapter.readAdapterObject
(Scriptable self, ObjectInputStream in) static void
ScriptableObject.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.static Object
ArrayLikeAbstractOperations.reduceMethod
(Context cx, ArrayLikeAbstractOperations.ReduceOperation operation, 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 Object
ScriptRuntime.refIncrDecr
(Ref ref, Context cx, Scriptable scope, int incrDecrMask) static Object
ScriptRuntime.refSet
(Ref ref, Object value, Context cx, Scriptable scope) static Object
Interpreter.restartContinuation
(NativeContinuation c, Context cx, Scriptable scope, Object[] args) Context.resumeContinuation
(Object continuation, Scriptable scope, Object functionResult) Restarts execution of the JavaScript suspended at the call toContext.captureContinuation()
.static Object
Interpreter.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.Ref.set
(Context cx, Scriptable scope, Object value) void
ScriptableObject.setAttributes
(int index, Scriptable start, int attributes) Deprecated.final void
ScriptableObject.setAttributes
(String name, Scriptable start, int attributes) Deprecated.static void
ScriptRuntime.setBuiltinProtoAndParent
(ScriptableObject object, Scriptable scope, TopLevel.Builtins type) static Object
ScriptRuntime.setConst
(Scriptable bound, Object value, Context cx, String id) void
Delegator.setDelegee
(Scriptable obj) Set the delegee.static void
ScriptRuntime.setFunctionProtoAndParent
(BaseFunction fn, Context cx, Scriptable scope) static void
ScriptRuntime.setFunctionProtoAndParent
(BaseFunction fn, Context cx, Scriptable scope, boolean es6GeneratorFunction) static void
ScriptRuntime.setFunctionProtoAndParent
(BaseFunction fn, Scriptable scope) Deprecated.static void
ScriptRuntime.setFunctionProtoAndParent
(BaseFunction fn, Scriptable scope, boolean es6GeneratorFunction) Deprecated.void
LambdaAccessorSlot.setGetter
(Scriptable scope, Function<Scriptable, Object> getter) static Object
ScriptRuntime.setName
(Scriptable bound, Object value, Context cx, Scriptable scope, String id) static Object
ScriptRuntime.setObjectElem
(Object obj, Object elem, Object value, Context cx, Scriptable scope) Call obj.static Object
ScriptRuntime.setObjectElem
(Scriptable obj, Object elem, Object value, Context cx) static Object
ScriptRuntime.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 Object
ScriptRuntime.setObjectIndex
(Scriptable obj, int index, Object value, Context cx) static Object
ScriptRuntime.setObjectProp
(Object obj, String property, Object value, Context cx, Scriptable scope) Version of setObjectElem when elem is a valid JS identifier name.static Object
ScriptRuntime.setObjectProp
(Scriptable obj, String property, Object value, Context cx) static void
ScriptRuntime.setObjectProtoAndParent
(ScriptableObject object, Scriptable scope) void
Delegator.setParentScope
(Scriptable parent) void
NativeJavaObject.setParentScope
(Scriptable m) Sets the parent (enclosing) scope of the object.void
NativeWith.setParentScope
(Scriptable parent) void
Scriptable.setParentScope
(Scriptable parent) Set the parent scope of the object.void
ScriptableObject.setParentScope
(Scriptable m) Sets the parent (enclosing) scope of the object.void
Delegator.setPrototype
(Scriptable prototype) void
NativeArray.setPrototype
(Scriptable p) void
NativeJavaObject.setPrototype
(Scriptable m) Sets the prototype of the object.void
NativeWith.setPrototype
(Scriptable prototype) void
Scriptable.setPrototype
(Scriptable prototype) Set the prototype of the object.void
ScriptableObject.setPrototype
(Scriptable m) Sets the prototype of the object.void
LambdaAccessorSlot.setSetter
(Scriptable scope, BiConsumer<Scriptable, Object> setter) boolean
AccessorSlot.setValue
(Object value, Scriptable owner, Scriptable start, boolean isThrow) boolean
LambdaAccessorSlot.setValue
(Object value, Scriptable scope, Scriptable start, boolean isThrow) boolean
LambdaSlot.setValue
(Object value, Scriptable owner, Scriptable start, boolean isThrow) final boolean
Slot.setValue
(Object value, Scriptable owner, Scriptable start) boolean
Slot.setValue
(Object value, Scriptable owner, Scriptable start, boolean isThrow) static Ref
ScriptRuntime.specialRef
(Object obj, String specialProperty, Context cx, Scriptable scope) static Constructable
AbstractEcmaObjectOperations.speciesConstructor
(Context cx, Scriptable s, Constructable defaultConstructor) Implement the ECMAScript abstract operation "SpeciesConstructor" defined in section 7.2.33 of ECMA262.static Object
ScriptRuntime.strictSetName
(Scriptable bound, Object value, Context cx, Scriptable scope, String id) static Object
static JavaScriptException
ScriptRuntime.throwCustomError
(Context cx, Scriptable scope, String constructorName, String message) Equivalent to executing "new $constructorName(message, sourceFileName, sourceLineNo)" from JavaScript.static JavaScriptException
ScriptRuntime.throwError
(Context cx, Scriptable scope, String message) Equivalent to executing "new Error(message, sourceFileName, sourceLineNo)" from JavaScript.protected void
Slot.throwNoSetterException
(Scriptable start, Object newValue) static Scriptable
ScriptRuntime.toIterator
(Context cx, Scriptable scope, Scriptable obj, boolean keyOnly) static Scriptable
Context.toObject
(Object value, Scriptable scope) Convert the value to an JavaScript object value.static Scriptable
Context.toObject
(Object value, Scriptable scope, Class<?> staticType) Deprecated.static Scriptable
ScriptRuntime.toObject
(Context cx, Scriptable scope, Object val) Convert the value to an object.static Scriptable
ScriptRuntime.toObject
(Context cx, Scriptable scope, Object val, Class<?> staticClass) Deprecated.UseScriptRuntime.toObject(Context, Scriptable, Object)
instead.static Scriptable
ScriptRuntime.toObject
(Scriptable scope, Object val) static Scriptable
ScriptRuntime.toObject
(Scriptable scope, Object val, Class<?> staticClass) Deprecated.UseScriptRuntime.toObject(Scriptable, Object)
instead.static Scriptable
ScriptRuntime.toObjectOrNull
(Context cx, Object obj, Scriptable scope) static String
ScriptRuntime.typeofName
(Scriptable scope, String id) The typeof operator that correctly handles the undefined casestatic Object
ScriptRuntime.updateDotQuery
(boolean value, Scriptable scope) static NativeJavaArray
NativeJavaArray.wrap
(Scriptable scope, Object array) static Object
NativeJavaObject.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 Scriptable
ScriptRuntime.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 Scriptable
ScriptRuntime.wrapRegExp
(Context cx, Scriptable scope, Object compiled) Modifier and TypeMethodDescriptionvoid
ScriptableObject.defineProperty
(Context cx, String name, Function<Scriptable, Object> getter, BiConsumer<Scriptable, Object> setter, int attributes) Define a property on this object that is implemented using lambda functions accepting Scriptable `this` object as first parameter.void
ScriptableObject.defineProperty
(Context cx, String name, Function<Scriptable, Object> getter, BiConsumer<Scriptable, Object> setter, int attributes) Define a property on this object that is implemented using lambda functions accepting Scriptable `this` object as first parameter.void
LambdaConstructor.definePrototypeProperty
(Context cx, String name, Function<Scriptable, Object> getter, int attributes) Define a property on the prototype using a function.void
LambdaConstructor.definePrototypeProperty
(Context cx, String name, Function<Scriptable, Object> getter, BiConsumer<Scriptable, Object> setter, int attributes) Define a property on the prototype using functions for getter and setter.void
LambdaConstructor.definePrototypeProperty
(Context cx, String name, Function<Scriptable, Object> getter, BiConsumer<Scriptable, Object> setter, int attributes) Define a property on the prototype using functions for getter and setter.void
LambdaAccessorSlot.setGetter
(Scriptable scope, Function<Scriptable, Object> getter) void
LambdaAccessorSlot.setSetter
(Scriptable scope, BiConsumer<Scriptable, Object> setter) ModifierConstructorDescriptionArrowFunction
(Context cx, Scriptable scope, Callable targetFunction, Scriptable boundThis) BaseFunction
(Scriptable scope, Scriptable prototype) BoundFunction
(Context cx, Scriptable scope, Callable targetFunction, Scriptable boundThis, Object[] boundArgs) 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) protected
ES6Iterator
(Scriptable scope, String tag) 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) LambdaConstructor
(Scriptable scope, String name, int length, int flags, Constructable target) Create a new function that may be used as a constructor.LambdaConstructor
(Scriptable scope, String name, int length, Callable target, Constructable targetConstructor) Create a new function that may be used as a constructor.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) NativeCollectionIterator
(Scriptable scope, String className, org.mozilla.javascript.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) NativeJavaObject
(Scriptable scope, Object javaObject, Class<?> staticType) NativeJavaObject
(Scriptable scope, Object javaObject, Class<?> staticType, boolean isAdapter) protected
NativeWith
(Scriptable parent, Scriptable prototype) ScriptableObject
(Scriptable scope, Scriptable prototype) 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. -
Uses of Scriptable in org.mozilla.javascript.commonjs.module
Modifier and TypeClassDescriptionclass
A top-level module scope.class
Implements the require() function as defined by Common JS modules.Modifier and TypeMethodDescriptionRequire.construct
(Context cx, Scriptable scope, Object[] args) 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.Modifier 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.ModuleScriptProvider.getModuleScript
(Context cx, String moduleId, URI moduleUri, URI baseUri, Scriptable paths) Returns a module script.void
Require.install
(Scriptable scope) Binds this instance of require() into the specified scope under the property name "require".ModifierConstructorDescriptionModuleScope
(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.mozilla.javascript.commonjs.module.provider
Modifier 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) 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.mozilla.javascript.debug
Modifier and TypeMethodDescriptionvoid
DebugFrame.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.mozilla.javascript.engine
Modifier and TypeClassDescriptionclass
This class makes the Bindings object into a Scriptable.Modifier and TypeMethodDescriptionBindingsObject.get
(String name, Scriptable start) boolean
BindingsObject.has
(String name, Scriptable start) static void
Builtins.print
(Context cx, Scriptable thisObj, Object[] args, Function f) void
BindingsObject.put
(String name, Scriptable start, Object value) -
Uses of Scriptable in org.mozilla.javascript.jdk18
Modifier and TypeMethodDescriptionprotected Object
VMBridge_jdk18.newInterfaceProxy
(Object proxyHelper, ContextFactory cf, InterfaceAdapter adapter, Object target, Scriptable topScope) -
Uses of Scriptable in org.mozilla.javascript.json
-
Uses of Scriptable in org.mozilla.javascript.optimizer
Modifier and TypeMethodDescriptionstatic Scriptable
OptRuntime.createNativeGenerator
(NativeFunction funObj, Scriptable scope, Scriptable thisObj, int maxLocals, int maxStack) static Scriptable
OptRuntime.newArrayLiteral
(Object[] objects, String encodedInts, int skipCount, Context cx, Scriptable scope) Modifier and TypeMethodDescriptionstatic Function
OptRuntime.bindThis
(NativeFunction fn, Context cx, Scriptable scope, Scriptable thisObj) static Object
OptRuntime.call0
(Callable fun, Scriptable thisObj, Context cx, Scriptable scope) Implement ....() call shrinking optimizer code.static Object
OptRuntime.call0Optional
(Callable fun, Scriptable thisObj, Context cx, Scriptable scope) static Object
OptRuntime.call1
(Callable fun, Scriptable thisObj, Object arg0, Context cx, Scriptable scope) Implement ....static Object
OptRuntime.call2
(Callable fun, Scriptable thisObj, Object arg0, Object arg1, Context cx, Scriptable scope) Implement ....static Object
OptRuntime.callN
(Callable fun, Scriptable thisObj, Object[] args, Context cx, Scriptable scope) Implement ....static Object
OptRuntime.callName
(Object[] args, String name, Context cx, Scriptable scope) Implement name(args) call shrinking optimizer code.static Object
OptRuntime.callName0
(String name, Context cx, Scriptable scope) Implement name() call shrinking optimizer code.static Object
OptRuntime.callName0Optional
(String name, Context cx, Scriptable scope) static Object
OptRuntime.callProp0
(Object value, String property, Context cx, Scriptable scope) Implement x.property() call shrinking optimizer code.static Object
OptRuntime.callProp0Optional
(Object value, String property, Context cx, Scriptable scope) static Object
OptRuntime.callSpecial
(Context cx, Callable fun, Scriptable thisObj, Object[] args, Scriptable scope, Scriptable callerThis, int callType, String fileName, int lineNumber, boolean isOptionalChainingCall) Codegen.createFunctionObject
(Context cx, Scriptable scope, Object bytecode, Object staticSecurityDomain) static Scriptable
OptRuntime.createNativeGenerator
(NativeFunction funObj, Scriptable scope, Scriptable thisObj, int maxLocals, int maxStack) static Object
OptRuntime.elemIncrDecr
(Object obj, double index, Context cx, Scriptable scope, int incrDecrMask) static void
OptRuntime.initFunction
(NativeFunction fn, int functionType, Scriptable scope, Context cx) static Scriptable
OptRuntime.newArrayLiteral
(Object[] objects, String encodedInts, int skipCount, Context cx, Scriptable scope) static Object
OptRuntime.newObjectSpecial
(Context cx, Object fun, Object[] args, Scriptable scope, Scriptable callerThis, int callType) -
Uses of Scriptable in org.mozilla.javascript.regexp
Modifier and TypeClassDescriptionclass
This class implements the RegExp native object.final class
Modifier and TypeMethodDescriptionRegExpImpl.wrapRegExp
(Context cx, Scriptable scope, Object compiled) Modifier and TypeMethodDescriptionRegExpImpl.action
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, int actionType) NativeRegExp.execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) int
RegExpImpl.find_split
(Context cx, Scriptable scope, String target, String separator, Scriptable reObj, int[] ip, int[] matchlen, boolean[] matched, String[][] parensp) static void
NativeRegExp.init
(Context cx, Scriptable scope, boolean sealed) protected boolean
NativeRegExpStringIterator.isDone
(Context cx, Scriptable scope) boolean
RegExpImpl.isRegExp
(Scriptable obj) RegExpImpl.js_split
(Context cx, Scriptable scope, String target, Object[] args) protected Object
NativeRegExpStringIterator.nextValue
(Context cx, Scriptable scope) RegExpImpl.wrapRegExp
(Context cx, Scriptable scope, Object compiled) ModifierConstructorDescriptionNativeRegExpStringIterator
(Scriptable scope, Scriptable regexp, String string, boolean global, boolean fullUnicode) -
Uses of Scriptable in org.mozilla.javascript.serialize
ModifierConstructorDescriptionScriptableInputStream
(InputStream in, Scriptable scope) Create a ScriptableInputStream.ScriptableOutputStream
(OutputStream out, Scriptable scope) ScriptableOutputStream constructor. -
Uses of Scriptable in org.mozilla.javascript.typedarrays
Modifier and TypeClassDescriptionclass
A NativeArrayBuffer is the backing buffer for a typed array.class
This class is the abstract parent for all views of the array.class
This class represents the JavaScript "DataView" interface, which allows direct manipulations of the bytes in a NativeArrayBuffer.class
An array view that stores 32-bit quantities and implements the JavaScript "Float32Array" interface.class
An array view that stores 64-bit quantities and implements the JavaScript "Float64Array" interface.class
An array view that stores 16-bit quantities and implements the JavaScript "Int16Array" interface.class
An array view that stores 32-bit quantities and implements the JavaScript "Int32Array" interface.class
An array view that stores 8-bit quantities and implements the JavaScript "Int8Array" interface.class
This class is the abstract parent for all of the various typed arrays.class
An array view that stores 16-bit quantities and implements the JavaScript "Uint16Array" interface.class
An array view that stores 32-bit quantities and implements the JavaScript "Uint32Array" interface.class
An array view that stores 8-bit quantities and implements the JavaScript "Uint8Array" interface.class
An array view that stores 8-bit quantities and implements the JavaScript "Uint8ClampedArray" interface.Modifier and TypeMethodDescriptionNativeArrayBufferView.get
(Symbol key, Scriptable start) NativeTypedArrayView.get
(int index, Scriptable start) NativeTypedArrayView.get
(String name, Scriptable start) boolean
NativeTypedArrayView.has
(int index, Scriptable start) boolean
NativeTypedArrayView.has
(String name, Scriptable start) static void
NativeArrayBuffer.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeDataView.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeFloat32Array.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeFloat64Array.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeInt16Array.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeInt32Array.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeInt8Array.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeUint16Array.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeUint32Array.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeUint8Array.init
(Context cx, Scriptable scope, boolean sealed) static void
NativeUint8ClampedArray.init
(Context cx, Scriptable scope, boolean sealed) protected static NativeTypedArrayView
<?> NativeTypedArrayView.js_constructor
(Context cx, Scriptable scope, Object[] args, NativeTypedArrayView.TypedArrayConstructable constructable, int bytesPerElement) void
NativeTypedArrayView.put
(int index, Scriptable start, Object val) void
NativeTypedArrayView.put
(String name, Scriptable start, Object val) NativeTypedArrayView.RealThis.realThis
(Scriptable thisObj) -
Uses of Scriptable in org.mozilla.javascript.xml
Modifier and TypeClassDescriptionclass
This Interface describes what all XML objects (XML, XMLList) should have in common.Modifier and TypeMethodDescriptionabstract Scriptable
XMLObject.getExtraMethodSource
(Context cx) Return an additional object to look for methods that runtime should consider during method search.Modifier and TypeMethodDescriptionprotected final XMLLib
XMLLib.bindToScope
(Scriptable scope) abstract NativeWith
XMLObject.enterDotQuery
(Scriptable scope) Wrap this object into NativeWith to implement the .() query.abstract NativeWith
XMLObject.enterWith
(Scriptable scope) Wrap this object into NativeWith to implement the with statement.static XMLLib
XMLLib.extractFromScope
(Scriptable scope) static XMLLib
XMLLib.extractFromScopeOrNull
(Scriptable scope) abstract Ref
XMLLib.nameRef
(Context cx, Object namespace, Object name, Scriptable scope, int memberTypeFlags) abstract Ref
XMLLib.nameRef
(Context cx, Object name, Scriptable scope, int memberTypeFlags)
ScriptRuntime.createArrowFunctionActivation(NativeFunction, Context, Scriptable, Object[], boolean, boolean)
instead