clang
10.0.0git
|
An AST selection requirement is satisfied when any portion of the AST overlaps with the selection range. More...
#include "clang/Tooling/Refactoring/RefactoringActionRuleRequirements.h"
Public Member Functions | |
Expected< SelectedASTNode > | evaluate (RefactoringRuleContext &Context) const |
![]() | |
Expected< SourceRange > | evaluate (RefactoringRuleContext &Context) const |
An AST selection requirement is satisfied when any portion of the AST overlaps with the selection range.
The requirement will be evaluated only once during the initiation and search of matching refactoring action rules.
Definition at line 60 of file RefactoringActionRuleRequirements.h.
Expected< SelectedASTNode > ASTSelectionRequirement::evaluate | ( | RefactoringRuleContext & | Context | ) | const |
Definition at line 16 of file ASTSelectionRequirements.cpp.