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

Inherited from ASTConsumer:

Methods

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)

Declared at: clang/lib/Tooling/RefactoringCallbacks.cpp:40

Parameters

clang::tooling::ASTMatchRefactorer& Refactoring