[antlr-interest] Parser.getTokenNames()
Erik Kratochvil
discontinuum at gmail.com
Thu Feb 21 08:54:22 PST 2008
Token names are listed according to their respective token types. The
tokenNames[] array is used when an error is reported. Btw. it makes
introducing your own token types quite dangerous (but it is officially
not possible, so..).
On 2/21/08, Olivier Lefevre <lefevrol at yahoo.com> wrote:
> > Are the names guaranteed to be sorted by serial number
>
>
> I think what I called the serial number is more properly
> called the token type. The question still holds, though.
>
>
> -- O.L.
>
>
--
Erik Kratochvíl
More information about the antlr-interest
mailing list