diff options
author | Erik Verbruggen <[email protected]> | 2009-11-11 09:32:05 +0100 |
---|---|---|
committer | Erik Verbruggen <[email protected]> | 2009-11-11 09:34:10 +0100 |
commit | a6bbec2b56f4a07f408bf3213b3b15fa6fc10330 (patch) | |
tree | c6a15058f80fd1131df2efa2e446858b30239133 /src/shared/cplusplus/Symbol.h | |
parent | 72d4493fc21535f1f2720106e28ae3a6980851f5 (diff) |
Added symbols for property declarations.
Diffstat (limited to 'src/shared/cplusplus/Symbol.h')
-rw-r--r-- | src/shared/cplusplus/Symbol.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/cplusplus/Symbol.h b/src/shared/cplusplus/Symbol.h index 93d730b0cfb..61abe02c7e1 100644 --- a/src/shared/cplusplus/Symbol.h +++ b/src/shared/cplusplus/Symbol.h @@ -228,6 +228,9 @@ public: /// Returns true if this Symbol is an Objective-C method declaration. bool isObjCMethod() const; + /// Returns true if this Symbol is an Objective-C @property declaration. + bool isObjCPropertyDeclaration() const; + virtual const ScopedSymbol *asScopedSymbol() const { return 0; } virtual const Enum *asEnum() const { return 0; } virtual const Function *asFunction() const { return 0; } @@ -247,6 +250,7 @@ public: virtual const ObjCProtocol *asObjCProtocol() const { return 0; } virtual const ObjCForwardProtocolDeclaration *asObjCForwardProtocolDeclaration() const { return 0; } virtual const ObjCMethod *asObjCMethod() const { return 0; } + virtual const ObjCPropertyDeclaration *asObjCPropertyDeclaration() const { return 0; } virtual ScopedSymbol *asScopedSymbol() { return 0; } virtual Enum *asEnum() { return 0; } @@ -267,6 +271,7 @@ public: virtual ObjCProtocol *asObjCProtocol() { return 0; } virtual ObjCForwardProtocolDeclaration *asObjCForwardProtocolDeclaration() { return 0; } virtual ObjCMethod *asObjCMethod() { return 0; } + virtual ObjCPropertyDeclaration *asObjCPropertyDeclaration() { return 0; } /// Returns this Symbol's type. virtual FullySpecifiedType type() const = 0; |