From: Baptiste L. <gai...@fr...> - 2002-12-20 08:54:03
|
It's done. ASTNode now have two new methods: getBlankedText() and getOriginalText(). I removed the convenience method on SourceASTNode. I also added include/rfta/parser/ASTNodeForward.h which contains forward declaration for ASTNode related type and smart pointers (including SourceASTNode). Node should now be created in parser using Parser::createASTNode() instead of ASTNode::create(). Since they have the same parameters, it was only a matter of a search'n'replace. Baptiste. ----- Original Message ----- From: "Baptiste Lepilleur" <gai...@fr...> To: "CppTool Mailing List" <Cpp...@li...> Sent: Thursday, December 19, 2002 11:57 PM Subject: [Cpptool-develop] Task assigned: Add getBlankedContent?() and getOriginalContent?() methods to ASTNode > Since I'm done with VC 6 add-in (at least enough to get it working), I'm > tackling the following task. > > [High] Add getBlankedContent?() and getOriginalContent?() methods to ASTNode > How: > add a SourceASTNode? parameter to ASTNode constructor. > add a createASTNode() method to Parser, which retrieve the SourceASTNode? > from the context_. > have all parser use the new createASTNode() method instead of calling > ASTNode::create(). > Comments: see > http://sourceforge.net/mailarchive/forum.php?thread_id=1364546&forum_id=1271 > 0 > Status: in progress BaptisteLepilleur? > > > Baptiste. |