Uses of Interface
org.mozilla.javascript.Callable
Packages that use Callable
Package
Description
Provides the public API for the CommonJS Modules/1.1 implementation.
-
Uses of Callable in org.loboevolution.js
Classes in org.loboevolution.js that implement CallableModifier and TypeClassDescriptionclassJavaConstructorObject class.classJavaFunctionObject class. -
Uses of Callable in org.mozilla.javascript
Subinterfaces of Callable in org.mozilla.javascriptModifier and TypeInterfaceDescriptioninterfaceThis is interface that all functions in JavaScript must implement.interfaceObject that can allows assignments to the result of function calls.Classes in org.mozilla.javascript that implement CallableModifier and TypeClassDescriptionclassThe 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.classclassclassclassThis 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.final classclassThis class implements the Function native object.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.classThis class reflects Java methods into the JavaScript environment and handles overloading of methods.classThis class reflects Java packages into the JavaScript environment.classThis class provides support for implementing Java-style synchronized methods in Javascript.Fields in org.mozilla.javascript declared as CallableMethods in org.mozilla.javascript that return CallableModifier and TypeMethodDescriptionstatic CallableScriptRuntime.getElemFunctionAndThis(Object obj, Object elem, Context cx) Deprecated.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.static CallableScriptRuntime.getElemFunctionAndThisOptional(Object obj, Object elem, Context cx, Scriptable scope) 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.static CallableScriptRuntime.getNameFunctionAndThisOptional(String name, Context cx, Scriptable scope) static CallableScriptRuntime.getPropFunctionAndThis(Object obj, String property, Context cx) Deprecated.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.static CallableScriptRuntime.getPropFunctionAndThisOptional(Object obj, String property, Context cx, Scriptable scope) static CallableScriptRuntime.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 CallableScriptRuntime.getValueFunctionAndThisOptional(Object value, Context cx) Methods in org.mozilla.javascript with parameters of type CallableModifier and TypeMethodDescriptionstatic ObjectContext.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 ObjectPolicySecurityController.SecureCaller.call(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) abstract ObjectSecureCaller.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 RefScriptRuntime.callRef(Callable function, Scriptable thisObj, Object[] args, Context cx) Perform function call in reference context.static ObjectScriptRuntime.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.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.voidScriptableObject.defineProperty(Scriptable scope, String name, int length, Callable target, int attributes, int propertyAttributes) Utility method to add lambda 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.voidLambdaConstructor.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 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 ObjectNativeJSON.parse(Context cx, Scriptable scope, String jtext, Callable reviver) voidScriptableObject.setGetterOrSetter(String name, int index, Callable getterOrSetter, boolean isSetter) Implement the legacy "__defineGetter__" and "__defineSetter__" methods.Constructors in org.mozilla.javascript with parameters of type CallableModifierConstructorDescriptionArrowFunction(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
Classes in org.mozilla.javascript.commonjs.module that implement CallableModifier and TypeClassDescriptionclassImplements the require() function as defined by Common JS modules. -
Uses of Callable in org.mozilla.javascript.optimizer
Methods in org.mozilla.javascript.optimizer with parameters of type CallableModifier and TypeMethodDescriptionstatic ObjectOptRuntime.call0(Callable fun, Scriptable thisObj, Context cx, Scriptable scope) Implement ....() call shrinking optimizer code.static ObjectOptRuntime.call0Optional(Callable fun, Scriptable thisObj, Context cx, Scriptable scope) static ObjectOptRuntime.call1(Callable fun, Scriptable thisObj, Object arg0, Context cx, Scriptable scope) Implement ....static ObjectOptRuntime.call2(Callable fun, Scriptable thisObj, Object arg0, Object arg1, Context cx, Scriptable scope) Implement ....static ObjectOptRuntime.callN(Callable fun, Scriptable thisObj, Object[] args, Context cx, Scriptable scope) Implement ....static ObjectOptRuntime.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