[antlr-interest] Generating text from models
Terence Parr
parrt at cs.usfca.edu
Fri Dec 5 09:16:33 PST 2008
On Dec 5, 2008, at 5:00 AM, Oliver Zeigermann wrote:
> Ah. So you pass in the root of your POJO graph and let ST do the rest?
> Without using a tree walker?
>
> And the static POJO structure is your metamodel?
>
> Cool idea.
>
> Thanks for sharing :)
>
> Oliver
>
> P.S.: Can you share a demo template that shows this?
>>
I'm sure I've done this myself somewhere. It's easy and cool.
<obj.methods:{ m | method <m.name>}>
etc...
ST easily walks the java reflection structures.
Ter
More information about the antlr-interest
mailing list