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@104 | 1 | a = 1 |
paulb@104 | 2 | b = 2 |
paulb@104 | 3 | class C: |
paulb@104 | 4 | d = 3 |
paulb@104 | 5 | c = C() |
paulb@104 | 6 | e = 4 |
paulb@15 | 7 | a != b < c.d > e |