API reference
python:irx:irx.builder.lowering.ListVisitorMixin._lower_literal_list_index
method _lower_literal_list_index
_lower_literal_list_index(*, base: astx.LiteralList, index_node: astx.AST) -> None
Source: packages/irx/src/irx/builder/lowering/list.py:712
Declared as: python:irx:irx.builder.lowering.list.ListVisitorMixin._lower_literal_list_index
Lower one literal-list indexing operation.
Use direct GEP lowering only when the caller has already proven the index is one known-safe constant within bounds.
Parameters
-
base — Type: astx.LiteralList
-
index_node — Type: astx.AST