[antlr-interest] Re: JavaTreeParser? What does it do?

Terence Parr parrt at jguru.com
Tue Apr 29 07:58:52 PDT 2003


On Monday, April 28, 2003, at 05:48  PM, jw9315 wrote:
> What I was confused about is the fact that I call such as "AST myAST
> = r.getFirstChild();", but what is the difference between this and
> the line "JavaTreeParser tparse = new JavaTreeParser();".

Well, one asks some tree r for it's first child.  The second creates a 
tree parser.  Surely you're asking something else.

>  I can't
> understand what you can do differently with the two different
> commands! Sorry if this is a really stupid question but if there's a
> short answer that anyone's willing to give I would be glad to hear it.

I'm sorry...don't understand what you're confused about.

Terence
--
Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org
Co-founder, http://www.peerscope.com link sharing, pure-n-simple
Lecturer in Comp. Sci., University of San Francisco


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list