forked from qt-creator/qt-creator
Added Symbol::enclosingNamespaceScope(), Symbol::enclosingClassScope(), and so on...
This commit is contained in:
@@ -248,6 +248,21 @@ public:
|
||||
|
||||
bool isGenerated() const;
|
||||
|
||||
/// Returns the eclosing namespace scope.
|
||||
Scope *enclosingNamespaceScope() const;
|
||||
|
||||
/// Returns the enclosing class scope.
|
||||
Scope *enclosingClassScope() const;
|
||||
|
||||
/// Returns the enclosing enum scope.
|
||||
Scope *enclosingEnumScope() const;
|
||||
|
||||
/// Returns the enclosing function scope.
|
||||
Scope *enclosingFunctionScope() const;
|
||||
|
||||
/// Returns the enclosing Block scope.
|
||||
Scope *enclosingBlockScope() const;
|
||||
|
||||
void setScope(Scope *scope); // ### make me private
|
||||
void setSourceLocation(unsigned sourceLocation); // ### make me private
|
||||
|
||||
|
||||
Reference in New Issue
Block a user