| Package | Description |
|---|---|
| org.htmlunit.corejs.javascript |
| Modifier and Type | Field and Description |
|---|---|
List<JSDescriptor<JSFunction>> |
JSDescriptor.nestedFunctions |
ArrayList<JSDescriptor.Builder<JSFunction>> |
JSDescriptor.Builder.nestedFunctions |
| Modifier and Type | Method and Description |
|---|---|
static JSFunction |
JSFunction.createFunction(Context cx,
Scriptable scope,
JSDescriptor<JSFunction> desc,
Scriptable homeObject,
Object staticSecurityDomain)
Create function compiled from Function(...) constructor.
|
| Modifier and Type | Method and Description |
|---|---|
JSDescriptor.Builder<JSFunction> |
JSDescriptor.Builder.createChildBuilder()
Create a builder for the descriptor of a nested function.
|
JSDescriptor<JSFunction> |
JSFunction.getDescriptor() |
JSDescriptor<JSFunction> |
JSDescriptor.getFunction(int index) |
List<JSDescriptor<JSFunction>> |
JSDescriptor.getNestedFunctions() |
| Modifier and Type | Method and Description |
|---|---|
static Scriptable |
ScriptRuntime.createArrowFunctionActivation(JSFunction funObj,
Context cx,
Scriptable scope,
Object[] args,
boolean isStrict,
boolean argsHasRest)
|
static Scriptable |
ScriptRuntime.createArrowFunctionActivation(JSFunction funObj,
Context cx,
Scriptable scope,
Object[] args,
boolean isStrict,
boolean argsHasRest,
boolean requiresArgumentObject) |
static Scriptable |
ScriptRuntime.createArrowFunctionActivation(JSFunction funObj,
Scriptable scope,
Object[] args,
boolean isStrict)
|
static Scriptable |
ScriptRuntime.createFunctionActivation(JSFunction funObj,
Context cx,
Scriptable scope,
Object[] args,
boolean isStrict,
boolean argsHasRest)
|
static Scriptable |
ScriptRuntime.createFunctionActivation(JSFunction funObj,
Context cx,
Scriptable scope,
Object[] args,
boolean isStrict,
boolean argsHasRest,
boolean requiresArgumentObject) |
static Scriptable |
ScriptRuntime.createFunctionActivation(JSFunction funObj,
Scriptable scope,
Object[] args)
|
static Scriptable |
ScriptRuntime.createFunctionActivation(JSFunction funObj,
Scriptable scope,
Object[] args,
boolean isStrict)
|
static void |
ScriptRuntime.initFunction(Context cx,
Scriptable scope,
JSFunction function,
int type,
boolean fromEvalCode) |
| Modifier and Type | Method and Description |
|---|---|
static JSFunction |
JSFunction.createFunction(Context cx,
Scriptable scope,
JSDescriptor<JSFunction> desc,
Scriptable homeObject,
Object staticSecurityDomain)
Create function compiled from Function(...) constructor.
|
static void |
CodeGenUtils.fillInForNestedFunction(JSDescriptor.Builder<JSFunction> builder,
JSDescriptor.Builder<?> parent,
FunctionNode fn)
Populates builder data for a nested function.
|
| Constructor and Description |
|---|
ES6Generator(Scriptable scope,
JSFunction function,
Object savedState) |
NativeGenerator(Scriptable scope,
JSFunction function,
Object savedState) |
| Constructor and Description |
|---|
JSFunction(Context cx,
Scriptable scope,
JSDescriptor<JSFunction> descriptor,
Scriptable lexicalThis,
Scriptable homeObject) |
Copyright © 2025 HtmlUnit. All rights reserved.