class documentation
Module node. Holds module contents (constants / classes / functions). Attributes: name: Name of this module, or None for the top-level module. constants: Iterable of module-level constants. type_params: Iterable of module-level type parameters. functions: Iterable of functions defined in this type decl unit. classes: Iterable of classes defined in this type decl unit. aliases: Iterable of aliases (or imports) for types in other modules.
Method | __contains__ |
Undocumented |
Method | __eq__ |
Undocumented |
Method | __hash__ |
Undocumented |
Method | __ne__ |
Undocumented |
Method |
|
Version of Lookup that returns None instead of raising. |
Method |
|
Convenience function: Look up a given name in the global namespace. |
Class Variable | aliases |
Undocumented |
Class Variable | classes |
Undocumented |
Class Variable | constants |
Undocumented |
Class Variable | functions |
Undocumented |
Class Variable | name |
Undocumented |
Class Variable | type |
Undocumented |
Method | _ |
Undocumented |
Inherited from Node
:
Method | __ge__ |
Undocumented |
Method | __gt__ |
Larger than other node? Define so we can have deterministic ordering. |
Method | __iter__ |
Undocumented |
Method | __le__ |
Undocumented |
Method | __lt__ |
Smaller than other node? Define so we can have deterministic ordering. |
Method |
|
Undocumented |
Method |
|
Undocumented |
Method |
|
Undocumented |
Method |
|
Visitor interface for transforming a tree of nodes to a new tree. |
Class Variable | __slots__ |
Undocumented |
Method | _ |
Returns a tuple of the fields of self as a sort key. |
Class Variable | _name2item |
Undocumented |