[antlr-interest] Java *_return Access Level

Terence Parr parrt at cs.usfca.edu
Thu Oct 9 17:32:18 PDT 2008


Hi. I had not thought of that. yes that is a problem, but you need to  
access the return structures to pull results from the start symbol  
like the tree.
Ter
On Oct 9, 2008, at 5:29 PM, Randall R Schulz wrote:

> Hi,
>
> Is there any reason the many *_return classes generated when a grammar
> uses the "returns [ ... ]" construct (under Java) cannot be
> declared "private" (or, at least, "protected")?
>
> This would have the salutary effect of excluding them from the  
> external
> JavaDoc HTML typically generated from ANTLR-generated sources, which
> usually excludes private members.
>
>
> Randall Schulz
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>



More information about the antlr-interest mailing list