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#
| Attribute | Type | Description |
|---|---|---|
names | Mapping[Binding, str] | |
declarations | tuple[FinalizedDeclaration, ...] | |
roots | tuple[str, ...] | |
imports | tuple[str, ...] | |
body | tuple[str, ...] |
Functions#
__init__#
__init__(names, declarations, roots, imports, body) -> None| Parameter | Type | Description |
|---|---|---|
names | Mapping[Binding, str] | |
declarations | tuple[FinalizedDeclaration, ...] | |
roots | tuple[str, ...] | |
imports | tuple[str, ...] | |
body | tuple[str, ...] |