[antlr-interest] Token stream filter
Monty Zukowski
monty at codetransform.com
Thu Jun 3 08:13:21 PDT 2004
Just overrride nextToken() by subclassing your generated lexer and have
it put the token it returns into the LB buffer.
Monty
On Jun 3, 2004, at 12:09 AM, Anthony Youngman wrote:
> Having looked at your filter stuff, I don't remember seeing a LB()
> (look
> before) function. Is there one, and if not, how easy would it be to
> implement and add to Antlr?
ANTLR & Java Consultant -- http://www.codetransform.com
ANSI C/GCC transformation toolkit --
http://www.codetransform.com/gcc.html
Embrace the Decay -- http://www.codetransform.com/EmbraceDecay.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list