summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/ASTPath.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2010-05-28 16:23:31 +0200
committerErik Verbruggen <erik.verbruggen@nokia.com>2010-05-28 16:29:53 +0200
commit41bc5dac154fc95bb2ea69cf2df0cdff7147c4d5 (patch)
treeeaf277aff96b7872dea878aebd03f36af127ace1 /src/libs/cplusplus/ASTPath.h
parent3eee397abd91d31e61c87e394c548532d3fbfb2f (diff)
downloadqt-creator-41bc5dac154fc95bb2ea69cf2df0cdff7147c4d5.tar.gz
Added a utility method to search by line/column.
Diffstat (limited to 'src/libs/cplusplus/ASTPath.h')
-rw-r--r--src/libs/cplusplus/ASTPath.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/cplusplus/ASTPath.h b/src/libs/cplusplus/ASTPath.h
index e4b8347053..2b6d0cc078 100644
--- a/src/libs/cplusplus/ASTPath.h
+++ b/src/libs/cplusplus/ASTPath.h
@@ -53,6 +53,7 @@ public:
QList<AST *> operator()(const QTextCursor &cursor)
{ return this->operator()(cursor.blockNumber(), cursor.columnNumber()); }
+ /// line and column are 0-based!
QList<AST *> operator()(int line, int column);
#ifdef DEBUG_AST_PATH