Commit Graph

43 Commits

Author SHA1 Message Date
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
1af05166d9 Removed Q_DECLARE_FLAGS parsing, leaving it to the CPP to expand it. 2010-02-08 15:41:18 +01:00
Erik Verbruggen
7b913f7fa2 Changed Q_PROPERTY parsing and AST storage. 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
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
Roberto Raggi
fade61a8a9 Use const literals. 2009-12-01 11:46:36 +01:00
Roberto Raggi
527a9bd526 Inital support for Q_D/Q_Q declarations. 2009-11-30 17:07:22 +01:00
Roberto Raggi
5d7def6d2a Refactored the AST visitors.
Now, the ASTVisitor constructor takes a valid reference to a TranslationUnit.
2009-11-17 13:30:39 +01:00
Roberto Raggi
1fb33e9fad Removed deprecated methods. 2009-11-10 16:20:13 +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
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
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
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
Thorbjørn Lindeijer
581dca0ad9 Rewrote PrettyPrinter to output the document exactly as it was before
This means at the moment the PrettyPrinter isn't doing anything useful,
but the idea is that from here we can improve it to adapt the code to
a certain style.

Reviewed-by: Roberto Raggi
2009-05-11 17:03:51 +02:00
Roberto Raggi
66a3e71579 Added ASTVisitor::getTokenStartPosition() and ASTVisitor::getTokenEndPosition(). 2009-03-06 10:45:41 +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
cd9e752ae4 Introduced ASTVisitor::endVisit(ast node) 2009-02-09 14:58:13 +01:00
hjk
fe0533de2a Fixes: move all files in shared/* to src/shared/* 2009-01-26 16:19:24 +01:00