[antlr-interest] line information

corno at dds.nl corno at dds.nl
Mon Dec 30 13:53:58 PST 2002

Hi all,

I've been browsing through the documentation and the code of ANTLR 2.7.1 but 
nowhere I've seen an example on how to show line information when I'm parsing 
trees. What I want to know is from which line on the source document a 
token/AST originated. If it's possible I'll probably have to call getLine() on 
some object, I just don't know which one.
Can anybody help me?




Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 

More information about the antlr-interest mailing list