clang-tools
15.0.0git
|
#include <Representation.h>
Public Member Functions | |
Index ()=default | |
Index (StringRef Name) | |
Index (StringRef Name, StringRef JumpToSection) | |
Index (SymbolID USR, StringRef Name, InfoType IT, StringRef Path) | |
bool | operator== (const SymbolID &Other) const |
bool | operator< (const Index &Other) const |
void | sort () |
![]() | |
Reference ()=default | |
Reference (llvm::StringRef Name) | |
Reference (llvm::StringRef Name, StringRef Path) | |
Reference (SymbolID USR, StringRef Name, InfoType IT) | |
Reference (SymbolID USR, StringRef Name, InfoType IT, StringRef Path) | |
bool | operator== (const Reference &Other) const |
bool | mergeable (const Reference &Other) |
void | merge (Reference &&I) |
llvm::SmallString< 64 > | getRelativeFilePath (const StringRef &CurrentPath) const |
Returns the path for this Reference relative to CurrentPath. More... | |
llvm::SmallString< 16 > | getFileBaseName () const |
Returns the basename that should be used for this Reference. More... | |
Public Attributes | |
llvm::Optional< SmallString< 16 > > | JumpToSection |
std::vector< Index > | Children |
![]() | |
SymbolID | USR = SymbolID() |
SmallString< 16 > | Name |
InfoType | RefType = InfoType::IT_default |
llvm::SmallString< 128 > | Path |
bool | IsInGlobalNamespace = false |
Definition at line 401 of file Representation.h.
|
default |
|
inline |
Definition at line 403 of file Representation.h.
|
inline |
Definition at line 404 of file Representation.h.
Definition at line 406 of file Representation.h.
bool clang::doc::Index::operator< | ( | const Index & | Other | ) | const |
Definition at line 297 of file Representation.cpp.
References ns1::ns2::D, and clang::doc::Reference::Name.
|
inline |
Definition at line 409 of file Representation.h.
References clang::doc::Reference::USR.
void clang::doc::Index::sort | ( | ) |
Definition at line 316 of file Representation.cpp.
Referenced by clang::doc::genIndex(), clang::doc::serializeIndex(), and clang::doc::SerializeIndex().
std::vector<Index> clang::doc::Index::Children |
Definition at line 413 of file Representation.h.
Referenced by clang::doc::Generator::addInfoToIndex(), clang::doc::genHTML(), clang::doc::genIndex(), clang::doc::genInfoIndexItem(), clang::doc::serializeIndex(), and sort().
llvm::Optional<SmallString<16> > clang::doc::Index::JumpToSection |
Definition at line 412 of file Representation.h.
Referenced by clang::doc::genHTML().