API reference
python:astx:astx.types.generic
module generic
astx.types.generic
Source: packages/astx/src/astx/types/generic.py:1
ASTx AST type helpers.
Provide semantic-facing type nodes that extend the upstream ASTx type model without coupling them to template metadata helpers.
Classes
-
GeneratorType โ First-class generator object type.
-
TemplateTypeVar โ Semantic-only template type variable.
-
UnionType โ Finite compile-time union type domain.