Commit Graph

44 Commits

Author SHA1 Message Date
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
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
b713f1772a Added semantic checks for method declarations. 2009-07-31 13:22:32 +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
Roberto Raggi
3cdd48067c Introduced ForeachStatementAST and the bits to parse foreach statements when qtMocRun is enabled. 2009-07-03 09:12:58 +02:00
Roberto Raggi
9c038180d8 Improved compatibility with the gcc extensions. 2009-06-18 17:49:17 +02:00
Roberto Raggi
9a8e724f15 Don't search for undefined symbols in ambiguous typeof expressions. 2009-06-18 14:22:06 +02:00
Roberto Raggi
c222f2aa27 Some cleanup in the AST nodes. 2009-06-17 16:08:33 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Roberto Raggi
22551cffcc Fixed AST::asName() cast. 2009-06-08 11:53:51 +02:00
Roberto Raggi
0497c535a2 cleanup 2009-06-05 09:44:37 +02:00
Thorbjørn Lindeijer
ecc2b25ddc Extended the AST with references to more tokens
Mainly comma tokens. Referencing all tokens is necessary to be able to
implement pretty-printing based on the AST while maintaining user
formatting.

Reviewed-by: Roberto Raggi
2009-05-11 17:03:51 +02:00
Roberto Raggi
424dd77e18 Added support for Q_SIGNAL and Q_SLOT. 2009-03-25 11:50:17 +01:00
Roberto Raggi
a744a73145 Check for ambigious function-declarators/cpp-initializers. 2009-03-17 14:27:28 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Roberto Raggi
2d80acbe76 Improved the implementation of new-expressions. 2009-02-10 14:44:03 +01:00
Roberto Raggi
d782ce27fb Reimplemented the AST::as*AST() methods as virtual functions (as suggested by andre). 2009-02-09 15:55:01 +01:00
Roberto Raggi
cd9e752ae4 Introduced ASTVisitor::endVisit(ast node) 2009-02-09 14:58:13 +01:00
Roberto Raggi
208f26c9ce Annotate function declarators. 2009-02-09 12:47:58 +01:00
Roberto Raggi
ea981d5025 More annotations. 2009-02-09 12:19:17 +01:00
Roberto Raggi
3ac4e05e37 Annotated NamespaceAST nodes. 2009-02-09 12:00:06 +01:00
Roberto Raggi
0d314977f1 Annotated the NameAST nodes. 2009-02-09 11:56:21 +01:00
Roberto Raggi
6672f89ff5 Annotate the ClassSpecifierAST node with the class symbol. 2009-02-09 11:35:57 +01:00
Roberto Raggi
d7defc6fe0 Fixes: Parsing of GCC asm definitions. 2009-02-05 14:30:24 +01:00
hjk
fe0533de2a Fixes: move all files in shared/* to src/shared/* 2009-01-26 16:19:24 +01:00