This namespace provides common interfaces for translation unit visitors, which are responsible for traversing the Clang's AST of the source code, and generating the intermedia diagram model.
Each 'translation_unit_visitor' implements the Clang's 'RecursiveASTVisitor' interface.
Namespaces | |
namespace | comment |
namespace | detail |
Classes | |
class | ast_id_mapper |
Mapping between Clang AST identifier and clang-uml unique ids. More... | |
class | template_builder |
Class responsible for building all kinds of templates from Clang AST. More... | |
class | translation_unit_visitor |
Diagram translation unit visitor base class. More... | |
Typedefs | |
using | found_relationships_t = std::vector< std::tuple< eid_t, common::model::relationship_t, const clang::Decl * > > |
Functions | |
std::string | map_type_parameter_to_template_parameter_name (const clang::Decl *decl, const std::string &type_parameter) |
using clanguml::common::visitor::found_relationships_t = typedef std::vector< std::tuple<eid_t, common::model::relationship_t, const clang::Decl *> > |
Definition at line 45 of file translation_unit_visitor.h.
std::string clanguml::common::visitor::map_type_parameter_to_template_parameter_name | ( | const clang::Decl * | decl, |
const std::string & | type_parameter | ||
) |
Definition at line 62 of file template_builder.cc.