Skip to content

fontlab_echopy.tooling.signatures

signatures

Conservative native-signature conversion; uncertain signatures remain variadic.

C++ type mappings retain the legacy generator's conventions. Native source text is kept in docstrings so conversion never erases the original evidence.

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
TYPES attribute
annotation function (text: str) -> str Map known native types and preserve valid forward references.
outside_literals function (text: str) -> str Mask quoted content while retaining offsets into the original signature.
python_signature function (text: str, method: bool) -> tuple[str, str] | None Parse a Python signature with AST and annotate undocumented parameters.
signature function (text: str, name: str, method: bool=False) -> tuple[str, str] Convert a documented signature; never infer missing native parameters.
split_params function (text: str) -> list[str] Split commas outside nested template, tuple, and default expressions.