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
6ca5f5f5f8
Added semantic checks for compound expressions.
2010-02-07 10:49:02 +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
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
Wolfgang Beck
4b33881729
Merge ichecker branch changes into the mainline. New project can be found under src/tools/ICheck
2010-01-19 15:26:08 +10:00
Erik Verbruggen
0c17d53875
Fixed semantic check for ObjC fast-enumeration for-loops, then merged it with the semantic check for the foreach.
2010-01-11 09:29:15 +01:00
Roberto Raggi
fef2ad6bba
Create TypenameArgument symbols.
2009-12-08 12:20:14 +01:00
Roberto Raggi
7c7ce13ac0
Use const names.
2009-12-01 12:46:23 +01:00
Roberto Raggi
527a9bd526
Inital support for Q_D/Q_Q declarations.
2009-11-30 17:07:22 +01:00
Roberto Raggi
bef4ed8917
Introduced destructive pattern matching.
2009-11-16 14:15:12 +01:00
Roberto Raggi
baffd97efb
Fixed parsing of ctor-initializers and added a manual test for the AST matchers
2009-11-13 12:38:18 +01:00
Roberto Raggi
5dcf449afd
Initial work on the pattern matcher for AST nodes.
2009-11-12 18:03:05 +01:00
Erik Verbruggen
a6bbec2b56
Added symbols for property declarations.
2009-11-11 09:34:10 +01:00
Roberto Raggi
0ae2d96a9b
Fixed the AST field names.
2009-11-10 16:47:16 +01:00
Roberto Raggi
e5eb88a31f
Ported the accept methods.
2009-11-10 16:20:13 +01:00
Roberto Raggi
cdb1443219
Cleanup specifiers.
2009-11-10 16:20:13 +01:00
Roberto Raggi
4fc2ccf0c5
Cleanup ptr operators.
2009-11-10 16:20:13 +01:00
Roberto Raggi
1fb33e9fad
Removed deprecated methods.
2009-11-10 16:20:13 +01:00
Roberto Raggi
6aa70ac9e0
Removed member NestedNameSpecifierAST::next
2009-11-10 16:20:12 +01:00
Roberto Raggi
30c67f43df
Cleanup Catch clause
2009-11-10 16:20:12 +01:00
Roberto Raggi
380bce4527
Cleanup nested name specifiers
2009-11-10 16:20:12 +01:00
Roberto Raggi
b47eee8869
Cleanup Attributes
2009-11-10 16:20:12 +01:00
Roberto Raggi
24b6c858eb
Cleanup postfix declarators.
2009-11-10 16:20:12 +01:00
Roberto Raggi
a7219736b6
Cleanup Postfix operators.
2009-11-10 16:20:12 +01:00
Roberto Raggi
aff9a74366
Cleanup NewArrayDeclaratorAST
2009-11-10 16:20:11 +01:00
Roberto Raggi
73a4f2977a
Cleanup MemInitializerAST
2009-11-10 16:20:11 +01:00
Roberto Raggi
1dbdbbefe7
Cleanup base base specifiers.
2009-11-10 16:20:11 +01:00
Roberto Raggi
86a8812beb
Removed ObjCSynthesizedPropertyAST
...
Done with Erik Verbruggen
2009-11-10 16:20:11 +01:00
Roberto Raggi
4c24676362
Removed ObjCMessageArgumentDeclarationListAST
...
Done with Erik Verbruggen
2009-11-10 16:20:11 +01:00
Roberto Raggi
98802456b3
Removed ObjCPropertyAttributeListAST
...
Done with Erik Verbruggen
2009-11-10 16:20:11 +01:00
Roberto Raggi
e5c9aaab4b
Removed ObjCSelectorArgumentListAST
...
Done with Erik Verbruggen
2009-11-10 16:20:10 +01:00
Roberto Raggi
d358c89f09
Removed ObjCMessageArgumentListAST
...
Done with Erik Verbruggen
2009-11-10 16:20:10 +01:00
Roberto Raggi
496ff15db3
Removed ObjCIdentifierListAST
...
Done with Erik Verbruggen
2009-11-10 16:20:10 +01:00
Roberto Raggi
8efb73f5d2
Removed TemplateArgumentListAST
...
Done with Erik Verbruggen
2009-11-10 16:20:10 +01:00
Roberto Raggi
6e3e293e53
Removed DeclaratorListAST
...
Done with Erik Verbruggen
2009-11-10 16:20:10 +01:00
Roberto Raggi
77e7899e7c
Removed StatementListAST
...
Done with Erik Verbruggen
2009-11-10 16:20:09 +01:00
Roberto Raggi
36a0ea2bcb
Removed DeclarationListAST node.
...
Done with Erik Verbruggen
2009-11-10 16:20:09 +01:00
Roberto Raggi
4089c906fa
Removed the ExpressionListAST node.
...
Done with Erik Verbruggen
2009-11-10 16:20:09 +01:00
Roberto Raggi
9e7ff0469b
Removed the AST cloner.
2009-11-10 16:20:09 +01:00
Roberto Raggi
01473fec8b
Addeed generator for the cast methods.
...
Done with: erikv
2009-11-09 14:52:06 +01:00
Roberto Raggi
245a2ca2b3
Initialize the members of List<T>
2009-10-21 17:05:36 +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
Erik Verbruggen
f1e665463b
Added protocol & class definedness checks, and added property attribute checks.
2009-10-05 18:02:01 +02:00
hjk
93cbef8724
long live the king
2009-08-14 09:30:56 +02:00
Erik Verbruggen
86a7b26fcd
Fixed semantic checks for Objective-C methods and fast-enumeration.
2009-08-05 18:30:18 +02:00