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

A type of refactoring action rule that finds a set of symbol occurrences that reference a particular symbol. More...

#include "clang/Tooling/Refactoring/RefactoringActionRules.h"

Inheritance diagram for clang::tooling::FindSymbolOccurrencesRefactoringRule:
Inheritance graph
[legend]
Collaboration diagram for clang::tooling::FindSymbolOccurrencesRefactoringRule:
Collaboration graph
[legend]

Public Member Functions

void invoke (RefactoringResultConsumer &Consumer, RefactoringRuleContext &Context) final override
 Initiates and performs a specific refactoring action. More...
 
- Public Member Functions inherited from clang::tooling::RefactoringActionRuleBase
virtual ~RefactoringActionRuleBase ()
 

Detailed Description

A type of refactoring action rule that finds a set of symbol occurrences that reference a particular symbol.

This action rule is typically used for an interactive rename that allows users to specify the new name and the set of selected occurrences during the refactoring.

Definition at line 75 of file RefactoringActionRules.h.

Member Function Documentation

◆ invoke()

void clang::tooling::FindSymbolOccurrencesRefactoringRule::invoke ( RefactoringResultConsumer Consumer,
RefactoringRuleContext Context 
)
inlinefinaloverridevirtual

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.

Implements clang::tooling::RefactoringActionRuleBase.

Definition at line 77 of file RefactoringActionRules.h.


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