From: Andre B. <and...@gm...> - 2002-12-17 15:26:17
|
I'm currently implementing that item "adding parsing for 'for'-statement condition declaration" and didn't find it to complicated however I have a general question about the parsing. Should we directly call the parser for the for-iteration-expression within the for-statment-parser or does this lazy parsing continue also in here. For a lazy parsing of for-iteration-expressions I would add a 'unparsedForIterationExpression' node and write the mutator for this. Within the for-iteration-expression-parser I would do the same - adding unparsed elements for the three properties ( unparsedDeclarationOrExpression , unparsedExpressionStatement, unparsedExpressionStatement ) Well "unparsedDeclarationOrExpression" doesn't exist at the moment... For checking the code I'm currently using direct parsing. But it will be no problem to transform this, since the code only needs to be move than into the mutator. Implementation will still need some time since I also want to go through the tests ... -- Andre |