diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2010-12-08 15:08:03 +0100 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2011-01-04 15:58:22 +0100 |
commit | 16542241c91d6a4296bfbd18077de4eff1f43c8b (patch) | |
tree | 88a4487347d1802eefbb7c9690a52f95e38188d2 /src/shared/cplusplus/AST.h | |
parent | 40725cfd6db30ccb06239a3fb04de80f1e8d276e (diff) | |
download | qt-creator-16542241c91d6a4296bfbd18077de4eff1f43c8b.tar.gz |
C++: Add parsing of Q_PRIVATE_PROPERTY.
Reviewed-by: Roberto Raggi
Diffstat (limited to 'src/shared/cplusplus/AST.h')
-rw-r--r-- | src/shared/cplusplus/AST.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/cplusplus/AST.h b/src/shared/cplusplus/AST.h index cacf686da6..267ee29d97 100644 --- a/src/shared/cplusplus/AST.h +++ b/src/shared/cplusplus/AST.h @@ -773,6 +773,8 @@ class CPLUSPLUS_EXPORT QtPropertyDeclarationAST: public DeclarationAST public: unsigned property_specifier_token; unsigned lparen_token; + ExpressionAST *expression; // for Q_PRIVATE_PROPERTY(expression, ...) + unsigned comma_token; ExpressionAST *type_id; NameAST *property_name; QtPropertyDeclarationItemListAST *property_declaration_item_list; @@ -782,6 +784,8 @@ public: QtPropertyDeclarationAST() : property_specifier_token(0) , lparen_token(0) + , expression(0) + , comma_token(0) , type_id(0) , property_name(0) , property_declaration_item_list(0) |