[antlr-interest] Code beautifier-indentation

Meena Moktali mmoktali at bphx.dk
Fri Mar 18 01:53:36 PST 2005


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