Uses of Class
org.htmlunit.corejs.javascript.JSFunction
Packages that use JSFunction
-
Uses of JSFunction in org.htmlunit.corejs.javascript
Fields in org.htmlunit.corejs.javascript with type parameters of type JSFunctionModifier and TypeFieldDescriptionstatic final JSDescriptor<JSFunction>NativeArray.ITERATOR_DESCRIPTORfinal ArrayList<JSDescriptor.Builder<JSFunction>>JSDescriptor.Builder.nestedFunctionsJSDescriptor.nestedFunctionsstatic final JSCode<JSFunction>JSCode.NOT_CALLABLEMethods in org.htmlunit.corejs.javascript that return JSFunctionModifier and TypeMethodDescriptionClassDescriptor.buildConstructor(Context cx, VarScope scope, ScriptableObject proto, boolean sealed) Build a constructor from this descriptor.ClassDescriptor.buildConstructor(Context cx, VarScope scope, ScriptableObject proto, boolean sealed, BiConsumer<Context, JSFunction> customStep) Build a constructor from this descriptor.static JSFunctionJSFunction.createFunction(Context cx, VarScope scope, JSDescriptor<JSFunction> desc, Scriptable homeObject, Object staticSecurityDomain) Create function compiled from Function(...) constructor.Methods in org.htmlunit.corejs.javascript that return types with arguments of type JSFunctionModifier and TypeMethodDescriptionEvaluator.compileFunction(CompilerEnvirons compilerEnv, ScriptNode tree, String rawSource) Compile a function from intermediate representation tree into an executable form.Interpreter.compileFunction(CompilerEnvirons compilerEnv, ScriptNode tree, String rawSource) InterpreterV2.compileFunction(CompilerEnvirons compilerEnv, ScriptNode tree, String rawSource) JSDescriptor.Builder.createChildBuilder()Create a builder for the descriptor of a nested function.ClassDescriptor.ctorDesc()ClassDescriptor.findCtorDesc(Object name) ClassDescriptor.findProtoDesc(Object name) JSFunction.getDescriptor()JSDescriptor.getFunction(int index) JSDescriptor.getNestedFunctions()ClassDescriptor.typeError()Methods in org.htmlunit.corejs.javascript with parameters of type JSFunctionModifier and TypeMethodDescriptionstatic VarScopeScriptRuntime.createArrowFunctionActivation(JSFunction funObj, Context cx, VarScope scope, Object[] args, boolean argsHasRest, boolean requiresArgumentObject) static VarScopeScriptRuntime.createFunctionActivation(JSFunction funObj, Context cx, VarScope scope, Object[] args, boolean argsHasRest, boolean requiresArgumentObject) static VarScopeScriptRuntime.createFunctionActivation(JSFunction funObj, VarScope scope, Object[] args) Deprecated.static ScriptableScriptRuntime.findPrototype(JSFunction f, Object nt, TopLevel.Builtins type) static ScriptableScriptRuntime.findPrototype(JSFunction f, Object nt, org.htmlunit.corejs.javascript.TopLevel.NativeErrors type) static voidScriptRuntime.initFunction(Context cx, VarScope scope, JSFunction function, int type, boolean fromEvalCode) static booleanNativeContinuation.isContinuationConstructor(JSFunction f) static voidScriptRuntime.setBuiltinProtoAndParent(ScriptableObject obj, JSFunction f, Object nt, VarScope s, TopLevel.Builtins type) static voidScriptRuntime.setBuiltinProtoAndParent(ScriptableObject obj, JSFunction f, Object nt, VarScope s, org.htmlunit.corejs.javascript.TopLevel.NativeErrors type) Method parameters in org.htmlunit.corejs.javascript with type arguments of type JSFunctionModifier and TypeMethodDescriptionClassDescriptor.buildConstructor(Context cx, VarScope scope, ScriptableObject proto, boolean sealed, BiConsumer<Context, JSFunction> customStep) Build a constructor from this descriptor.static JSFunctionJSFunction.createFunction(Context cx, VarScope scope, JSDescriptor<JSFunction> desc, Scriptable homeObject, Object staticSecurityDomain) Create function compiled from Function(...) constructor.Evaluator.createFunctionObject(Context cx, VarScope scope, CompilationResult<JSFunction> compiled, Object staticSecurityDomain) Create a function object.Interpreter.createFunctionObject(Context cx, VarScope scope, CompilationResult<JSFunction> compiled, Object staticSecurityDomain) InterpreterV2.createFunctionObject(Context cx, VarScope scope, CompilationResult<JSFunction> compiled, Object staticSecurityDomain) static voidCodeGenUtils.fillInForNestedFunction(JSDescriptor.Builder<JSFunction> builder, JSDescriptor.Builder<?> parent, FunctionNode fn) Populates builder data for a nested function.ClassDescriptor.Builder.withMethod(ClassDescriptor.Destination dest, String name, int length, ClassDescriptor.BuiltInJSCodeExec<JSFunction> code) Adds a method on the constructor with the standard property attributes for a method on a built in constructor.ClassDescriptor.Builder.withMethod(ClassDescriptor.Destination dest, String name, int length, ClassDescriptor.BuiltInJSCodeExec<JSFunction> code, int attributes, int stdAttrs) Adds a method on the constructor with the custom property attributes.ClassDescriptor.Builder.withMethod(ClassDescriptor.Destination dest, SymbolKey name, int length, ClassDescriptor.BuiltInJSCodeExec<JSFunction> code) Adds a method on the constructor with the standard property attributes for a method on a built in constructor.ClassDescriptor.Builder.withMethod(ClassDescriptor.Destination dest, SymbolKey name, int length, ClassDescriptor.BuiltInJSCodeExec<JSFunction> code, int attributes, int stdAttrs) Adds a method on the constructor with the custom property attributes.Constructors in org.htmlunit.corejs.javascript with parameters of type JSFunctionModifierConstructorDescriptionES6Generator(VarScope scope, JSFunction function, Object savedState) NativeGenerator(VarScope scope, JSFunction function, Object savedState) Constructor parameters in org.htmlunit.corejs.javascript with type arguments of type JSFunctionModifierConstructorDescriptionBuilder(String name, int length, ClassDescriptor.BuiltInJSCodeExec<JSFunction> ctor) Create a builder for a constructor with the standard attributes for a built in EcmaScript class that can only be called as a constructor.Builder(String name, int length, ClassDescriptor.BuiltInJSCodeExec<JSFunction> ctor, int ctorAttrs, int protoAttrs) Create a builder for a constructor with non-standard attributes that can only be called as a constructor.Builder(String name, int length, ClassDescriptor.BuiltInJSCodeExec<JSFunction> call, ClassDescriptor.BuiltInJSCodeExec<JSFunction> construct) Create a builder for a constructor with the standard attributes for a built in EcmaScript class that can be called as either a constructor of as a functio., which may have different behaviours.Builder(String name, int length, ClassDescriptor.BuiltInJSCodeExec<JSFunction> call, ClassDescriptor.BuiltInJSCodeExec<JSFunction> construct, int ctorAttrs, int protoAttrs) Create a builder for a constructor with the standard attributes that can be called as either a constructor of as a functio., which may have different behaviours.Builder(SymbolKey name, int length, ClassDescriptor.BuiltInJSCodeExec<JSFunction> ctor) Builder(SymbolKey name, int length, ClassDescriptor.BuiltInJSCodeExec<JSFunction> call, ClassDescriptor.BuiltInJSCodeExec<JSFunction> construct) Builder(SymbolKey name, int length, ClassDescriptor.BuiltInJSCodeExec<JSFunction> call, ClassDescriptor.BuiltInJSCodeExec<JSFunction> construct, int ctorAttrs, int protoAttrs) Builder(SymbolKey name, String ctorName, int length, ClassDescriptor.BuiltInJSCodeExec<JSFunction> call, ClassDescriptor.BuiltInJSCodeExec<JSFunction> construct) Builder(SymbolKey name, String ctorName, int length, ClassDescriptor.BuiltInJSCodeExec<JSFunction> call, ClassDescriptor.BuiltInJSCodeExec<JSFunction> construct, int ctorAttrs, int protoAttrs) JSFunction(Context cx, VarScope scope, JSDescriptor<JSFunction> descriptor, Object lexicalThis, Object lexicalNewTarget, Scriptable homeObject) -
Uses of JSFunction in org.htmlunit.corejs.javascript.typedarrays
Methods in org.htmlunit.corejs.javascript.typedarrays that return JSFunctionModifier and TypeMethodDescriptionstatic JSFunctionstatic JSFunctionstatic JSFunctionstatic JSFunctionstatic JSFunctionstatic JSFunctionstatic JSFunctionstatic JSFunctionstatic JSFunctionstatic JSFunctionstatic JSFunctionstatic JSFunctionMethods in org.htmlunit.corejs.javascript.typedarrays with parameters of type JSFunctionModifier and TypeMethodDescriptionprotected static NativeTypedArrayView<?>NativeTypedArrayView.js_constructor(Context cx, JSFunction f, Object nt, VarScope s, Object thisObj, Object[] args, NativeTypedArrayView.TypedArrayConstructable constructable, int bytesPerElement, TopLevel.Builtins type)
ScriptRuntime.createFunctionActivation(JSFunction, Context, VarScope, Object[], boolean, boolean)instead