input.LT(n)

Jim

> -----Original Message-----
> From: [email protected] [mailto:antlr-interest-
> [email protected]] On Behalf Of Mark Volkmann
> Sent: Friday, April 16, 2010 6:27 AM
> To: [email protected]
> Subject: [antlr-interest] access token stream from parser action
> 
> I'm trying to access comment tokens that are written to the hidden
> channel from a parser action. I'm using the Java 1.5 grammar that
> Terrance wrote. When it finds things like classes, fields and methods,
> I want to grab the comment, if any, that immediately precedes it.
> 
> I think I'm close to having it figured out, but I don't know how to
> get access to the token stream from a parser action. How can I do
> that?
> 
> --
> R. Mark Volkmann
> Object Computing, Inc.
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address




List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to