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@128 | 1 | x = 1 |
paulb@128 | 2 | y = "2" |
paulb@128 | 3 | b = 3.0 |
paulb@128 | 4 | c = 4 |
paul@2 | 5 | a = x and y or b and not c |