clang-tools 20.0.0git
|
#include <Representation.h>
Public Member Functions | |
NamespaceInfo (SymbolID USR=SymbolID(), StringRef Name=StringRef(), StringRef Path=StringRef()) | |
void | merge (NamespaceInfo &&I) |
Public Member Functions inherited from clang::doc::Info | |
Info (InfoType IT=InfoType::IT_default, SymbolID USR=SymbolID(), StringRef Name=StringRef(), StringRef Path=StringRef()) | |
Info (const Info &Other)=delete | |
Info (Info &&Other)=default | |
virtual | ~Info ()=default |
Info & | operator= (Info &&Other)=default |
void | mergeBase (Info &&I) |
bool | mergeable (const Info &Other) |
llvm::SmallString< 16 > | extractName () const |
llvm::SmallString< 64 > | getRelativeFilePath (const StringRef &CurrentPath) const |
Returns the file path for this Info relative to CurrentPath. | |
llvm::SmallString< 16 > | getFileBaseName () const |
Returns the basename that should be used for this Info. | |
Public Attributes | |
ScopeChildren | Children |
Public Attributes inherited from clang::doc::Info | |
SymbolID | USR |
InfoType | IT = InfoType::IT_default |
SmallString< 16 > | Name |
llvm::SmallVector< Reference, 4 > | Namespace |
std::vector< CommentInfo > | Description |
llvm::SmallString< 128 > | Path |
Definition at line 306 of file Representation.h.
clang::doc::NamespaceInfo::NamespaceInfo | ( | SymbolID | USR = SymbolID() , |
StringRef | Name = StringRef() , |
||
StringRef | Path = StringRef() |
||
) |
Definition at line 223 of file Representation.cpp.
void clang::doc::NamespaceInfo::merge | ( | NamespaceInfo && | I | ) |
Definition at line 226 of file Representation.cpp.
References Children, clang::doc::ScopeChildren::Enums, clang::doc::ScopeChildren::Functions, clang::doc::Info::mergeable(), clang::doc::Info::mergeBase(), clang::doc::ScopeChildren::Namespaces, clang::doc::ScopeChildren::Records, and clang::doc::ScopeChildren::Typedefs.
ScopeChildren clang::doc::NamespaceInfo::Children |
Definition at line 312 of file Representation.h.
Referenced by clang::doc::addChild(), clang::doc::addReference(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genHTML(), clang::doc::genMarkdown(), llvm::yaml::MappingTraits< NamespaceInfo >::mapping(), and merge().