| Package | Description |
|---|---|
| org.htmlunit.corejs.javascript |
| Modifier and Type | Class and Description |
|---|---|
class |
AccessorSlot
This is a specialization of Slot to store various types of values that are retrieved dynamically
using Java and JavaScript functions.
|
class |
LambdaSlot
This is a specialization of property access using some lambda functions.
|
class |
LazyLoadSlot
This is a specialization of Slot to store values that are retrieved via calls to script
functions.
|
| Modifier and Type | Method and Description |
|---|---|
Slot |
SlotMap.modify(Object key,
int index,
int attributes)
Return the Slot that matches EITHER "key" or "index".
|
Slot |
HashSlotMap.modify(Object key,
int index,
int attributes) |
Slot |
EmbeddedSlotMap.modify(Object key,
int index,
int attributes)
Locate the slot with given name or index, and create a new one if necessary.
|
Slot |
SlotMap.query(Object key,
int index)
Retrieve the slot at EITHER key or index, or return null if the slot cannot be found.
|
Slot |
HashSlotMap.query(Object key,
int index) |
Slot |
EmbeddedSlotMap.query(Object key,
int index)
Locate the slot with the given name or index.
|
protected Slot |
ScriptableObject.querySlot(Context cx,
Object id) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Slot> |
HashSlotMap.iterator() |
Iterator<Slot> |
EmbeddedSlotMap.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
SlotMap.add(Slot newSlot)
Insert a new slot to the map.
|
void |
HashSlotMap.add(Slot newSlot) |
void |
EmbeddedSlotMap.add(Slot newSlot) |
void |
SlotMap.replace(Slot oldSlot,
Slot newSlot)
Replace "slot" with a new slot.
|
void |
HashSlotMap.replace(Slot oldSlot,
Slot newSlot) |
void |
EmbeddedSlotMap.replace(Slot oldSlot,
Slot newSlot) |
| Constructor and Description |
|---|
Slot(Slot oldSlot) |
Copyright © 2023 HtmlUnit. All rights reserved.