Trees Indices Help
Python Standard Library
Package compiler :: Module pycodegen :: Class Delegator
[]

_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.

AltStyle によって変換されたページ (->オリジナル) /