2012-05-02 | Paul Boddie | file changeset files shortlog | Changed the visitor dispatch to occur through visit methods on the AST nodes. (This requires a modified version of the compiler package.) Added report output support for yield statements and conditional expressions. |
paul@242 | 1 | #!/usr/bin/env python |
paul@242 | 2 | |
paul@242 | 3 | import imported |
paul@242 | 4 | |
paul@242 | 5 | m = None |
paul@242 | 6 | m = imported |
paul@242 | 7 | |
paul@242 | 8 | result_123 = m.attr |
paul@242 | 9 | result_10 = m.a |
paul@242 | 10 | |
paul@242 | 11 | # vim: tabstop=4 expandtab shiftwidth=4 |