forked from qt-creator/qt-creator
Introduced expandNamespace(), expandClass(), expandBlock(), and expandFunction().
This should simplify the merging of the improved lookup context.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user