[antlr-interest] Re: Make the generated Java files private

micheal_jor open.zone at virgin.net
Tue Oct 21 03:01:59 PDT 2003


--- In antlr-interest at yahoogroups.com, "pwolleba" <pwolleba at y...> wrote:
> I am struggling with a problem with my ANTLR parser, I would like to 
> generate lex and parser classes that are not public. 
> 
> "Class ModelParser extends
."  instead of  "public class ModelParser 
> extends
"
> 
> Do you have any solution to my problem?

RTFM?

See the "classHeaderPrefix" option in the documentation:

http://www.antlr.org/doc/options.html#Options

Cheers,

Micheal
ANTLR/C#



 

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




More information about the antlr-interest mailing list