Uses of Class
org.mozilla.javascript.NativeFunction
-
Uses of NativeFunction in org.mozilla.javascript
Modifier and TypeMethodDescriptionstatic Scriptable
ScriptRuntime.createArrowFunctionActivation
(NativeFunction funObj, Context cx, Scriptable scope, Object[] args, boolean isStrict, boolean argsHasRest) static Scriptable
ScriptRuntime.createArrowFunctionActivation
(NativeFunction funObj, Scriptable scope, Object[] args, boolean isStrict) Deprecated.static Scriptable
ScriptRuntime.createFunctionActivation
(NativeFunction funObj, Context cx, Scriptable scope, Object[] args, boolean isStrict, boolean argsHasRest) static Scriptable
ScriptRuntime.createFunctionActivation
(NativeFunction funObj, Scriptable scope, Object[] args) static Scriptable
ScriptRuntime.createFunctionActivation
(NativeFunction funObj, Scriptable scope, Object[] args, boolean isStrict) static void
ScriptRuntime.initFunction
(Context cx, Scriptable scope, NativeFunction function, int type, boolean fromEvalCode) static void
ScriptRuntime.initScript
(NativeFunction funObj, Scriptable thisObj, Context cx, Scriptable scope, boolean evalScript) ModifierConstructorDescriptionES6Generator
(Scriptable scope, NativeFunction function, Object savedState) NativeGenerator
(Scriptable scope, NativeFunction function, Object savedState) -
Uses of NativeFunction in org.mozilla.javascript.optimizer
Modifier and TypeMethodDescriptionstatic Function
OptRuntime.bindThis
(NativeFunction fn, Context cx, Scriptable scope, Scriptable thisObj) static Scriptable
OptRuntime.createNativeGenerator
(NativeFunction funObj, Scriptable scope, Scriptable thisObj, int maxLocals, int maxStack) static void
OptRuntime.initFunction
(NativeFunction fn, int functionType, Scriptable scope, Context cx)
ScriptRuntime.createArrowFunctionActivation(NativeFunction, Context, Scriptable, Object[], boolean, boolean)
instead