diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-06-24 16:40:30 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-06-24 16:40:52 +0200 |
commit | 0481176ea7e9caa12e0e00dd7282c217c71852d6 (patch) | |
tree | 7febf161f889ca84ca611877a0453828d5f60af4 /src/shared/cplusplus/TranslationUnit.h | |
parent | 83939c7958ecf8aa5203c3b249dcb16d2aab6672 (diff) | |
download | qt-creator-0481176ea7e9caa12e0e00dd7282c217c71852d6.tar.gz |
Highlight the locals.
Diffstat (limited to 'src/shared/cplusplus/TranslationUnit.h')
-rw-r--r-- | src/shared/cplusplus/TranslationUnit.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/cplusplus/TranslationUnit.h b/src/shared/cplusplus/TranslationUnit.h index 4bfd201839..35f79480f0 100644 --- a/src/shared/cplusplus/TranslationUnit.h +++ b/src/shared/cplusplus/TranslationUnit.h @@ -127,6 +127,14 @@ public: void resetAST(); void release(); + void getTokenStartPosition(unsigned index, unsigned *line, + unsigned *column = 0, + StringLiteral **fileName = 0) const; + + void getTokenEndPosition(unsigned index, unsigned *line, + unsigned *column = 0, + StringLiteral **fileName = 0) const; + void getPosition(unsigned offset, unsigned *line, unsigned *column = 0, |