Hi <span class="gmail_quote"><b class="gmail_sendername">Mathieu,<br>
<br>
Great! I´l have a look at it.<br>
<br>
(I´m right now on the road with not a real good internet connection)<br>
</b></span><br><div><span class="gmail_quote">On 9/20/06, <b class="gmail_sendername">Mathieu Suen</b> &lt;<a href="mailto:mathieusuen@yahoo.fr">mathieusuen@yahoo.fr</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I have finish commetn parsing.<br>So to use it you have several way:<br><br>1. The old way for being compatible with refactoring engine<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;aNode comments -&gt; list of Interval<br><br>2. The new way:
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;aNode peekBeforComment -&gt; list of SqueakToken being befor the node<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;aNode peekAfterComment -&gt; list of SqueakToken being after the node<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;aNode
peekInsideComment -&gt; list of SqueakToken who belong to nobody inside
the node<br><br>To enable this feather you have to visit method node with ASTCommenter.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ASTCommenter new visitNode: aNode<br><br>You will find the package in <a href="http://www.squeaksource.com/NewCompilerPragma">
http://www.squeaksource.com/NewCompilerPragma</a><br>Beceause of many change, I have recompile all the image without bug (only the one seen befor<br>beceause of a dot at the end of method pattern).<br><br>For more information on where are comment on the tree you can see the test:
<br><br>SqueakParserTest&gt;&gt;#methodDescribeWithAllComment:And:<br>SqueakParserTest&gt;&gt;#test*<br><br>I didn't throw any comment beceause people can make code commenting, thus losing them can be<br>annoying. That the aim of peekInsideComment: retreive comments that aren't at a good place.
<br><br>Tell me if you find it all ok.<br><br>Thanks<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Math<br><br><br><br><br>___________________________________________________________________________<br>Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
<br>Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences.<br><a href="http://fr.answers.yahoo.com">http://fr.answers.yahoo.com</a><br><br></blockquote></div><br>