[antlr-interest] Line number

tdknghi <nk.truong at student.qut.edu.au> nk.truong at student.qut.edu.au
Wed Feb 12 16:28:29 PST 2003


  Hi all,

Could any of you show me how to get the line number information while 
parsing Java program and save it as a node in the Abstract Syntax 
Tree. I wish to view the line number in the ASTFrameView as well.

 I read the ANTLR documentation about Track Line number section. 
However, there is no clear example and I still have no idea how to do it.

Thanks.

MM


 

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



More information about the antlr-interest mailing list