clang 20.0.0git
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]

Public Member Functions

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

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 74 of file RefactoringActionRules.h.

Member Function Documentation

◆ invoke()

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

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 76 of file RefactoringActionRules.h.


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