Skip to main content

Module types

Module types 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Structs§

MatchArm
A match case arm: case <pattern>: <body>
PythonBackend
Python code generation backend.
PythonClass
A Python class definition.
PythonClassVar
A class variable (field) in a Python class.
PythonFunction
A Python function definition.
PythonModule
A complete Python module (one .py file).
PythonParam
Python function parameter with optional type annotation and default.

Enums§

FStringPart
Part of an f-string.
PythonExpr
Python expression for code generation.
PythonLit
Python literal value.
PythonStmt
Python statement for code generation.
PythonType
Python type annotation for type-hinted code generation (PEP 484).