2006-11-28 | paulb | file changeset files shortlog | Introduced ReturnFromFunction and ReturnFromBlock nodes, replacing usage of Return nodes and improving the handling of locals snapshots and return values. Added pop-up elements for certain keywords in the viewer. Expanded operation node support. Tidied the construction of various node representations. Reordered various methods for potentially easier navigation. Expanded tests, adding for2.py: a test of return values within blocks. |
paulb@29 | 1 | class A: |
paulb@29 | 2 | def a(self): pass |
paulb@29 | 3 | class B(A): |
paulb@29 | 4 | def b(self): pass |
paulb@29 | 5 | class C(A, B): pass |
paulb@34 | 6 | class D(B): pass |