IASTComment node location [message #720965] |
Wed, 31 August 2011 11:18 |
Eclipse User |
|
|
|
I'd like to check the location of a comment in the code I'm parsing. However, it's not the exact placement (code line,offset in file) that I am interested in. What I want is to be able to say that for instance - an IASTComment is located beetween some two IASTNodes of my choice. Unfortunately, the comparison of the nodes' offsets in the source file isn't the right way to do it for me due to performance issues (I'd have to go through a TreeSet very often). Does CDT allow me to do it in a more natural manner, even if IASTComment nodes aren't a part of the AST?
|
|
|
Powered by
FUDForum. Page generated in 0.03161 seconds