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:
-
get_struct– -
to_json– -
to_yaml–
Attributes:
-
module_key(str) –
Source code in packages/irx/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 packages/irx/src/irx/astx/modules.py
90 91 92 93 94 95 96 97 98 99 100 101 | |
to_json
¶
Source code in packages/astx/src/astx/base.py
400 401 402 403 404 405 406 407 408 409 | |
to_yaml
¶
Source code in packages/astx/src/astx/base.py
387 388 389 390 391 392 393 394 395 396 397 398 | |