summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Control.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-06-05 12:08:36 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2009-06-05 12:09:45 +0200
commit456d418b2431007c0b850ea7ceb4b3deac1efcde (patch)
tree18214a9bd554dd7d06e2bcbe8881fbbfddc8044c /src/shared/cplusplus/Control.cpp
parent38ad878270fc86d30fb951f6608de84a4fd16b57 (diff)
downloadqt-creator-456d418b2431007c0b850ea7ceb4b3deac1efcde.tar.gz
Introduced iterators for the c++ literals.
Diffstat (limited to 'src/shared/cplusplus/Control.cpp')
-rw-r--r--src/shared/cplusplus/Control.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/shared/cplusplus/Control.cpp b/src/shared/cplusplus/Control.cpp
index 79b53d00e0..509e79b0a6 100644
--- a/src/shared/cplusplus/Control.cpp
+++ b/src/shared/cplusplus/Control.cpp
@@ -522,6 +522,24 @@ Control::IdentifierIterator Control::firstIdentifier() const
Control::IdentifierIterator Control::lastIdentifier() const
{ return d->identifiers.end(); }
+Control::StringLiteralIterator Control::firstStringLiteral() const
+{ return d->stringLiterals.begin(); }
+
+Control::StringLiteralIterator Control::lastStringLiteral() const
+{ return d->stringLiterals.end(); }
+
+Control::NumericLiteralIterator Control::firstNumericLiteral() const
+{ return d->numericLiterals.begin(); }
+
+Control::NumericLiteralIterator Control::lastNumericLiteral() const
+{ return d->numericLiterals.end(); }
+
+Control::FileNameIterator Control::firstFileName() const
+{ return d->fileNames.begin(); }
+
+Control::FileNameIterator Control::lastFileName() const
+{ return d->fileNames.end(); }
+
StringLiteral *Control::findOrInsertStringLiteral(const char *chars, unsigned size)
{ return d->stringLiterals.findOrInsertLiteral(chars, size); }