On 26 Jul 2014, at 10:02, stepharo <steph...@free.fr> wrote: > Thierry we asked Mark Rizun to look into get a full "compilation unit" as an > AST: > - AST for packages > - AST for class definition. > He should look at what gisela proposed and any feedback is interesting. >
Only the name AST is wrong: the S stand for Syntax. There is no syntax for Classes, nor packages. What we want is models for everything with *the same API* as the nodes of the AST. (and visitors that can visit the whole structure) Marcus