Skip to content

fontlab_echopy.tooling.generate

generate

Emit deterministic, source-readable facades from native captures.

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
function function (info: dict[str, Any], module: str, method: bool=False, builtins_name: str='') -> str
generate function (data: dict[str, Any], output: Path, capture_identity: dict[str, str] | None=None, keep: tuple[str, ...]=()) … Write source plus a name-coverage manifest; never modify overlay files.
module_source function (name: str, scope: dict[str, Any], available: bool) -> str
remove_stale function (output: Path, written: set[Path]) -> None Remove only previously generated modules, never handwritten support code.
scopes function (data: dict[str, Any]) -> Iterator[tuple[str, dict[str, Any], bool, bool]] Normalize fresh captures and legacy introspector JSON without rewriting it.
source_name function (name: str) -> str Expose C++ nested/template names as readable source identifiers.
valid function (name: str) -> bool