Moved startOffset/endOffset from Symbol to Scope.

This commit is contained in:
Erik Verbruggen
2010-07-16 16:01:41 +02:00
parent 3bcfa87b90
commit c4b03574ab
7 changed files with 49 additions and 38 deletions

View File

@@ -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;
};