pub fn generate_py_module(
unit: &CompilationUnit,
structs_and_enums: &[Type],
) -> PyModuleAvailable on crate feature
python only.Expand description
Build the Python API description from the lowered LLR plus the source-level
structs_and_enums, which the LLR does not carry. Both are available without
the object-tree Document, so the interpreter can generate the API from a
CompilationResult alone.