diff options
author | Roberto Raggi <qtc-committer@nokia.com> | 2009-01-09 16:55:25 +0100 |
---|---|---|
committer | Roberto Raggi <qtc-committer@nokia.com> | 2009-01-09 16:55:51 +0100 |
commit | 599cdcfa064c91a2a4dcbb3d76dab799b19e4ecf (patch) | |
tree | bdbd8011612f4fe0cf3ac18d909914c0fed66919 /shared/cplusplus/Parser.h | |
parent | 5f9669d8d264bc0c97afae61269c25e485949b83 (diff) | |
download | qt-creator-599cdcfa064c91a2a4dcbb3d76dab799b19e4ecf.tar.gz |
More ObjC++
Diffstat (limited to 'shared/cplusplus/Parser.h')
-rw-r--r-- | shared/cplusplus/Parser.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/shared/cplusplus/Parser.h b/shared/cplusplus/Parser.h index 8bde1cccc4..c943664afe 100644 --- a/shared/cplusplus/Parser.h +++ b/shared/cplusplus/Parser.h @@ -70,6 +70,9 @@ public: bool qtMocRunEnabled() const; void setQtMocRunEnabled(bool onoff); + bool objCEnabled() const; + void setObjCEnabled(bool onoff); + bool parseTranslationUnit(TranslationUnitAST *&node); public: @@ -204,6 +207,7 @@ public: bool parseWhileStatement(StatementAST *&node); // ObjC++ + bool parseObjCClassImplementation(DeclarationAST *&node); bool parseObjCClassDeclaration(DeclarationAST *&node); bool parseObjCInterfaceDeclaration(DeclarationAST *&node); bool parseObjCProtocolDeclaration(DeclarationAST *&node); @@ -231,6 +235,14 @@ public: bool parseObjCMessageReceiver(ExpressionAST *&node); bool parseObjCMessageArguments(); + bool parseObjCMethodSignature(); + bool parseObjCMethodDefinitionList(); + bool parseObjCAtProperty(); + bool parseObjCTypeName(); + bool parseObjCProtocolQualifiers(); + + bool lookAtObjCSelector() const; + // Qt MOC run bool parseQtMethod(ExpressionAST *&node); @@ -277,8 +289,9 @@ private: unsigned _tokenIndex; bool _templateArguments: 1; bool _qtMocRunEnabled: 1; - bool _objcEnabled: 1; + bool _objCEnabled: 1; bool _inFunctionBody: 1; + bool _inObjCImplementationContext: 1; private: Parser(const Parser& source); |