Constructor
new GetAttr(expr:, id:, arrayopt)
Create an attribute access node.
- Source:
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
expr: |
*
|
target expression | |
id: |
*
|
attribute identifier or index expression | |
array |
boolean
|
<optional> |
true when array-style indexing is used |