API reference
python:irx:irx.builder.lowering.ListVisitorMixin._lower_literal_list_index_via_runtime
method _lower_literal_list_index_via_runtime
_lower_literal_list_index_via_runtime(*, base: astx.LiteralList, index_node: astx.AST) -> None
Source: packages/irx/src/irx/builder/lowering/list.py:561
Declared as: python:irx:irx.builder.lowering.list.ListVisitorMixin._lower_literal_list_index_via_runtime
Lower one literal-list index through the runtime checks.
Parameters
-
base — Type: astx.LiteralList
-
index_node — Type: astx.AST