| Package | Description |
|---|---|
| org.htmlunit.corejs.javascript |
| Modifier and Type | Field and Description |
|---|---|
protected SerializableCallable |
LambdaFunction.target |
| Modifier and Type | Method and Description |
|---|---|
void |
LambdaConstructor.defineConstructorMethod(Scriptable scope,
String name,
int length,
Object prototype,
SerializableCallable 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", "arity", and
"protoyupe" properties.
|
void |
LambdaConstructor.defineConstructorMethod(Scriptable scope,
String name,
int length,
SerializableCallable target,
int attributes)
Define a function property directly on the constructor that is implemented under the covers
by a LambdaFunction.
|
void |
LambdaConstructor.defineConstructorMethod(Scriptable scope,
String name,
int length,
SerializableCallable 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.
|
void |
LambdaConstructor.defineConstructorMethod(Scriptable scope,
Symbol key,
String name,
int length,
SerializableCallable target,
int attributes)
Define a function property directly on the constructor that is implemented under the covers
by a LambdaFunction.
|
void |
LambdaConstructor.defineKnownBuiltInPrototypeMethod(Object tag,
Scriptable scope,
String name,
int length,
Object prototype,
SerializableCallable target,
int attributes,
int propertyAttributes)
Define a function property on the prototype of the constructor using a KnownBuiltInFunction
under the covers.
|
void |
ScriptableObject.defineProperty(Scriptable scope,
String name,
int length,
SerializableCallable target,
int attributes,
int propertyAttributes)
Utility method to add lambda properties to arbitrary Scriptable object.
|
void |
LambdaConstructor.definePrototypeMethod(Scriptable scope,
String name,
int length,
Object prototype,
SerializableCallable target,
int attributes,
int propertyAttributes)
Define a function property on the prototype of the constructor using a LambdaFunction under
the covers.
|
void |
LambdaConstructor.definePrototypeMethod(Scriptable scope,
String name,
int length,
SerializableCallable target)
Define a function property on the prototype of the constructor using a LambdaFunction under
the covers.
|
void |
LambdaConstructor.definePrototypeMethod(Scriptable scope,
String name,
int length,
SerializableCallable target,
int attributes,
int propertyAttributes)
Define a function property on the prototype of the constructor using a LambdaFunction under
the covers.
|
void |
LambdaConstructor.definePrototypeMethod(Scriptable scope,
String name,
int length,
SerializableCallable target,
int attributes,
int propertyAttributes,
boolean defaultPrototype)
Define a function property on the prototype of the constructor using a LambdaFunction under
the covers and control the prototype of the new function
|
void |
LambdaConstructor.definePrototypeMethod(Scriptable scope,
SymbolKey name,
int length,
Object prototype,
SerializableCallable target,
int attributes,
int propertyAttributes)
Define a function property on the prototype of the constructor using a LambdaFunction under
the covers.
|
void |
LambdaConstructor.definePrototypeMethod(Scriptable scope,
SymbolKey name,
int length,
SerializableCallable target,
int attributes,
int propertyAttributes)
Define a function property on the prototype of the constructor using a LambdaFunction under
the covers.
|
| Constructor and Description |
|---|
KnownBuiltInFunction(Object tag,
Scriptable scope,
String name,
int length,
Object prototype,
SerializableCallable target)
Create a new function.
|
LambdaConstructor(Scriptable scope,
String name,
int length,
Object prototype,
SerializableCallable target,
SerializableConstructable targetConstructor) |
LambdaConstructor(Scriptable scope,
String name,
int length,
SerializableCallable target,
SerializableConstructable targetConstructor)
Create a new function that may be used as a constructor.
|
LambdaFunction(Scriptable scope,
int length,
SerializableCallable target)
Create a new built-in function, with no name, and no default prototype.
|
LambdaFunction(Scriptable scope,
String name,
int length,
Object prototype,
SerializableCallable target)
Create a new function.
|
LambdaFunction(Scriptable scope,
String name,
int length,
SerializableCallable target)
Create a new function.
|
LambdaFunction(Scriptable scope,
String name,
int length,
SerializableCallable target,
boolean defaultPrototype)
Create a new function.
|
Copyright © 2025 HtmlUnit. All rights reserved.