| Package | Description |
|---|---|
| org.htmlunit.corejs.javascript | |
| org.htmlunit.corejs.javascript.regexp |
| Modifier and Type | Class and Description |
|---|---|
class |
NativeSymbol
This is an implementation of the standard "Symbol" type that implements all of its weird
properties.
|
class |
SymbolKey
A SymbolKey is one of the implementations of Symbol.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
ScriptableObject.defineProperty(Context cx,
Symbol key,
ScriptableObject.LambdaGetterFunction getter,
ScriptableObject.LambdaSetterFunction setter,
int attributes) |
void |
ScriptableObject.defineProperty(Symbol key,
Object value,
int attributes)
A version of defineProperty that uses a Symbol key.
|
void |
LambdaConstructor.definePrototypeProperty(Context cx,
Symbol key,
ScriptableObject.LambdaGetterFunction getter,
int attributes) |
void |
LambdaConstructor.definePrototypeProperty(Context cx,
Symbol key,
ScriptableObject.LambdaGetterFunction getter,
ScriptableObject.LambdaSetterFunction setter,
int attributes) |
void |
LambdaConstructor.definePrototypeProperty(Context cx,
Symbol key,
ScriptableObject descriptor) |
void |
LambdaConstructor.definePrototypeProperty(Symbol key,
Object value,
int attributes) |
void |
SymbolScriptable.delete(Symbol key)
Delete a property with the specified key.
|
void |
ScriptableObject.delete(Symbol key)
Removes an object like the others, but using a Symbol as the key.
|
void |
NativeWith.delete(Symbol key) |
void |
NativeJavaObject.delete(Symbol key) |
void |
NativeJavaArray.delete(Symbol key) |
void |
IdScriptableObject.delete(Symbol key) |
void |
Delegator.delete(Symbol key) |
static boolean |
ScriptableObject.deleteProperty(Scriptable obj,
Symbol key)
A version of deleteProperty for properties with Symbol keys.
|
protected int |
IdScriptableObject.findInstanceIdInfo(Symbol key)
Map name to id of instance property.
|
protected int |
IdScriptableObject.findPrototypeId(Symbol key) |
protected int |
ES6Iterator.findPrototypeId(Symbol k) |
protected int |
ES6Generator.findPrototypeId(Symbol k) |
Object |
SymbolScriptable.get(Symbol key,
Scriptable start)
Return the value of the property with the specified key, or NOT_FOUND.
|
Object |
ScriptableObject.get(Symbol key,
Scriptable start)
Another version of Get that supports Symbol keyed properties.
|
Object |
NativeWith.get(Symbol key,
Scriptable start) |
Object |
NativeJavaObject.get(Symbol key,
Scriptable start) |
Object |
NativeJavaMap.get(Symbol key,
Scriptable start) |
Object |
NativeJavaList.get(Symbol key,
Scriptable start) |
Object |
NativeJavaArray.get(Symbol key,
Scriptable start) |
Object |
IdScriptableObject.get(Symbol key,
Scriptable start) |
Object |
Delegator.get(Symbol key,
Scriptable start) |
int |
ScriptableObject.getAttributes(Symbol sym) |
int |
IdScriptableObject.getAttributes(Symbol key) |
static Object |
ScriptableObject.getProperty(Scriptable obj,
Symbol key)
This is a version of getProperty that works with Symbols.
|
static Object |
ScriptableObject.getSuperProperty(Scriptable superObj,
Scriptable thisObj,
Symbol key)
This is a version of getSuperProperty that works with Symbols.
|
boolean |
SymbolScriptable.has(Symbol key,
Scriptable start)
Return true if the specified property exists.
|
boolean |
ScriptableObject.has(Symbol key,
Scriptable start)
A version of "has" that supports symbols.
|
boolean |
NativeWith.has(Symbol key,
Scriptable start) |
boolean |
NativeJavaObject.has(Symbol key,
Scriptable start) |
boolean |
NativeJavaMap.has(Symbol key,
Scriptable start) |
boolean |
NativeJavaList.has(Symbol key,
Scriptable start) |
boolean |
NativeJavaArray.has(Symbol key,
Scriptable start) |
boolean |
IdScriptableObject.has(Symbol key,
Scriptable start) |
boolean |
Delegator.has(Symbol key,
Scriptable start) |
static boolean |
ScriptableObject.hasProperty(Scriptable obj,
Symbol key)
A version of hasProperty for properties with Symbol keys.
|
IdFunctionObject |
IdScriptableObject.initPrototypeMethod(Object tag,
int id,
Symbol key,
String functionName,
int arity) |
IdFunctionObject |
IdScriptableObject.initPrototypeMethod(Object tag,
int id,
Symbol key,
String functionName,
int arity,
int attributes) |
void |
IdScriptableObject.initPrototypeValue(int id,
Symbol key,
Object value,
int attributes) |
void |
SymbolScriptable.put(Symbol key,
Scriptable start,
Object value)
Add a new property to to the object.
|
void |
ScriptableObject.put(Symbol key,
Scriptable start,
Object value)
Implementation of put required by SymbolScriptable objects.
|
void |
NativeWith.put(Symbol symbol,
Scriptable start,
Object value) |
void |
NativeSymbol.put(Symbol key,
Scriptable start,
Object value) |
void |
NativeJavaObject.put(Symbol symbol,
Scriptable start,
Object value) |
void |
IdScriptableObject.put(Symbol key,
Scriptable start,
Object value) |
void |
Delegator.put(Symbol symbol,
Scriptable start,
Object value) |
protected boolean |
ScriptableObject.putOwnProperty(Symbol key,
Scriptable start,
Object value,
boolean isThrow)
Set the value of the named property, and return true if the property is actually defined and
can be set.
|
static void |
ScriptableObject.putProperty(Scriptable obj,
Symbol key,
Object value)
This is a version of putProperty for Symbol keys.
|
static void |
ScriptableObject.putSuperProperty(Scriptable superObj,
Scriptable thisObj,
Symbol key,
Object value)
Variant of putProperty to handle super[key] = value where key is a symbol
|
void |
ScriptableObject.setAttributes(Symbol key,
int attributes)
Set attributes of a Symbol-keyed property.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
NativeRegExp.findPrototypeId(Symbol k) |
Copyright © 2025 HtmlUnit. All rights reserved.