By looking at the senders of #copyInContext:, I believe it is used in��RBStringReplaceRule. By looking at this rule class comment, I believe it replaces a matched tree with another tree.

So I guess copyInContext: is used to replace a subtree of the AST by another tree.

Regards,

Clement


2014-06-17 17:06 GMT+02:00 Mark Rizun <mrizun@gmail.com>:
What is the purpose of the mothod copyInContext: in AST-Core package?

Thanks,
Mark