[antlr-interest] Code beautifier-indentation

Alexey Demakov demakov at ispras.ru
Fri Mar 18 02:40:02 PST 2005


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

----- Original Message ----- 
From: "Meena Moktali" <mmoktali at bphx.dk>
To: <antlr-interest at antlr.org>
Sent: Friday, March 18, 2005 12:53 PM
Subject: RE: [antlr-interest] Code beautifier-indentation


> hi everyone!
> Can anyone tell me what do the below given variables do?
> 
> codeGenMakeSwitchThreshold = 3;
> codeGenBitsetTestThreshold = 4;
> 
> 
> regs,
> Meena
> 
> -----Original Message-----
> From: Bryan Ewbank [mailto:ewbank at gmail.com]
> Sent: 18. marts 2005 00:29
> To: antlr-interest at antlr.org
> Subject: Re: [antlr-interest] Code beautifier-indentation
> 
> 
> To expand on John's question...
> 
> Do you need to split/merge lines, or simply change the indents.  The
> example you showed only adjusts leading whitespace, so it's hard to
> tell.
> 
> It may be as simple as a hack that says "map must start in column 4",
> or it may be much more complex.
> 
> Please say more about the problem you need to solve; it may be (gasp)
> that ANTLR isn't the right tool for you to do solve it.  No, really
> :-)
> 
> - B
> 



More information about the antlr-interest mailing list