Introduced helpers to rewrite types and names.

Done-with: Erik Verbruggen
This commit is contained in:
Roberto Raggi
2010-07-16 11:03:39 +02:00
parent 41236d29d3
commit fff4203a46
21 changed files with 880 additions and 134 deletions

View File

@@ -35,6 +35,8 @@
namespace CPlusPlus {
class ClassOrNamespace;
class CPLUSPLUS_EXPORT LookupItem
{
public:
@@ -59,6 +61,9 @@ public:
/// Sets this item's scope.
void setScope(Scope *scope);
ClassOrNamespace *binding() const;
void setBinding(ClassOrNamespace *binding);
bool operator == (const LookupItem &other) const;
bool operator != (const LookupItem &other) const;
@@ -66,6 +71,7 @@ private:
FullySpecifiedType _type;
Scope *_scope;
Symbol *_declaration;
ClassOrNamespace *_binding;
};
uint qHash(const CPlusPlus::LookupItem &result);