Roberto Raggi
|
5dcf449afd
|
Initial work on the pattern matcher for AST nodes.
|
2009-11-12 18:03:05 +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
|
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
|
64a08d15f3
|
Parse ASM specifiers after declarators.
Again, a gcc extension used in the OSX system headers.
|
2009-11-04 13:47:06 +01:00 |
|
Erik Verbruggen
|
f4047ac8bf
|
Fixed use of uninitialized/unallocated object.
|
2009-10-26 10:50:11 +01:00 |
|
Roberto Raggi
|
935642b1bc
|
Return the cached AST node.
|
2009-10-23 14:31:55 +02:00 |
|
Roberto Raggi
|
07c2451abd
|
Use memoization to reduce the backtracking when parsing template arguments.
|
2009-10-23 11:21:36 +02:00 |
|
Roberto Raggi
|
2a7fa04101
|
Released the memory allocated in the memory pool when backtracking from Parser::parseTemplateId().
|
2009-10-22 16:48:06 +02:00 |
|
Robert Loehning
|
bf74d9aed9
|
Compile fix in Parser.cpp
|
2009-10-20 15:55:40 +02:00 |
|
Roberto Raggi
|
18ef2f2615
|
Reduce backtracking when parsing ambiguous name ids.
|
2009-10-20 15:29:00 +02:00 |
|
Roberto Raggi
|
3ed4a743c0
|
Check the lookahead token before to start the parse of core-postfix expressions.
|
2009-10-20 15:01:45 +02:00 |
|
Roberto Raggi
|
bd7c7e0e55
|
Added debug helpers
|
2009-10-20 14:56:36 +02:00 |
|
Roberto Raggi
|
c5cf70c6b8
|
Check for valid decl_specifier_seq when parsing declaration statements.
|
2009-10-20 11:42:18 +02:00 |
|
Roberto Raggi
|
8f4bdd5355
|
Removed unused method Parser::maybeSimpleExpression()
|
2009-10-20 11:29:53 +02:00 |
|
Roberto Raggi
|
7c62901919
|
Removed unused method Parser::maybeFunctionCall()
|
2009-10-20 11:28:38 +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 |
|
Roberto Raggi
|
fe2c9cc16d
|
Improved parsing of ambiguous statements.
Done with Erik Verbruggen
|
2009-10-19 17:48:57 +02:00 |
|
Erik Verbruggen
|
077c19a661
|
Fix for invalid parsing of "(a)[b]", including test cases.
|
2009-10-19 14:50:20 +02:00 |
|
Roberto Raggi
|
77aa306478
|
Removed the MacroResolver
Unfortunately, the MacroResolver does not scale and we get pretty bad performances when parsing big projects.
|
2009-10-07 13:57:45 +02:00 |
|
Erik Verbruggen
|
f1e665463b
|
Added protocol & class definedness checks, and added property attribute checks.
|
2009-10-05 18:02:01 +02:00 |
|
Roberto Raggi
|
9a21143384
|
Implemented a simple(fast?) strategy to resolve macro references.
|
2009-09-30 17:17:11 +02:00 |
|
Roberto Raggi
|
e50d60ac97
|
Introduced MacroResolver.
|
2009-09-30 17:17:11 +02:00 |
|
hjk
|
93cbef8724
|
long live the king
|
2009-08-14 09:30:56 +02:00 |
|
Erik Verbruggen
|
ffccb612af
|
Parsing fix for casts in ObjC message expressions.
|
2009-08-10 12:44:52 +02:00 |
|
Erik Verbruggen
|
4e7881577d
|
Parser fix for ObjC methods.
|
2009-08-06 13:44:33 +02:00 |
|
Erik Verbruggen
|
ca34b0ca1c
|
Cleaned the ObjC AST up.
|
2009-08-05 17:14:08 +02:00 |
|
Roberto Raggi
|
393806696d
|
The parser needs to a valid AST when the parsing method returns `true'.
|
2009-08-05 09:59:11 +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 |
|