Uses of Interface
org.htmlunit.corejs.javascript.Callable
-
-
Uses of Callable in org.htmlunit.corejs.javascript
Subinterfaces of Callable in org.htmlunit.corejs.javascript Modifier and Type Interface Description interfaceFunctionThis is interface that all functions in JavaScript must implement.interfaceRefCallableObject that can allows assignments to the result of function calls.Classes in org.htmlunit.corejs.javascript that implement Callable Modifier and Type Class Description private static classArguments.ThrowTypeErrorclassArrowFunctionThe class for Arrow Function Definitions EcmaScript 6 Rev 14, March 8, 2013 Draft spec , 13.2classBaseFunctionThe base class for Function objects.classBoundFunctionThe class for results of the Function.bind operation EcmaScript 5 spec, 15.3.4.5classDelegatorThis is a helper class for implementing wrappers around Scriptable objects.(package private) classFieldAndMethodsclassFunctionObjectclassIdFunctionObjectclassIdFunctionObjectES6(package private) classInterpretedFunctionclassLambdaConstructorThis 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.classLambdaFunctionThis 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.classNativeContinuationclassNativeFunctionThis class implements the Function native object.classNativeJavaClassThis class reflects Java classes into the JavaScript environment, mainly for constructors and static members.classNativeJavaConstructorThis class reflects a single Java constructor into the JavaScript environment.classNativeJavaMethodThis class reflects Java methods into the JavaScript environment and handles overloading of methods.classNativeJavaTopPackageThis class reflects Java packages into the JavaScript environment.(package private) classNativeProxyThis class implements the Proxy object.private static classNativeProxy.Revoker(package private) classNativeScriptThe JavaScript Script object.(package private) static classScriptRuntime.NoSuchMethodShimclassSynchronizerThis class provides support for implementing Java-style synchronized methods in Javascript.Fields in org.htmlunit.corejs.javascript declared as Callable Modifier and Type Field Description (package private) CallableNativePromise.Reaction. handlerprivate CallableIteratorLikeIterable. next(package private) CallableScriptRuntime.NoSuchMethodShim. noSuchMethodMethod(package private) CallableNativePromise.Capability. reject(package private) CallableNativeJSON.StringifyState. replacer(package private) CallableNativePromise.Capability. resolveprivate CallableIteratorLikeIterable. returnFuncprivate static CallableNativeJavaMap. symbol_iteratorprivate static CallableNativeJavaObject. symbol_iteratorprivate CallableLambdaFunction. targetprivate CallableArrowFunction. targetFunctionprivate CallableBoundFunction. targetFunctionMethods in org.htmlunit.corejs.javascript that return Callable Modifier and Type Method Description (package private) static CallableScriptRuntime. getCallable(Scriptable thisObj)static CallableScriptRuntime. getElemFunctionAndThis(java.lang.Object obj, java.lang.Object elem, Context cx)Deprecated.static CallableScriptRuntime. 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 CallableScriptRuntime. 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 CallableScriptRuntime. getPropFunctionAndThis(java.lang.Object obj, java.lang.String property, Context cx)Deprecated.static CallableScriptRuntime. 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 CallableScriptRuntime. getPropFunctionAndThisHelper(java.lang.Object obj, java.lang.String property, Context cx, Scriptable thisObj)private CallableNativeProxy. getTrap(java.lang.String trapName)static CallableScriptRuntime. 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.private static CallableNativePromise. makeCatchFinally(Scriptable scope, java.lang.Object constructor, Callable onFinally)private static CallableNativePromise. makeThenFinally(Scriptable scope, java.lang.Object constructor, Callable onFinally)Methods in org.htmlunit.corejs.javascript with parameters of type Callable Modifier and Type Method Description static java.lang.ObjectContext. 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.ObjectPolicySecurityController.SecureCaller. call(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)abstract java.lang.ObjectSecureCaller. call(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)java.lang.ObjectContext. callFunctionWithContinuations(Callable function, Scriptable scope, java.lang.Object[] args)Call function that may pause execution by capturing a continuation.static RefScriptRuntime. callRef(Callable function, Scriptable thisObj, java.lang.Object[] args, Context cx)Perform function call in reference context.(package private) static java.lang.ObjectSecureCaller. 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.ObjectScriptRuntime. callSpecial(Context cx, Callable fun, Scriptable thisObj, java.lang.Object[] args, Scriptable scope, Scriptable callerThis, int callType, java.lang.String filename, int lineNumber)private voidNativePromise. callThenable(Context cx, Scriptable scope, java.lang.Object resolution, Callable thenFunc)private java.lang.ObjectNativeProxy. callTrap(Callable trap, java.lang.Object[] args)java.lang.ObjectPolicySecurityController. callWithDomain(java.lang.Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)java.lang.ObjectSecurityController. 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.voidLambdaConstructor. defineConstructorMethod(Scriptable scope, java.lang.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, java.lang.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, java.lang.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.protected voidScriptableObject. defineProperty(Scriptable scope, java.lang.String name, int length, Callable target, int attributes, int propertyAttributes)Utility method to add lambda properties to arbitrary Scriptable object.voidLambdaConstructor. definePrototypeMethod(Scriptable scope, java.lang.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, java.lang.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 java.lang.ObjectContextFactory. doTopCall(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)Execute top call to script or function.static java.lang.ObjectScriptRuntime. doTopCall(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)Deprecated.static java.lang.ObjectScriptRuntime. doTopCall(Callable callable, Context cx, Scriptable scope, Scriptable thisObj, java.lang.Object[] args, boolean isTopLevelStrict)private static CallableNativePromise. makeCatchFinally(Scriptable scope, java.lang.Object constructor, Callable onFinally)private static CallableNativePromise. makeThenFinally(Scriptable scope, java.lang.Object constructor, Callable onFinally)static java.lang.ObjectNativeJSON. parse(Context cx, Scriptable scope, java.lang.String jtext, Callable reviver)voidScriptableObject. setGetterOrSetter(java.lang.String name, int index, Callable getterOrSetter, boolean isSetter)Implement the legacy "__defineGetter__" and "__defineSetter__" methods.private static java.lang.ObjectNativeJSON. walk(Context cx, Scriptable scope, Callable reviver, Scriptable holder, java.lang.Object name)Constructors in org.htmlunit.corejs.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)LambdaFunction(Scriptable scope, int length, Callable target)Create a new built-in function, with no name, and no default prototype.LambdaFunction(Scriptable scope, java.lang.String name, int length, Callable target)Create a new function.NoSuchMethodShim(Callable noSuchMethodMethod, java.lang.String methodName)Reaction(NativePromise.Capability cap, NativePromise.ReactionType type, Callable handler)StringifyState(Context cx, Scriptable scope, java.lang.String indent, java.lang.String gap, Callable replacer, java.lang.Object[] propertyList) -
Uses of Callable in org.htmlunit.corejs.javascript.commonjs.module
Classes in org.htmlunit.corejs.javascript.commonjs.module that implement Callable Modifier and Type Class Description classRequireImplements the require() function as defined by Common JS modules. -
Uses of Callable in org.htmlunit.corejs.javascript.optimizer
Methods in org.htmlunit.corejs.javascript.optimizer with parameters of type Callable Modifier and Type Method Description static java.lang.ObjectOptRuntime. call0(Callable fun, Scriptable thisObj, Context cx, Scriptable scope)Implement ....() call shrinking optimizer code.static java.lang.ObjectOptRuntime. call1(Callable fun, Scriptable thisObj, java.lang.Object arg0, Context cx, Scriptable scope)Implement ....(arg) call shrinking optimizer code.static java.lang.ObjectOptRuntime. 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.ObjectOptRuntime. callN(Callable fun, Scriptable thisObj, java.lang.Object[] args, Context cx, Scriptable scope)Implement ....(arg0, arg1, ...) call shrinking optimizer code.static java.lang.ObjectOptRuntime. 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.htmlunit.corejs.javascript.regexp
Classes in org.htmlunit.corejs.javascript.regexp that implement Callable Modifier and Type Class Description (package private) classNativeRegExpCallableLegacy implementation of RegExp was callable, this class exists to preserve this functionality(package private) classNativeRegExpCtorThis class implements the RegExp constructor native object. -
Uses of Callable in org.htmlunit.corejs.javascript.tools.shell
Methods in org.htmlunit.corejs.javascript.tools.shell with parameters of type Callable Modifier and Type Method Description java.lang.ObjectJavaPolicySecurity. callWithDomain(java.lang.Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, java.lang.Object[] args)
-