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. |
paul@0 | 1 | while a: |
paul@0 | 2 | while x: |
paul@0 | 3 | x = y.m() |
paul@0 | 4 | else: |
paul@0 | 5 | x = y.n() |
paul@0 | 6 | else: |
paul@0 | 7 | a = b |