[antlr-interest] Heterogeneous token types
Terence Parr
parrt at cs.usfca.edu
Wed Feb 3 12:54:18 PST 2010
I think you override emit()
T
On Feb 3, 2010, at 12:51 PM, C.P.T.de.Gouw at cwi.nl wrote:
>> $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.
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
More information about the antlr-interest
mailing list