[antlr-interest] ASTVistor v3

Miguel Ping miguel.ping at gmail.com
Wed May 9 16:11:38 PDT 2007


Well, since you insist...

I don't know if antlr v3 supports directly an ASTVisitor, but it's extremely
easy to implement your own, if you are familiar with the visitor pattern.
Can you post some details on why you couldn't make a tree walker? Btw, are
you parsing java source files?

On 5/9/07, Thiago Oliveira <thiago.oliveira20+antlr at gmail.com> wrote:
>
> Thanks a lot...
>
> On 5/8/07, Thiago Oliveira <thiago.oliveira20+antlr at gmail.com> wrote:
> >
> > Hi,
> >
> > I am a student from Brazil, graduating in Computer Science. I am
> > involved in a project for a security verifier for Java source codes in which
> > we use the antlr project, especially the Visitor issue. Nonetheless, we
> > could not find enough documentation about the usage of the class ASTVisitor
> > together with the java parser. All we were able to do until now was a simple
> > parsing of java file and an unsuccesful tree walking... =(
> > Could you possibly indicate a place where we could find more detailed
> > information about the usage of ASTVisitors and Java Parsers?
> >
> > --
> > Thiago Oliveira
> > Human Resources Director
> > Empresa Júnior de Computação - CJr
> > University of Brasilia
> > Brasilia
> > Brazil
> > +55 (61) 8447 8868
> > http://www.cjr.org.br
> > cjr at cjr.org.br
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070510/59e0613d/attachment.html 


More information about the antlr-interest mailing list