API reference
python:irx:irx.builder.lowering.CollectionVisitorMixin._lower_list_search
method _lower_list_search
_lower_list_search(*, base: astx.AST, value: astx.AST, method: CollectionMethodKind, resolution: ResolvedCollectionMethod) -> ir.Value
Source: packages/irx/src/irx/builder/lowering/collections.py:301
Declared as: python:irx:irx.builder.lowering.collections.CollectionVisitorMixin._lower_list_search
Lower dynamic-list containment, index, or count.
Parameters
-
base — Base value or declaration.; Type: astx.AST
-
value — Value to process.; Type: astx.AST
-
method — Method.; Type: CollectionMethodKind
-
resolution — Resolution.; Type: ResolvedCollectionMethod
Returns
Lowered dynamic-list containment, index, or count.; Type: ir.Value