[antlr-interest] Expression explaination for code generated,
mzukowski at yci.com
mzukowski at yci.com
Mon Jul 22 07:53:16 PDT 2002
Token sets hold a bitset representation of a set of characters or tokens.
Unfortunately you antlr doesn't comment what goes into the token set. You
can either inspect the code or use the option "codeGenBitsetTestThreshold =
999999" to not use bitsets at all. Then bitsets will only be used for
negated rules such as ~("\n");
Monty
> -----Original Message-----
> From: lawchangyen1978 [mailto:lawchang at comp.nus.edu.sg]
> Sent: Friday, July 19, 2002 5:17 PM
> To: antlr-interest at yahoogroups.com
> Subject: [antlr-interest] Expression explaination for code generated,
>
>
> May i know what does the below expression means in the lexer code
> that is generated? Thanks for all advice.
>
> (_tokenSet_1.member(LA(1))
> (_tokenSet_2.member(LA(1)) etc.
>
> Regards
> Jeffrey
>
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list