[antlr-interest] How to get line number during parse?

Todd Blanchard todd.blanchard at cacheon.com
Fri Jan 18 11:30:08 PST 2002


I'm needing to make a tool that analyzes java code and cites various
items.  When a pattern is matched, how do I find out the line number (or
even character number) of the input stream at the location of match?
 
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20020118/635f9773/attachment.html


More information about the antlr-interest mailing list