API reference
python:irx:irx.builder.lowering.CollectionVisitorMixin
class CollectionVisitorMixin
Source: packages/irx/src/irx/builder/lowering/collections.py:34
Declared as: python:irx:irx.builder.lowering.collections.CollectionVisitorMixin
Common collection method visitor mixin.
Methods
-
_collection_length_value — Lower one collection length to an Int64 value.
-
_dynamic_list_length — Lower one dynamic list length without narrowing.
-
_emit_collection_equal — Emit one equality comparison for collection search.
-
_entry_can_match_probe — Return whether one literal entry can match a probe value.
-
_initial_list_search_result — Return the initial Int32 list-search result.
-
_literal_contains_entries — Return literal entries that participate in containment.
-
_lower_list_search — Lower dynamic-list containment, index, or count.
-
_lower_literal_collection_contains — Lower containment for a literal collection.
-
_lower_literal_sequence_search — Lower index or count for a literal list or tuple.
-
_next_literal_count_result — Return the next literal count result.
-
_next_literal_index_result — Return the next literal index result.
-
_resolved_collection_method — Return resolved collection method metadata.
-
_sequence_or_literal_search — Lower collection search for literals or dynamic lists.
-
_static_collection_length — Return a statically known collection length.
-
_store_list_search_found_result — Store the found result for list contains or index.
-
_update_list_count_result — Update count result for one dynamic-list match.
-
visit — Visit CollectionLength nodes.