Jan. 12, 2011
7:47 a.m.
2011/1/12 Lukas Renggli <renggli@gmail.com>:
1) In [1] "( RBClass existingNamed: className ) compileTree: replacer tree" would be more appropiate? I get a MNU when evaluated with latest AST/Refactoring.
What kind of MNU?
Debug log attached
2) The above script have some problems, if you want to get replaced
'this is a string' asString.
to
'this is a string' asText
it won't match. The same happens with: " self model asString " and other patterns.
`#literal asString
i.e. [: tmp | anObject1 blabla1 blabla2 oldMessage blabla3 ] How to modify the rewriter to match oldMessage/newMessage at any point?
``@obj oldMessage
Lukas
Cool, thanks!