clang 20.0.0git
|
A common refactoring action rule interface that defines the 'invoke' function that performs the refactoring operation (either fully or partially). More...
#include "clang/Tooling/Refactoring/RefactoringActionRule.h"
Public Member Functions | |
virtual | ~RefactoringActionRuleBase () |
virtual void | invoke (RefactoringResultConsumer &Consumer, RefactoringRuleContext &Context)=0 |
Initiates and performs a specific refactoring action. | |
A common refactoring action rule interface that defines the 'invoke' function that performs the refactoring operation (either fully or partially).
Definition at line 34 of file RefactoringActionRule.h.
|
inlinevirtual |
Definition at line 36 of file RefactoringActionRule.h.
|
pure virtual |
Initiates and performs a specific refactoring action.
The specific rule will invoke an appropriate handle
method on a consumer to propagate the result of the refactoring action.
Implemented in clang::tooling::SourceChangeRefactoringRule, and clang::tooling::FindSymbolOccurrencesRefactoringRule.