WaSH Docs
Namespaces | Classes | Functions
ws2st::refactor Namespace Reference

Namespaces

 config
 
 cornerstone
 
 forces
 
 meta
 
 variables
 

Classes

class  RefactoringToolConfiguration
 We configure the whole tool by a series of refactoring passes. More...
 
class  RefactorPass
 A pass of a refactoring tool over the source files running a series of actions defined. More...
 
class  WashComputationAction
 Define a function to be run at the end of the refactor pass. Computation Actions will be run in the order they're defined, but will be run after all refactoring actions in the pass have completed. More...
 
class  WashMatchCallback
 A specialised refactoring callback type for Wash using custom function pointers instead of subclassing tooling::RefactoringCallback and implementing ...::run a million times. More...
 
class  WashRefactoringAction
 Developer defined registration of a refactoring action - a (<T>Matcher, CallbackFn) pair. More...
 

Functions

std::vector< std::string > prepareArguments (const WashOptions &opts, const std::vector< std::string > &files)
 
void runRefactoring (const WashOptions &opts)
 Runs the wash refactoring application. More...
 

Function Documentation

◆ prepareArguments()

std::vector<std::string> ws2st::refactor::prepareArguments ( const WashOptions opts,
const std::vector< std::string > &  files 
)

◆ runRefactoring()

void ws2st::refactor::runRefactoring ( const WashOptions opts)

Runs the wash refactoring application.

Parameters
optsApplication options