Uses of Interface
org.mozilla.javascript.Callable
-
Packages that use Callable Package Description org.mozilla.javascript org.mozilla.javascript.commonjs.module Provides the public API for the CommonJS Modules/1.1 implementation.org.mozilla.javascript.optimizer org.mozilla.javascript.regexp org.mozilla.javascript.tools.shell org.mozilla.javascript.xmlimpl -
-
Uses of Callable in org.mozilla.javascript
Subinterfaces of Callable in org.mozilla.javascript Modifier and Type Interface Description interface
Function
This is interface that all functions in JavaScript must implement.interface
RefCallable
Object that can allows assignments to the result of function calls.Classes in org.mozilla.javascript that implement Callable Modifier and Type Class Description private static class
Arguments.ThrowTypeError
class
ArrowFunction
The class for Arrow Function Definitions EcmaScript 6 Rev 14, March 8, 2013 Draft spec , 13.2class
BaseFunction
The base class for Function objects.class
BoundFunction
The class for results of the Function.bind operation EcmaScript 5 spec, 15.3.4.5class
Delegator
This is a helper class for implementing wrappers around Scriptable objects.(package private) class
FieldAndMethods
class
FunctionObject
class
IdFunctionObject
class
IdFunctionObjectES6
(package private) class
InterpretedFunction
class
NativeContinuation
class
NativeFunction
This class implements the Function native object.class
NativeJavaClass
This class reflects Java classes into the JavaScript environment, mainly for constructors and static members.class
NativeJavaConstructor
This class reflects a single Java constructor into the JavaScript environment.class
NativeJavaMethod
This class reflects Java methods into the JavaScript environment and handles overloading of methods.class
NativeJavaTopPackage
This class reflects Java packages into the JavaScript environment.(package private) class
NativeScript
The JavaScript Script object.(package private) static class
ScriptRuntime.NoSuchMethodShim
class
Synchronizer
This class provides support for implementing Java-style synchronized methods in Javascript.Fields in org.mozilla.javascript declared as Callable Modifier and Type Field Description private Callable
IteratorLikeIterable. next
(package private) Callable
ScriptRuntime.NoSuchMethodShim. noSuchMethodMethod
(package private) Callable
NativeJSON.StringifyState. replacer
private Callable
IteratorLikeIterable. returnFunc
private Callable
ArrowFunction. targetFunction
private Callable
BoundFunction. targetFunction
Methods in org.mozilla.javascript that return Callable Modifier and Type Method Description (package private) static Callable
ScriptRuntime. getCallable(Scriptable thisObj)
static Callable
ScriptRuntime. getElemFunctionAndThis(java.lang.Object obj, java.lang.Object elem, Context cx)
Deprecated.static Callable
ScriptRuntime. getElemFunctionAndThis(java.lang.Object obj, java.lang.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. getNameFunctionAndThis(java.lang.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. getPropFunctionAndThis(java.lang.Object obj, java.lang.String property, Context cx)
Deprecated.static Callable
ScriptRuntime. getPropFunctionAndThis(java.lang.Object obj, java.lang.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 Callable
ScriptRuntime. getPropFunctionAndThisHelper(java.lang.Object obj, java.lang.String property, Context cx, Scriptable thisObj)
static Callable
ScriptRuntime. getValueFunctionAndThis(java.lang.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.Methods in org.mozilla.javascript with parameters of type Callable Modifier and Type Method Description static java.lang.Object
Context. call(ContextFactory factory, Callable callable, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)
Callcall(Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
using the Context instance associated with the current thread.abstract java.lang.Object
PolicySecurityController.SecureCaller. call(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)
abstract java.lang.Object
SecureCaller. call(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)
java.lang.Object
Context. callFunctionWithContinuations(Callable function, Scriptable scope, java.lang.Object[] args)
Call function that may pause execution by capturing a continuation.static Ref
ScriptRuntime. callRef(Callable function, Scriptable thisObj, java.lang.Object[] args, Context cx)
Perform function call in reference context.(package private) static java.lang.Object
SecureCaller. callSecurely(java.security.CodeSource codeSource, Callable callable, Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)
Call the specified callable using a protection domain belonging to the specified code source.static java.lang.Object
ScriptRuntime. callSpecial(Context cx, Callable fun, Scriptable thisObj, java.lang.Object[] args, Scriptable scope, Scriptable callerThis, int callType, java.lang.String filename, int lineNumber)
java.lang.Object
PolicySecurityController. callWithDomain(java.lang.Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)
java.lang.Object
SecurityController. callWithDomain(java.lang.Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, java.lang.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.protected java.lang.Object
ContextFactory. doTopCall(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)
Execute top call to script or function.static java.lang.Object
ScriptRuntime. doTopCall(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)
Deprecated.static java.lang.Object
ScriptRuntime. doTopCall(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args, boolean isTopLevelStrict)
static java.lang.Object
NativeJSON. parse(Context cx, Scriptable scope, java.lang.String jtext, Callable reviver)
void
ScriptableObject. setGetterOrSetter(java.lang.String name, int index, Callable getterOrSetter, boolean isSetter)
XXX: write docs.private void
ScriptableObject. setGetterOrSetter(java.lang.String name, int index, Callable getterOrSetter, boolean isSetter, boolean force)
private static java.lang.Object
NativeJSON. walk(Context cx, Scriptable scope, Callable reviver, Scriptable holder, java.lang.Object name)
Constructors in org.mozilla.javascript with parameters of type Callable Constructor Description ArrowFunction(Context cx, Scriptable scope, Callable targetFunction, Scriptable boundThis)
BoundFunction(Context cx, Scriptable scope, Callable targetFunction, Scriptable boundThis, java.lang.Object[] boundArgs)
NoSuchMethodShim(Callable noSuchMethodMethod, java.lang.String methodName)
StringifyState(Context cx, Scriptable scope, java.lang.String indent, java.lang.String gap, Callable replacer, java.util.List<java.lang.Object> propertyList)
-
Uses of Callable in org.mozilla.javascript.commonjs.module
Classes in org.mozilla.javascript.commonjs.module that implement Callable Modifier and Type Class Description class
Require
Implements 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 Callable Modifier and Type Method Description static java.lang.Object
OptRuntime. call0(Callable fun, Scriptable thisObj, Context cx, Scriptable scope)
Implement ....() call shrinking optimizer code.static java.lang.Object
OptRuntime. call1(Callable fun, Scriptable thisObj, java.lang.Object arg0, Context cx, Scriptable scope)
Implement ....(arg) call shrinking optimizer code.static java.lang.Object
OptRuntime. call2(Callable fun, Scriptable thisObj, java.lang.Object arg0, java.lang.Object arg1, Context cx, Scriptable scope)
Implement ....(arg0, arg1) call shrinking optimizer code.static java.lang.Object
OptRuntime. callN(Callable fun, Scriptable thisObj, java.lang.Object[] args, Context cx, Scriptable scope)
Implement ....(arg0, arg1, ...) call shrinking optimizer code.static java.lang.Object
OptRuntime. callSpecial(Context cx, Callable fun, Scriptable thisObj, java.lang.Object[] args, Scriptable scope, Scriptable callerThis, int callType, java.lang.String fileName, int lineNumber)
-
Uses of Callable in org.mozilla.javascript.regexp
Classes in org.mozilla.javascript.regexp that implement Callable Modifier and Type Class Description class
NativeRegExp
This class implements the RegExp native object.(package private) class
NativeRegExpCtor
This 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 Callable Modifier and Type Method Description java.lang.Object
JavaPolicySecurity. callWithDomain(java.lang.Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)
-
Uses of Callable in org.mozilla.javascript.xmlimpl
Classes in org.mozilla.javascript.xmlimpl that implement Callable Modifier and Type Class Description (package private) class
XMLCtor
(package private) class
XMLList
-