Erik Verbruggen
11443b32dd
Regenerated firstToken/lastToken methods.
2010-06-24 10:25:17 +02:00
Roberto Raggi
da817310c2
Get rid of PostfixExpressionAST and store the base expression together with the PostfixAST nodes.
2010-06-23 14:39:14 +02:00
Roberto Raggi
fe261bc256
Parse C++ 0x argument packs.
2010-03-25 12:16:18 +01:00
Roberto Raggi
ddcc40d0fc
Accepts `...' when parsing declarator-ids in C++0x.
2010-03-25 10:44:42 +01:00
Roberto Raggi
cf125618af
Accepts trailing return types.
2010-03-24 14:56:45 +01:00
Roberto Raggi
8329d7db94
Recognize C++0x lambda expressions.
2010-03-24 13:49:02 +01:00
Erik Verbruggen
7a3fbf120a
Added attributes to the elaborate-type-specifier AST node.
2010-03-23 14:15:45 +01:00
Roberto Raggi
eebf498aae
Parse C++0x type-parameters.
2010-03-23 14:13:22 +01:00
Roberto Raggi
ae71514360
Parse C++0x base-specifier-list.
2010-03-23 14:13:22 +01:00
Roberto Raggi
4b8d597196
Recognize C++0x rvalue references.
2010-03-23 12:12:07 +01:00
Roberto Raggi
6f80219d3e
Renamed the CompoundExpressionAST::compoundStatement.
2010-03-23 10:25:43 +01:00
Roberto Raggi
2d45bb8070
Parse and create AST nodes for the Q_MOC_RUN extensions.
2010-03-17 14:37:55 +01:00
Erik Verbruggen
b4d72a78db
Added parser support for Q_INTERFACES.
2010-03-17 10:30:17 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
Erik Verbruggen
e609e9a701
Simplified ObjC selectors in the AST.
2010-02-23 17:43:52 +01:00
Erik Verbruggen
c79f25d5a6
Fixed Q_PROPERTY parsing to handle all possible cases.
2010-02-16 17:04:26 +01:00
Erik Verbruggen
8de6ccc775
Revert "Split Objective-C keyword parsing to handle the '@' separately."
...
This reverts commit 2a59d2ae0c .
2010-02-15 12:24:31 +01:00
Erik Verbruggen
a0071f1ce9
Revert "Added Objective-C @try block parsing."
...
This reverts commit f4163b8ba0 .
2010-02-15 12:24:31 +01:00
Erik Verbruggen
f4163b8ba0
Added Objective-C @try block parsing.
2010-02-15 09:27:01 +01:00
Erik Verbruggen
2a59d2ae0c
Split Objective-C keyword parsing to handle the '@' separately.
...
Because apparently, while designing the Objective-C language, somebody
thought it was a world-class idea to allow any white-space between the
'@' character and the subsequent keyword. With this fix, we now
correctly parse:
@ dynamic
and:
@
selector
and:
@"foo"
"bar"
@"mooze"
(This last one is 1 single string split over multiple lines.)
Wonderful, isn't it?
What we (and Clang) do not support, but what GCC supports is something
like:
@"foo"@@ "bar" @"mooze" @@
which is equivalent to @"foobarmooze".
2010-02-15 09:27:00 +01:00
Erik Verbruggen
1af05166d9
Removed Q_DECLARE_FLAGS parsing, leaving it to the CPP to expand it.
2010-02-08 15:41:18 +01:00
Erik Verbruggen
b58cb740e5
Changed ObjC message arguments to have SimpleName for the name part.
2010-02-08 09:34:51 +01:00
Erik Verbruggen
7b913f7fa2
Changed Q_PROPERTY parsing and AST storage.
2010-02-07 10:49:03 +01:00
Erik Verbruggen
21488e8898
Added semantic checks for Q_ENUMS.
2010-02-07 10:49:03 +01:00
Erik Verbruggen
ac6aba5ec3
Simplified Q_FLAGS and Q_DECLARE_FLAGS parsing.
2010-02-07 10:49:03 +01:00
Erik Verbruggen
8d8b05da5a
Reworked parts of the QtPropertyDeclaration parsing and handling.
2010-02-07 10:49:03 +01:00
Erik Verbruggen
fd90c3503d
Added AST nodes for compound expressions (a GNU extension).
2010-02-07 10:49:02 +01:00
Erik Verbruggen
ae0ee18a77
Removed #ifdefs so all AST nodes are always there.
...
Also removed the (conditional) invoke_token from DeclarationAST and use
the qt_invokable_token to store the Q_INVOKABLE, and fixed the ASTMatch
code generation.
2010-02-04 12:15:32 +01:00
Wolfgang Beck
f915c68281
Remove compiler warning.
2010-02-03 13:50:05 +10:00
Wolfgang Beck
e134e24919
Source update.
2010-02-03 13:21:08 +10:00
Erik Verbruggen
fcf67d7d8e
Added clone methods to the AST.
2010-02-02 11:41:57 +01:00
Roberto Raggi
9e7ff0469b
Removed the AST cloner.
2009-11-10 16:20:09 +01:00
Roberto Raggi
7c68acbd3f
Regenerated the AST cloner.
2009-10-20 16:54:51 +02:00
Roberto Raggi
13675cf6ed
Cleanup the C++ front-end.
...
Removed CPLUSPLUS_BEGIN/END_NAMESPACE & co and made it possible to compile the parser with CPLUSPLUS_WITHOUT_QT.
2009-10-20 11:21:25 +02:00
hjk
93cbef8724
long live the king
2009-08-14 09:30:56 +02:00
Erik Verbruggen
ca34b0ca1c
Cleaned the ObjC AST up.
2009-08-05 17:14:08 +02:00
Erik Verbruggen
e53d23d55c
Merged ObjCMethodDefinitionAST into ObjCMethodDeclarationAST.
2009-08-04 16:22:24 +02:00
Erik Verbruggen
e205126774
Added @synchronized parsing for Objective-C.
2009-07-31 16:53:05 +02:00
Erik Verbruggen
4a0da2c6f2
Added Semantic checks for ObjC methods.
2009-07-31 16:03:48 +02:00
Erik Verbruggen
f04dbf05b9
Fix for ObjC fast-enumeration parsing.
2009-07-29 10:06:14 +02:00
Erik Verbruggen
26267c0344
Improved ObjC parsing, and added semantic checks.
2009-07-28 16:34:15 +02:00
Erik Verbruggen
336e1dc5fb
Fixes for the ObjC AST. Now it should be complete.
2009-07-20 11:46:59 +02:00
Erik Verbruggen
34987cc1ca
Added more AST for ObjC.
2009-07-20 10:04:44 +02:00
Erik Verbruggen
a3d129527f
Added ObjC method prototypes to the AST.
2009-07-16 17:38:24 +02:00
Erik Verbruggen
7fbec4f28e
Added ObjC properties to the AST.
2009-07-16 15:50:42 +02:00
Erik Verbruggen
fa03d46984
Added ObjC @interface and @implementation member declarations.
2009-07-16 14:31:13 +02:00
Erik Verbruggen
ef58d082ea
Added ObjC encode expressions.
2009-07-16 12:44:47 +02:00
Erik Verbruggen
a262fce6d0
Added ObjC protocol expressions.
2009-07-16 12:18:05 +02:00
Erik Verbruggen
c8f155c0fc
AST additions for ObjC send_msg.
2009-07-15 12:11:07 +02:00
Erik Verbruggen
78cceecc28
Added AST for a bit of ObjC.
2009-07-13 11:08:11 +02:00