module documentation

The objective of rewriting module of Scalpel is to provide APIs that allow users to rewrite their code implementation. This can be used for various purposes such as code desugaring (removing code sugar usages), testing and code instrumentation. Code rewriting can bring great benefits such as API extraction and dynamic testing.

Class ASTRewriter Here is the implementation of code rewriter at AST node level.
Class LoopExchanger Here is the implementation of code rewriter at AST node level.
Class Rewriter The rewriter class contains a set of static methods.
Class VarRenamer Here is the implementation of code rewriter at AST node level.