summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Control.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/cplusplus/Control.h')
-rw-r--r--src/shared/cplusplus/Control.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/shared/cplusplus/Control.h b/src/shared/cplusplus/Control.h
index b00b7b080b..0210de8333 100644
--- a/src/shared/cplusplus/Control.h
+++ b/src/shared/cplusplus/Control.h
@@ -151,10 +151,22 @@ public:
Identifier *findOrInsertIdentifier(const char *chars);
typedef const Identifier *const *IdentifierIterator;
+ typedef const StringLiteral *const *StringLiteralIterator;
+ typedef const NumericLiteral *const *NumericLiteralIterator;
+ typedef const StringLiteral *const *FileNameIterator;
IdentifierIterator firstIdentifier() const;
IdentifierIterator lastIdentifier() const;
+ StringLiteralIterator firstStringLiteral() const;
+ StringLiteralIterator lastStringLiteral() const;
+
+ NumericLiteralIterator firstNumericLiteral() const;
+ NumericLiteralIterator lastNumericLiteral() const;
+
+ FileNameIterator firstFileName() const;
+ FileNameIterator lastFileName() const;
+
StringLiteral *findOrInsertStringLiteral(const char *chars, unsigned size);
StringLiteral *findOrInsertStringLiteral(const char *chars);