diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-13 11:54:22 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-13 11:54:22 +0100 |
commit | 5644775d2f9a275b6bc0b8081cdb26e8fca29e16 (patch) | |
tree | cd7ab53683081e961d4e008479f506709898821b /src/shared/cplusplus/ASTMatcher.h | |
parent | f8beeea6ddc258bf19d813caf0fd1bed3457abfd (diff) | |
download | qt-creator-5644775d2f9a275b6bc0b8081cdb26e8fca29e16.tar.gz |
Also match the identifiers and the token types.
Diffstat (limited to 'src/shared/cplusplus/ASTMatcher.h')
-rw-r--r-- | src/shared/cplusplus/ASTMatcher.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/cplusplus/ASTMatcher.h b/src/shared/cplusplus/ASTMatcher.h index 25df0d5646..8bca54baa2 100644 --- a/src/shared/cplusplus/ASTMatcher.h +++ b/src/shared/cplusplus/ASTMatcher.h @@ -65,6 +65,8 @@ public: void getTokenEndPosition(unsigned index, unsigned *line, unsigned *column) const; + bool matchToken(unsigned index, unsigned otherIndex) const; + virtual bool match(AccessDeclarationAST *node, AccessDeclarationAST *pattern); virtual bool match(ArrayAccessAST *node, ArrayAccessAST *pattern); virtual bool match(ArrayDeclaratorAST *node, ArrayDeclaratorAST *pattern); |