GitHub

Finalized

API reference for Finalized.

A snapshot of a module (Module.finalize): the name of every binding it rendered, its declarations in dependency order, the roots asked for, its import statements and the fragments add appended.

Attributes

AttributeTypeDescription
namesMapping[Binding, str]
declarationstuple[FinalizedDeclaration, ...]
rootstuple[str, ...]
importstuple[str, ...]
bodytuple[str, ...]

Functions

__init__

__init__(names, declarations, roots, imports, body) -> None
ParameterTypeDescription
namesMapping[Binding, str]
declarationstuple[FinalizedDeclaration, ...]
rootstuple[str, ...]
importstuple[str, ...]
bodytuple[str, ...]