2007-04-06 | paulb | file changeset files shortlog | Introduced sets throughout the code. Created a simplified package containing essential classes. Changed the annotation visitor so that nodes are not returned from each visitor method. Added a check on the context when invoking subprograms so that the extra Self node is not inserted into the arguments for non-instance methods or functions. |
paulb@158 | 1 | import pkg, pkg.module, pkg as e, pkg.module as h |
paulb@158 | 2 | |
paulb@158 | 3 | pkg.f(1) |
paulb@158 | 4 | pkg.module.f(1, 2, 3) |
paulb@158 | 5 | e.f("2") |
paulb@158 | 6 | h.f("2", "3", "4") |