diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-07-16 16:01:41 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-07-16 16:04:58 +0200 |
commit | c4b03574abf593db782b559c2122bc6f33eac62e (patch) | |
tree | c8c6b80ba9d0553d891198eb39572673177251dd /src/shared/cplusplus/Symbols.h | |
parent | 3bcfa87b904428066f26da88ec2863b495f896b5 (diff) |
Moved startOffset/endOffset from Symbol to Scope.
Diffstat (limited to 'src/shared/cplusplus/Symbols.h')
-rw-r--r-- | src/shared/cplusplus/Symbols.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/cplusplus/Symbols.h b/src/shared/cplusplus/Symbols.h index 2a90fd0cc0..05a1241ec4 100644 --- a/src/shared/cplusplus/Symbols.h +++ b/src/shared/cplusplus/Symbols.h @@ -234,6 +234,14 @@ public: virtual ScopedSymbol *asScopedSymbol() { return this; } + /// Set the start offset of the scope for this symbol + unsigned startOffset() const; + void setStartOffset(unsigned offset); + + /// Set the end offset of the scope for this symbol + unsigned endOffset() const; + void setEndOffset(unsigned offset); + private: Scope *_members; }; |