Package compiler :: Module pycodegen :: Class Delegator
[hide private]
[frames] | no frames]

_ClassType Delegator

Known Subclasses:

Base class to support delegation for augmented assignment nodes

To generator code for augmented assignments, we use the following wrapper classes. In visitAugAssign, the left-hand expression node is visited twice. The first time the visit uses the normal method for that node . The second time the visit uses a different method that generates the appropriate code to perform the assignment. These delegator classes wrap the original AST nodes in order to support the variant visit methods.

Instance Methods [hide private]
__init__(self, obj)
__getattr__(self, attr)