ArrayAccessExpressionNode interface

Properties

base
fromEnd
index

The index into the array. A literal number/string lowers to an integer/string array-access (or a property-access for identifier-like strings) at serialize time. Any ExpressionNode is serialized recursively into the wire array-access's index slot — e.g. a looped .at(loop.index) stores the unwrapped symbolic-value node (emitting sym[i]), and a computed offset stores a binary / fn-call node (sym[i + 1]). Expression<T> proxies are always unwrapped to their raw node before landing here, per the "state holds normalized raw nodes" invariant — so a proxy is never stored directly.

kind
nullish

Property Details

base

base: ExpressionNode

Property Value

fromEnd

fromEnd: boolean

Property Value

boolean

index

The index into the array. A literal number/string lowers to an integer/string array-access (or a property-access for identifier-like strings) at serialize time. Any ExpressionNode is serialized recursively into the wire array-access's index slot — e.g. a looped .at(loop.index) stores the unwrapped symbolic-value node (emitting sym[i]), and a computed offset stores a binary / fn-call node (sym[i + 1]). Expression<T> proxies are always unwrapped to their raw node before landing here, per the "state holds normalized raw nodes" invariant — so a proxy is never stored directly.

index: ArrayAccessIndex

Property Value

kind

kind: "array-access"

Property Value

"array-access"

nullish

nullish: boolean

Property Value

boolean