I added two todo to the wiki
(http://cpptool.sourceforge.net/cgi-bin/wiki.pl?ToDo):
- Add parsing for 'for' statement condition declaration
- Add getBlankedContent?() and getOriginalContent?() methods to ASTNode
A quick cut'n'paste below (not sure how this will look like in brut
text).
a.. [High] Add parsing for 'for' statement condition declaration
a.. The resulting AST structure should look like:
[for-statement]
iteration-statement-property => [{statement}]
iteration-property => [for-iteration-expression]
[for-iteration-expression]
? declaration-property => [declaration-or-expression-statement]
? condition-property => [expression-statement]
? next-step-property => [expression-statement]
a.. Status: to do
a.. [High] Add getBlankedContent?() and getOriginalContent?() methods to
ASTNode
a.. How:
a.. add a SourceASTNode? parameter to ASTNode constructor.
b.. add a createASTNode() method to Parser, which retrieve the
SourceASTNode? from the context_.
c.. have all parser use the new createASTNode() method instead of
calling ASTNode::create().
b.. Comments: see
http://sourceforge.net/mailarchive/forum.php?thread_id=1364546&forum_id=1271
0
c.. Status: to do
Baptiste.
|