Methods and Method Usages
Classes provide access to their methods and method usages through an intuitive API:Methods are typed as Function objects.
Class Attributes
Attributes can be accessed and modified easily:Manipulating Attributes
Attributes expose their own API for modification and analysis:Attribute operations automatically handle all references, including
self.attribute usages in methods and string references.Working with Inheritance
You can navigate inheritance hierarchies with APIs including:Codegen handles both internal and external parent classes (like stdlib
classes). The
superclasses property follows the language’s MRO rules for
method resolution.