Uses of Interface
org.mozilla.javascript.Callable
Package
Description
Provides the public API for the CommonJS Modules/1.1 implementation.
-
Uses of Callable in org.loboevolution.js
Modifier and TypeClassDescriptionclass
JavaConstructorObject class.class
JavaFunctionObject class. -
Uses of Callable in org.mozilla.javascript
Modifier and TypeInterfaceDescriptioninterface
This is interface that all functions in JavaScript must implement.interface
Object that can allows assignments to the result of function calls.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.class
class
class
class
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.final class
class
This class implements the Function native object.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
This class reflects Java methods into the JavaScript environment and handles overloading of methods.class
This class reflects Java packages into the JavaScript environment.class
This class provides support for implementing Java-style synchronized methods in Javascript.Modifier and TypeMethodDescriptionstatic Callable
ScriptRuntime.getElemFunctionAndThis
(Object obj, Object elem, Context cx) Deprecated.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 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 Callable
ScriptRuntime.getPropFunctionAndThis
(Object obj, String property, Context cx) Deprecated.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 Callable
ScriptRuntime.getValueFunctionAndThis
(Object value, Context cx) Prepare for calling <expression>(...): return function corresponding to <expression> and make parent scope of the function available as ScriptRuntime.lastStoredScriptable() for consumption as thisObj.static Callable
ScriptRuntime.getValueFunctionAndThisOptional
(Object value, Context cx) Modifier and TypeMethodDescriptionstatic Object
Context.call
(ContextFactory factory, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args) Callcall(Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
using the Context instance associated with the current thread.abstract Object
PolicySecurityController.SecureCaller.call
(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) abstract Object
SecureCaller.call
(Callable callable, 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 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) Callcall(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.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.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.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
NativeJSON.parse
(Context cx, Scriptable scope, String jtext, Callable reviver) void
ScriptableObject.setGetterOrSetter
(String name, int index, Callable getterOrSetter, boolean isSetter) Implement the legacy "__defineGetter__" and "__defineSetter__" methods.ModifierConstructorDescriptionArrowFunction
(Context cx, Scriptable scope, Callable targetFunction, Scriptable boundThis) BoundFunction
(Context cx, Scriptable scope, Callable targetFunction, Scriptable boundThis, Object[] boundArgs) LambdaConstructor
(Scriptable scope, String name, int length, Callable target, Constructable targetConstructor) 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. -
Uses of Callable in org.mozilla.javascript.commonjs.module
Modifier and TypeClassDescriptionclass
Implements the require() function as defined by Common JS modules. -
Uses of Callable in org.mozilla.javascript.optimizer
Modifier and TypeMethodDescriptionstatic 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.callSpecial
(Context cx, Callable fun, Scriptable thisObj, Object[] args, Scriptable scope, Scriptable callerThis, int callType, String fileName, int lineNumber, boolean isOptionalChainingCall)
ScriptRuntime.getElemFunctionAndThis(Object, Object, Context, Scriptable)
instead