[antlr-interest] How does AST construction work?

Terence Parr parrt at cs.usfca.edu
Tue May 17 16:25:41 PDT 2005


On May 16, 2005, at 10:53 AM, Paul Johnson wrote:

> Thanks - I think the fog is slowly lifting...
>
> Bryan Ewbank wrote:
>
>> Try removing the "^" from your example and look at the results.  This
>> should help...
>>
>
> I tried this, and the returned tree just contains '2':

Use toStringList() not toString() :)

Ter
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com



More information about the antlr-interest mailing list