PyiEmitter¶
Note
Generated from the C++ headers by apiary --emit-cpp-docs-json.
-
class PyiOptions¶
Options controlling Python stub (.pyi) emission.
-
std::string banner¶
Optional comment header inserted at the top (e.g. “// generated from XYZ.hpp”). Empty by default.
-
std::string banner¶
-
std::string emit_pyi(const Module &module_, const PyiOptions &opts)¶
Render the module IR as a Python stub file.
- Parameters:
module – The module IR to emit.
opts – Emission options; defaults to an empty PyiOptions.
- Returns:
The rendered .pyi stub file contents.