| Package | Description |
|---|---|
| org.htmlunit.corejs.javascript.ast |
| Modifier and Type | Class and Description |
|---|---|
class |
ObjectProperty
AST node for a single name:value entry in an Object literal.
|
class |
SpreadObjectProperty
AST node for a spread `...expression` in an object literal.
|
| Modifier and Type | Method and Description |
|---|---|
List<AbstractObjectProperty> |
ObjectLiteral.getElements()
Returns the element list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ObjectLiteral.addElement(AbstractObjectProperty element)
Adds an element to the list, and sets its parent to this node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ObjectLiteral.setElements(List<AbstractObjectProperty> elements)
Sets the element list, and updates the parent of each element.
|
Copyright © 2025 HtmlUnit. All rights reserved.