| Package | Description |
|---|---|
| org.htmlunit.corejs.javascript | |
| org.htmlunit.corejs.javascript.regexp | |
| org.htmlunit.corejs.javascript.typedarrays |
| 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,
Callable target,
int attributes)
Define a function property directly on the constructor that is implemented under the covers
by a LambdaFunction.
|
void |
ScriptableObject.defineProperty(Symbol key,
Object value,
int attributes)
A version of defineProperty that uses a Symbol key.
|
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 |
NativeWeakSet.findPrototypeId(Symbol k) |
protected int |
NativeWeakMap.findPrototypeId(Symbol k) |
protected int |
NativeSymbol.findPrototypeId(Symbol key) |
protected int |
NativeSet.findPrototypeId(Symbol k) |
protected int |
NativeMap.findPrototypeId(Symbol k) |
protected int |
NativeArray.findPrototypeId(Symbol k) |
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.
|
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) |
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) |
static void |
ScriptableObject.putProperty(Scriptable obj,
Symbol key,
Object value)
This is a version of putProperty for Symbol keys.
|
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) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
NativeTypedArrayView.findPrototypeId(Symbol k) |
Copyright © 2023 HtmlUnit. All rights reserved.