wake.ir.expressions.index_access
module
#
IndexAccess
class
#
Bases: ExpressionAbc
Represents an index access to an array, bytes or mapping.
Source code in wake/ir/expressions/index_access.py
base_expression: ExpressionAbc
property
#
Returns:
Type | Description |
---|---|
ExpressionAbc
|
Base expression being indexed. |
children: Iterator[ExpressionAbc]
property
#
Yields:
Type | Description |
---|---|
ExpressionAbc
|
Direct children of this node. |
index_expression: Optional[ExpressionAbc]
property
#
Returns:
Type | Description |
---|---|
Optional[ExpressionAbc]
|
Index expression or |