[antlr-interest] Return List from Java.g file

charbel elkaed charbel.kaed at gmail.com
Thu Jan 27 17:08:55 PST 2011


Hi ANTLR Users,

I just started with ANTLR, followed the basic tutorials.

I am using ANTLR to parse a Java File, then do some treatment on  the
imports,  on some declarations and method invocation then regenerate
an output a Java File.

So far I can retrieve the imports but I think the declarations
treatment will be a bit more complex. For the imports, I using a list
in the Java.g.

Any idea how can I do that?
Is there any ANTLR API : Java->To->Java that I can use ?

Best Regards,
Charbel


More information about the antlr-interest mailing list