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.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 TypeClassDescriptionprivate static classclassThe class for Arrow Function Definitions EcmaScript 6 Rev 14, March 8, 2013 Draft spec , 13.2classThe base class for Function objects.classThe class for results of the Function.bind operation EcmaScript 5 spec, 15.3.4.5classThis is a helper class for implementing wrappers around Scriptable objects.(package private) classclassclassclass(package private) final classclassThis class implements a JavaScript function that may be used as a constructor by delegating to an interface that can be easily implemented as a lambda.classThis class implements a single JavaScript function that has the prototype of the built-in Function class, and which is implemented using a single function that can easily be implemented using a lambda expression.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.(package private) classThe JavaScript Script object.(package private) static classclassThis class provides support for implementing Java-style synchronized methods in Javascript.Fields in org.mozilla.javascript declared as CallableModifier and TypeFieldDescription(package private) CallableNativePromise.Reaction.handlerprivate final CallableIteratorLikeIterable.next(package private) CallableScriptRuntime.NoSuchMethodShim.noSuchMethodMethod(package private) CallableNativePromise.Capability.reject(package private) CallableNativeJSON.StringifyState.replacer(package private) CallableNativePromise.Capability.resolveprivate final CallableIteratorLikeIterable.returnFuncprivate static CallableNativeJavaMap.symbol_iteratorprivate static CallableNativeJavaObject.symbol_iteratorprivate final CallableLambdaFunction.targetprivate final CallableArrowFunction.targetFunctionprivate final CallableBoundFunction.targetFunctionMethods in org.mozilla.javascript that return CallableModifier and TypeMethodDescription(package private) static CallableScriptRuntime.getCallable(Scriptable thisObj) static 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.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.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.private static CallableScriptRuntime.getPropFunctionAndThisHelper(Object obj, String property, Context cx, Scriptable thisObj) 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.private static CallableNativePromise.makeCatchFinally(Scriptable scope, Object constructor, Callable onFinally) private static CallableNativePromise.makeThenFinally(Scriptable scope, Object constructor, Callable onFinally) Methods in org.mozilla.javascript with parameters of type CallableModifier and TypeMethodDescriptionstatic ObjectContext.call(ContextFactory factory, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args) CallCallable.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args)using the Context instance associated with the current thread.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.(package private) static ObjectSecureCaller.callSecurely(CodeSource codeSource, Callable callable, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Call the specified callable using a protection domain belonging to the specified code source.static ObjectScriptRuntime.callSpecial(Context cx, Callable fun, Scriptable thisObj, Object[] args, Scriptable scope, Scriptable callerThis, int callType, String filename, int lineNumber) private voidNativePromise.callThenable(Context cx, Scriptable scope, Object resolution, Callable thenFunc) PolicySecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args) SecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args) CallCallable.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args)of callable under restricted security domain where an action is allowed only if it is allowed according to the Java stack on the moment of the execWithDomain call and securityDomain.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.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.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) private static CallableNativePromise.makeCatchFinally(Scriptable scope, Object constructor, Callable onFinally) private static CallableNativePromise.makeThenFinally(Scriptable scope, Object constructor, Callable onFinally) 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.private static ObjectNativeJSON.walk(Context cx, Scriptable scope, Callable reviver, Scriptable holder, Object name) 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) 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.(package private)NoSuchMethodShim(Callable noSuchMethodMethod, String methodName) (package private)Reaction(NativePromise.Capability cap, NativePromise.ReactionType type, Callable handler) (package private)StringifyState(Context cx, Scriptable scope, String indent, String gap, Callable replacer, Object[] propertyList) -
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.call1(Callable fun, Scriptable thisObj, Object arg0, Context cx, Scriptable scope) Implement ....(arg) call shrinking optimizer code.static ObjectOptRuntime.call2(Callable fun, Scriptable thisObj, Object arg0, Object arg1, Context cx, Scriptable scope) Implement ....(arg0, arg1) call shrinking optimizer code.static ObjectOptRuntime.callN(Callable fun, Scriptable thisObj, Object[] args, Context cx, Scriptable scope) Implement ....(arg0, arg1, ...) call shrinking optimizer code.static ObjectOptRuntime.callSpecial(Context cx, Callable fun, Scriptable thisObj, Object[] args, Scriptable scope, Scriptable callerThis, int callType, String fileName, int lineNumber) -
Uses of Callable in org.mozilla.javascript.regexp
Classes in org.mozilla.javascript.regexp that implement CallableModifier and TypeClassDescription(package private) classLegacy implementation of RegExp was callable, this class exists to preserve this functionality(package private) classThis class implements the RegExp constructor native object. -
Uses of Callable in org.mozilla.javascript.tools.shell
Methods in org.mozilla.javascript.tools.shell with parameters of type CallableModifier and TypeMethodDescriptionJavaPolicySecurity.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args) -
Uses of Callable in org.mozilla.javascript.xmlimpl
Classes in org.mozilla.javascript.xmlimpl that implement Callable
ScriptRuntime.getElemFunctionAndThis(Object, Object, Context, Scriptable)instead