diff options
author | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-05-11 17:00:29 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-05-11 17:03:51 +0200 |
commit | 581dca0ad9b508cc3e44a4c9bb3cff40db0d2b0a (patch) | |
tree | cca39152125225c8aac6f564498adcfaeee3ea7b /src/shared/cplusplus/ASTVisitor.h | |
parent | ecc2b25ddcdf3567907643df8d1b7a3512a58392 (diff) | |
download | qt-creator-581dca0ad9b508cc3e44a4c9bb3cff40db0d2b0a.tar.gz |
Rewrote PrettyPrinter to output the document exactly as it was before
This means at the moment the PrettyPrinter isn't doing anything useful,
but the idea is that from here we can improve it to adapt the code to
a certain style.
Reviewed-by: Roberto Raggi
Diffstat (limited to 'src/shared/cplusplus/ASTVisitor.h')
-rw-r--r-- | src/shared/cplusplus/ASTVisitor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/cplusplus/ASTVisitor.h b/src/shared/cplusplus/ASTVisitor.h index 64002b8a6c..365c188aa0 100644 --- a/src/shared/cplusplus/ASTVisitor.h +++ b/src/shared/cplusplus/ASTVisitor.h @@ -67,6 +67,7 @@ public: Control *control() const; TranslationUnit *translationUnit() const; + unsigned tokenCount() const; const Token &tokenAt(unsigned index) const; int tokenKind(unsigned index) const; const char *spell(unsigned index) const; |