clang  6.0.0svn
Public Member Functions | List of all members
clang::tooling::RefactoringActionRuleBase Class Referenceabstract

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"

Inheritance diagram for clang::tooling::RefactoringActionRuleBase:
Inheritance graph
[legend]

Public Member Functions

virtual ~RefactoringActionRuleBase ()
 
virtual void invoke (RefactoringResultConsumer &Consumer, RefactoringRuleContext &Context)=0
 Initiates and performs a specific refactoring action. More...
 

Detailed Description

A common refactoring action rule interface that defines the 'invoke' function that performs the refactoring operation (either fully or partially).

Definition at line 37 of file RefactoringActionRule.h.

Constructor & Destructor Documentation

◆ ~RefactoringActionRuleBase()

virtual clang::tooling::RefactoringActionRuleBase::~RefactoringActionRuleBase ( )
inlinevirtual

Definition at line 39 of file RefactoringActionRule.h.

Member Function Documentation

◆ invoke()

virtual void clang::tooling::RefactoringActionRuleBase::invoke ( RefactoringResultConsumer Consumer,
RefactoringRuleContext Context 
)
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::FindSymbolOccurrencesRefactoringRule, and clang::tooling::SourceChangeRefactoringRule.


The documentation for this class was generated from the following file: