Improved LookupContext::buildVisibleScopes().

This commit is contained in:
Roberto Raggi
2009-05-19 14:15:56 +02:00
parent 754b1c0f0f
commit 398451b9d5
2 changed files with 36 additions and 16 deletions

View File

@@ -128,6 +128,10 @@ public:
private:
QList<Scope *> buildVisibleScopes();
void buildVisibleScopes_helper(Document::Ptr doc, QList<Scope *> *scopes,
QSet<QString> *processed);
static bool isNameCompatibleWithIdentifier(Name *name, Identifier *id);
static bool maybeValidSymbol(Symbol *symbol,