Quickfix for adding a declaration to a class from a definition.

This commit is contained in:
Erik Verbruggen
2010-07-08 16:40:46 +02:00
parent 65eb1d5515
commit 9135c8ccb1
10 changed files with 432 additions and 3 deletions

View File

@@ -216,6 +216,7 @@ public:
QList<Symbol *> lookup(const Name *name, Scope *scope) const;
ClassOrNamespace *lookupType(const Name *name, Scope *scope) const;
ClassOrNamespace *lookupType(Symbol *symbol) const;
ClassOrNamespace *lookupParent(Symbol *symbol) const;
/// \internal
QSharedPointer<CreateBindings> bindings() const;
@@ -227,6 +228,9 @@ public:
static QList<const Name *> fullyQualifiedName(Symbol *symbol);
const Name *minimalName(const Name *name, Scope *source,
ClassOrNamespace *target) const;
private:
// The current expression.
Document::Ptr _expressionDocument;