class RefactoringASTConsumer
Declaration
class RefactoringASTConsumer : public ASTConsumer { /* full declaration omitted */ };
Description
ASTConsumer - This is an abstract interface that should be implemented by clients that read ASTs. This abstraction layer allows the client to be independent of the AST producer (e.g. parser vs AST dump file reader, etc).
Declared at: clang/lib/Tooling/RefactoringCallbacks.cpp:38
Inherits from: ASTConsumer
Member Variables
- private clang::tooling::ASTMatchRefactorer& Refactoring
Method Overview
- public void HandleTranslationUnit(clang::ASTContext & Context)
- public RefactoringASTConsumer(clang::tooling::ASTMatchRefactorer & Refactoring)
Inherited from ASTConsumer:
- public AssignInheritanceModel
- public CompleteExternalDeclaration
- public CompleteTentativeDefinition
- public GetASTDeserializationListener
- public GetASTMutationListener
- public HandleCXXImplicitFunctionInstantiation
- public HandleCXXStaticMemberVarInstantiation
- public HandleImplicitImportDecl
- public HandleInlineFunctionDefinition
- public HandleInterestingDecl
- public HandleTagDeclDefinition
- public HandleTagDeclRequiredDefinition
- public HandleTopLevelDecl
- public HandleTopLevelDeclInObjCContainer
- public HandleTranslationUnit
- public HandleVTable
- public Initialize
- public PrintStats
- public shouldSkipFunctionBody
Methods
¶void HandleTranslationUnit(
clang::ASTContext& Context)
void HandleTranslationUnit(
clang::ASTContext& Context)
Description
HandleTranslationUnit - This method is called when the ASTs for entire translation unit have been parsed.
Declared at: clang/lib/Tooling/RefactoringCallbacks.cpp:43
Parameters
- clang::ASTContext& Context
¶RefactoringASTConsumer(
clang::tooling::ASTMatchRefactorer&
Refactoring)
RefactoringASTConsumer(
clang::tooling::ASTMatchRefactorer&
Refactoring)
Declared at: clang/lib/Tooling/RefactoringCallbacks.cpp:40
Parameters
- clang::tooling::ASTMatchRefactorer& Refactoring