API reference
python:astx:astx.collections.common
module common
astx.collections.common
Source: packages/astx/src/astx/collections/common.py:1
ASTx shared collection helper AST nodes.
Provide backend-neutral collection query nodes that frontends can target when they need common list, tuple, set, or dictionary operations without binding directly to one runtime representation.
Classes
-
CollectionContains — Common collection containment query node.
-
CollectionCount — Common sequence count query node.
-
CollectionIndex — Common sequence index query node.
-
CollectionIsEmpty — Common collection emptiness query node.
-
CollectionLength — Common collection length query node.