| Package | Description |
|---|---|
| org.htmlunit.corejs.javascript |
| Modifier and Type | Field and Description |
|---|---|
List<JSDescriptor<JSFunction>> |
JSDescriptor.nestedFunctions |
| Modifier and Type | Method and Description |
|---|---|
JSDescriptor<T> |
JSDescriptor.Builder.build(Consumer<JSDescriptor<?>> consumer)
Build the final object, calling the consumer as each
JSDescriptor is generated. |
default JSDescriptor<T> |
ScriptOrFn.getDescriptor() |
default JSDescriptor<JSScript> |
Script.getDescriptor() |
JSDescriptor<JSScript> |
JSScript.getDescriptor() |
JSDescriptor<JSFunction> |
JSFunction.getDescriptor() |
JSDescriptor<JSFunction> |
JSDescriptor.getFunction(int index) |
| Modifier and Type | Method and Description |
|---|---|
List<JSDescriptor<JSFunction>> |
JSDescriptor.getNestedFunctions() |
| 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 JSScript |
JSFunction.createScript(JSDescriptor<JSScript> desc,
Scriptable homeObject,
Object staticSecurityDomain)
Create script from compiled bytecode.
|
| Modifier and Type | Method and Description |
|---|---|
JSDescriptor<T> |
JSDescriptor.Builder.build(Consumer<JSDescriptor<?>> consumer)
Build the final object, calling the consumer as each
JSDescriptor is generated. |
| Constructor and Description |
|---|
JSDescriptor(JSCode<T> code,
JSCode<T> constructor,
JSDescriptor<?> parent,
String[] paramAndVarNames,
boolean[] paramIsConst,
boolean isStrict,
boolean isScript,
boolean isTopLevel,
boolean isES6Generator,
boolean isShorthand,
boolean hasPrototype,
boolean hasLexicalThis,
boolean isEvalFunction,
boolean hasRestArg,
String sourceFile,
String rawSource,
int rawSourceStart,
int rawSourceEnd,
String name,
int languageVersion,
int paramAndVarCount,
int paramCount,
int arity,
boolean hasDefaultParameters,
boolean requiresActivationFrame,
boolean requiresArgumentObject,
boolean declaredAsFunctionExpression,
SecurityController securityController,
Object securityDomain,
int functionType) |
JSFunction(Context cx,
Scriptable scope,
JSDescriptor<JSFunction> descriptor,
Scriptable lexicalThis,
Scriptable homeObject) |
JSScript(JSDescriptor<JSScript> descriptor,
Scriptable homeObject) |
Copyright © 2025 HtmlUnit. All rights reserved.