I faced some problems when performing simple semantic analysis.
Obviously I need to indicate line and column position of error
in parsed source file. But it seems it’s impossible to determine
position of class or method modifiers : "public", "private"...
Ideally, I need to know position of all tokens inside all AST nodes.
For example it would be good to be able to write analog of DumpVisitor -
ExactDumpVisitor that prints source that is not different from original
(in the sense that all tokens have exactly same positions as in original
file).
Original issue reported on code.google.com by ibelong2...@yandex.ru on 22 Dec 2008 at 10:02
Original issue reported on code.google.com by
ibelong2...@yandex.ru
on 22 Dec 2008 at 10:02