Refactoring = Substitution + Rewriting

11/21/2022
by   Simon Thompson, et al.
0

We present an approach to describing refactorings that abstracts away from particular refactorings to classes of similar transformations, and presents an implementation of these that works by substitution and subsequent rewriting. Substitution is language-independent under this approach, while the rewrites embody language-specific aspects. Intriguingly, it also goes back to work on API migration by Huiqing Li and the first author, and sets refactoring in that general context.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset