Is there any documentation on using AST & RB?
I didn't find anything enlightening via google, the tests, or the
class/method comments. In trying to replace all calls to #deprecate: and
#deprecate:in: to #deprecate:on:in: (Issue 4718), it took me hours to step
through OB's refactoring and learn the syntax.
In case anyone else can benefit, I eventually ended up with:
RBParseTreeRewriter new
replace: '``@object deprecated: ``@arg1 '
with: '``@object deprecated: ``@arg1 on:(''', dateString, ''')
in:(''Pharo', versionNumber asString, ''')'.
Sean
--
View this message in context:
http://forum.world.st/RB-API-tp3781019p3781019.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.