Hello.
I have a parse tree and I want to know, in which lines of parsed file do
nodes of this tree reside.
ParseTree class itself doesn't have getLine function, but its parent
(BaseTree class) does have.
Unfortunately its getLine function seems to be constantly zero: "public
int getLine() {\n return 0;\n}"
Did I do something wrong and what workaround can be invented?
Thank you.
p.s. I use ANTLR 3.1.
--
Best regards,
Peter Bulychev.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address