2007-09-06 | Paul Boddie | file changeset files shortlog | Added a fully-qualified name method for WithName-derived classes, producing a more usable global name for applications such as the viewer. Added a method for returning "visible" class attributes to GeneralClass. Added an attribute table production function for integration with the explicit distribution, along with a test program option for generating such a table. |
paulb@29 | 1 | class A: pass |
paulb@14 | 2 | a = A() |
paulb@257 | 3 | |
paulb@58 | 4 | a.x = 1, 2, 3 |
paulb@257 | 5 | a.y = "1", 1, 1.1 |
paulb@257 | 6 | a.z = 1, a.y, "1" |
paulb@257 | 7 | |
paulb@37 | 8 | c = b = a.x |
paulb@257 | 9 | e = d = a.y |
paulb@257 | 10 | g = f = a.z |
paulb@257 | 11 | |
paulb@37 | 12 | [x, y, z] = c |
paulb@37 | 13 | x, y, z = c |
paulb@257 | 14 | |
paulb@257 | 15 | [p, q, r] = e |
paulb@257 | 16 | p, q, r = e |
paulb@257 | 17 | |
paulb@257 | 18 | [l, m, n] = g |
paulb@257 | 19 | l, m, n = g |
paulb@257 | 20 | |
paulb@257 | 21 | l, (m1, m2, m3), n = g |