clang-tools 19.0.0git
Public Member Functions | List of all members
clang::doc::MapASTVisitor Class Reference

#include <Mapper.h>

Inheritance diagram for clang::doc::MapASTVisitor:
Inheritance graph

Public Member Functions

 MapASTVisitor (ASTContext *Ctx, ClangDocContext CDCtx)
void HandleTranslationUnit (ASTContext &Context) override
bool VisitNamespaceDecl (const NamespaceDecl *D)
bool VisitRecordDecl (const RecordDecl *D)
bool VisitEnumDecl (const EnumDecl *D)
bool VisitCXXMethodDecl (const CXXMethodDecl *D)
bool VisitFunctionDecl (const FunctionDecl *D)
bool VisitTypedefDecl (const TypedefDecl *D)
bool VisitTypeAliasDecl (const TypeAliasDecl *D)

Detailed Description

Definition at line 30 of file Mapper.h.

Constructor & Destructor Documentation

◆ MapASTVisitor()

clang::doc::MapASTVisitor::MapASTVisitor ( ASTContext *  Ctx,
ClangDocContext  CDCtx 

Definition at line 33 of file Mapper.h.

Member Function Documentation

◆ HandleTranslationUnit()

void clang::doc::MapASTVisitor::HandleTranslationUnit ( ASTContext &  Context)

Definition at line 20 of file Mapper.cpp.

◆ VisitCXXMethodDecl()

bool clang::doc::MapASTVisitor::VisitCXXMethodDecl ( const CXXMethodDecl *  D)

Definition at line 63 of file Mapper.cpp.

◆ VisitEnumDecl()

bool clang::doc::MapASTVisitor::VisitEnumDecl ( const EnumDecl *  D)

Definition at line 61 of file Mapper.cpp.

◆ VisitFunctionDecl()

bool clang::doc::MapASTVisitor::VisitFunctionDecl ( const FunctionDecl *  D)

Definition at line 67 of file Mapper.cpp.

◆ VisitNamespaceDecl()

bool clang::doc::MapASTVisitor::VisitNamespaceDecl ( const NamespaceDecl *  D)

Definition at line 55 of file Mapper.cpp.

◆ VisitRecordDecl()

bool clang::doc::MapASTVisitor::VisitRecordDecl ( const RecordDecl *  D)

Definition at line 59 of file Mapper.cpp.

◆ VisitTypeAliasDecl()

bool clang::doc::MapASTVisitor::VisitTypeAliasDecl ( const TypeAliasDecl *  D)

Definition at line 78 of file Mapper.cpp.

◆ VisitTypedefDecl()

bool clang::doc::MapASTVisitor::VisitTypedefDecl ( const TypedefDecl *  D)

Definition at line 74 of file Mapper.cpp.

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