diff options
author | Roberto Raggi <qtc-committer@nokia.com> | 2009-01-12 14:55:33 +0100 |
---|---|---|
committer | Roberto Raggi <qtc-committer@nokia.com> | 2009-01-12 14:56:00 +0100 |
commit | 8078053c994cf20cef150bdceef1bbab647bccef (patch) | |
tree | c164444ae9c94a0476b4990cbdc777e8519a58cf /shared/cplusplus/Parser.h | |
parent | 54d9d0d46a30b49ce3fef8945454ab0d09d98a68 (diff) | |
download | qt-creator-8078053c994cf20cef150bdceef1bbab647bccef.tar.gz |
Improved ObjC++ support.
Diffstat (limited to 'shared/cplusplus/Parser.h')
-rw-r--r-- | shared/cplusplus/Parser.h | 46 |
1 files changed, 16 insertions, 30 deletions
diff --git a/shared/cplusplus/Parser.h b/shared/cplusplus/Parser.h index c943664afe..5132ec5732 100644 --- a/shared/cplusplus/Parser.h +++ b/shared/cplusplus/Parser.h @@ -206,46 +206,32 @@ public: bool parseUsingDirective(DeclarationAST *&node); bool parseWhileStatement(StatementAST *&node); + // Qt MOC run + bool parseQtMethod(ExpressionAST *&node); + // ObjC++ - bool parseObjCClassImplementation(DeclarationAST *&node); bool parseObjCClassDeclaration(DeclarationAST *&node); - bool parseObjCInterfaceDeclaration(DeclarationAST *&node); - bool parseObjCProtocolDeclaration(DeclarationAST *&node); - bool parseObjCEndDeclaration(DeclarationAST *&node); - bool parseObjCAliasDeclaration(DeclarationAST *&node); - bool parseObjCPropertySynthesize(DeclarationAST *&node); - bool parseObjCPropertyDynamic(DeclarationAST *&node); + bool parseObjCInterface(DeclarationAST *&node, + SpecifierAST *attributes = 0); + bool parseObjCProtocol(DeclarationAST *&node, + SpecifierAST *attributes = 0); - bool parseObjCIdentifierList(IdentifierListAST *&node); - - bool parseObjCPropertyDeclaration(DeclarationAST *&node); bool parseObjCProtocolRefs(); - bool parseObjCClassInstanceVariables(); + bool parseObjClassInstanceVariables(); bool parseObjCInterfaceMemberDeclaration(); - bool parseObjCInterfaceDeclList(); + bool parseObjCInstanceVariableDeclaration(DeclarationAST *&node); + bool parseObjCPropertyDeclaration(DeclarationAST *&node, + SpecifierAST *attributes = 0); bool parseObjCMethodPrototype(); - - bool parseObjCExpression(ExpressionAST *&node); - bool parseObjCMessageExpression(ExpressionAST *&node); - bool parseObjCStringLiteral(ExpressionAST *&node); - bool parseObjCEncodeExpression(ExpressionAST *&node); - bool parseObjCProtocolExpression(ExpressionAST *&node); - bool parseObjCSelectorExpression(ExpressionAST *&node); - - bool parseObjCMessageReceiver(ExpressionAST *&node); - bool parseObjCMessageArguments(); - - bool parseObjCMethodSignature(); - bool parseObjCMethodDefinitionList(); - bool parseObjCAtProperty(); + bool parseObjCPropertyAttribute(); bool parseObjCTypeName(); - bool parseObjCProtocolQualifiers(); + bool parseObjCSelector(); + bool parseObjCKeywordDeclaration(); + bool parseObjCTypeQualifiers(); + bool parseObjCEnd(DeclarationAST *&node); bool lookAtObjCSelector() const; - // Qt MOC run - bool parseQtMethod(ExpressionAST *&node); - bool skipUntil(int token); bool skipUntilDeclaration(); bool skipUntilStatement(); |