modules
¶
Classes:
NamespaceKind
¶
NamespaceType
¶
NamespaceType(
namespace_key: str,
*,
namespace_kind: NamespaceKind = MODULE,
display_name: str | None = None,
)
Bases: AnyType
Represent one imported namespace value during semantic analysis and lowering without modeling it as a user-defined runtime aggregate. attributes: namespace_key: type: str namespace_kind: type: NamespaceKind display_name: type: str | None
Methods:
Attributes:
-
module_key(str) –
Source code in src/irx/astx/modules.py
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
get_struct
¶
get_struct(simplified: bool = False) -> ReprStruct
Source code in src/irx/astx/modules.py
90 91 92 93 94 95 96 97 98 99 100 101 | |