|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Callable | |
|---|---|
| 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 | |
| Uses of Callable in org.mozilla.javascript |
|---|
| Subinterfaces of Callable in org.mozilla.javascript | |
|---|---|
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 | |
|---|---|
class |
BaseFunction
The base class for Function objects See ECMA 15.3. |
class |
BoundFunction
The class for results of the Function.bind operation EcmaScript 5 spec, 15.3.4.5 |
class |
Delegator
This is a helper class for implementing wrappers around Scriptable objects. |
class |
FunctionObject
|
class |
IdFunctionObject
|
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. |
class |
Synchronizer
This class provides support for implementing Java-style synchronized methods in Javascript. |
| Methods in org.mozilla.javascript that return Callable | |
|---|---|
static Callable |
ScriptRuntime.getElemFunctionAndThis(Object obj,
Object elem,
Context cx)
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(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(Object obj,
String property,
Context cx)
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.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.getValueFunctionAndThis(Object value,
Context cx)
Prepare for calling |
| Methods in org.mozilla.javascript with parameters of type Callable | |
|---|---|
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)
|
static Object |
Context.call(ContextFactory factory,
Callable callable,
Scriptable scope,
Scriptable thisObj,
Object[] args)
Call call(Context cx, Scriptable scope, Scriptable thisObj,
Object[] args)
using the Context instance associated with the current thread. |
Object |
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)
|
Object |
PolicySecurityController.callWithDomain(Object securityDomain,
Context cx,
Callable callable,
Scriptable scope,
Scriptable thisObj,
Object[] args)
|
Object |
SecurityController.callWithDomain(Object securityDomain,
Context cx,
Callable callable,
Scriptable scope,
Scriptable thisObj,
Object[] args)
Call 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. |
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)
|
static Object |
NativeJSON.parse(Context cx,
Scriptable scope,
String jtext,
Callable reviver)
|
void |
ScriptableObject.setGetterOrSetter(String name,
int index,
Callable getterOrSetter,
boolean isSetter)
XXX: write docs. |
| Constructors in org.mozilla.javascript with parameters of type Callable | |
|---|---|
BoundFunction(Context cx,
Scriptable scope,
Callable targetFunction,
Scriptable boundThis,
Object[] boundArgs)
|
|
| Uses of Callable in org.mozilla.javascript.commonjs.module |
|---|
| Classes in org.mozilla.javascript.commonjs.module that implement Callable | |
|---|---|
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 | |
|---|---|
static Object |
OptRuntime.call0(Callable fun,
Scriptable thisObj,
Context cx,
Scriptable scope)
Implement ....() call shrinking optimizer code. |
static Object |
OptRuntime.call1(Callable fun,
Scriptable thisObj,
Object arg0,
Context cx,
Scriptable scope)
Implement ....(arg) call shrinking optimizer code. |
static Object |
OptRuntime.call2(Callable fun,
Scriptable thisObj,
Object arg0,
Object arg1,
Context cx,
Scriptable scope)
Implement ....(arg0, arg1) call shrinking optimizer code. |
static Object |
OptRuntime.callN(Callable fun,
Scriptable thisObj,
Object[] args,
Context cx,
Scriptable scope)
Implement ....(arg0, arg1, ...) call shrinking optimizer code. |
static Object |
OptRuntime.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 Callable | |
|---|---|
class |
NativeRegExp
This class implements the RegExp native object. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||