[antlr-interest] Heterogeneous token types

C.P.T.de.Gouw at cwi.nl C.P.T.de.Gouw at cwi.nl
Wed Feb 3 12:51:56 PST 2010


> $type = xxx;

Thanks for the very fast reaction!
But isn't antlr3 $type = ... equivalent to $setType(...) from antlr2, and
not $setToken(x)?

I'm looking for something like the 'Heterogeneous Token Object Streams'
(http://www.antlr2.org/doc/lexer.html) for antlr3.



More information about the antlr-interest mailing list