diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-11-11 09:32:05 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-11-11 09:34:10 +0100 |
commit | a6bbec2b56f4a07f408bf3213b3b15fa6fc10330 (patch) | |
tree | c6a15058f80fd1131df2efa2e446858b30239133 /src/shared/cplusplus/Symbols.cpp | |
parent | 72d4493fc21535f1f2720106e28ae3a6980851f5 (diff) | |
download | qt-creator-a6bbec2b56f4a07f408bf3213b3b15fa6fc10330.tar.gz |
Added symbols for property declarations.
Diffstat (limited to 'src/shared/cplusplus/Symbols.cpp')
-rw-r--r-- | src/shared/cplusplus/Symbols.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/shared/cplusplus/Symbols.cpp b/src/shared/cplusplus/Symbols.cpp index 8ddaf3ef5d..819c8730ed 100644 --- a/src/shared/cplusplus/Symbols.cpp +++ b/src/shared/cplusplus/Symbols.cpp @@ -820,4 +820,23 @@ void ObjCMethod::visitSymbol0(SymbolVisitor *visitor) } } +ObjCPropertyDeclaration::ObjCPropertyDeclaration(TranslationUnit *translationUnit, + unsigned sourceLocation, + Name *name): + Symbol(translationUnit, sourceLocation, name), + _propertyAttributes(None), + _getterName(0), + _setterName(0) +{} + +ObjCPropertyDeclaration::~ObjCPropertyDeclaration() +{} + +FullySpecifiedType ObjCPropertyDeclaration::type() const +{ return _type; } +void ObjCPropertyDeclaration::visitSymbol0(SymbolVisitor *visitor) +{ + if (visitor->visit(this)) { + } +} |