Introduced expandNamespace(), expandClass(), expandBlock(), and expandFunction().

This should simplify the merging of the improved lookup context.
This commit is contained in:
Roberto Raggi
2008-12-22 13:27:01 +01:00
parent ae4725e954
commit 1e0f06e4e8
2 changed files with 150 additions and 111 deletions

View File

@@ -124,9 +124,26 @@ public:
void expand(Scope *scope, const QList<Scope *> &visibleScopes,
QList<Scope *> *expandedScopes) const;
void expandNamespace(Scope *scope,
const QList<Scope *> &visibleScopes,
QList<Scope *> *expandedScopes) const;
void expandClass(Scope *scope,
const QList<Scope *> &visibleScopes,
QList<Scope *> *expandedScopes) const;
void expandBlock(Scope *scope,
const QList<Scope *> &visibleScopes,
QList<Scope *> *expandedScopes) const;
void expandFunction(Scope *scope,
const QList<Scope *> &visibleScopes,
QList<Scope *> *expandedScopes) const;
private:
QList<Scope *> buildVisibleScopes();
private:
Control *_control;