irx.builder.lowering.collections

irx.builder.lowering.collections

Source: packages/irx/src/irx/builder/lowering/collections.py

title: Common collection method lowering.
summary: >-
  Lower backend-neutral list, tuple, set, and dictionary query nodes using the
  semantic collection sidecars attached during analysis.

Classes

CollectionVisitorMixin(VisitorMixinBase)

title: Common collection method visitor mixin.

Methods

visit(self, node: astx.CollectionLength) -> None
title: Visit CollectionLength nodes.
parameters:
  node:
    type: astx.CollectionLength
visit(self, node: astx.CollectionIsEmpty) -> None
title: Visit CollectionIsEmpty nodes.
parameters:
  node:
    type: astx.CollectionIsEmpty
visit(self, node: astx.CollectionContains) -> None
title: Visit CollectionContains nodes.
parameters:
  node:
    type: astx.CollectionContains
visit(self, node: astx.CollectionIndex) -> None
title: Visit CollectionIndex nodes.
parameters:
  node:
    type: astx.CollectionIndex
visit(self, node: astx.CollectionCount) -> None
title: Visit CollectionCount nodes.
parameters:
  node:
    type: astx.CollectionCount