clang-tools  14.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
Collaboration diagram for clang::doc::MapASTVisitor:
Collaboration 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)

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 22 of file Mapper.cpp.

◆ VisitCXXMethodDecl()

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

Definition at line 65 of file Mapper.cpp.

References ns1::ns2::D.

◆ VisitEnumDecl()

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

Definition at line 63 of file Mapper.cpp.

References ns1::ns2::D.

◆ VisitFunctionDecl()

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

Definition at line 69 of file Mapper.cpp.

References ns1::ns2::D.

◆ VisitNamespaceDecl()

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

Definition at line 57 of file Mapper.cpp.

References ns1::ns2::D.

◆ VisitRecordDecl()

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

Definition at line 61 of file Mapper.cpp.

References ns1::ns2::D.

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