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.CollectionLengthvisit(self, node: astx.CollectionIsEmpty) -> None
title: Visit CollectionIsEmpty nodes.
parameters:
node:
type: astx.CollectionIsEmptyvisit(self, node: astx.CollectionContains) -> None
title: Visit CollectionContains nodes.
parameters:
node:
type: astx.CollectionContainsvisit(self, node: astx.CollectionIndex) -> None
title: Visit CollectionIndex nodes.
parameters:
node:
type: astx.CollectionIndexvisit(self, node: astx.CollectionCount) -> None
title: Visit CollectionCount nodes.
parameters:
node:
type: astx.CollectionCount