clang-tools 20.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 () |
Public Member Functions inherited from clang::doc::Reference | |
Reference (SymbolID USR=SymbolID(), StringRef Name=StringRef(), InfoType IT=InfoType::IT_default) | |
Reference (SymbolID USR, StringRef Name, InfoType IT, StringRef QualName, StringRef Path=StringRef()) | |
bool | operator== (const Reference &Other) const |
bool | mergeable (const Reference &Other) |
void | merge (Reference &&I) |
bool | operator< (const Reference &Other) const |
llvm::SmallString< 64 > | getRelativeFilePath (const StringRef &CurrentPath) const |
Returns the path for this Reference relative to CurrentPath. | |
llvm::SmallString< 16 > | getFileBaseName () const |
Returns the basename that should be used for this Reference. | |
Public Attributes | |
std::optional< SmallString< 16 > > | JumpToSection |
std::vector< Index > | Children |
Public Attributes inherited from clang::doc::Reference | |
SymbolID | USR = SymbolID() |
SmallString< 16 > | Name |
SmallString< 16 > | QualName |
InfoType | RefType = InfoType::IT_default |
llvm::SmallString< 128 > | Path |
Definition at line 481 of file Representation.h.
|
default |
|
inline |
Definition at line 483 of file Representation.h.
|
inline |
Definition at line 484 of file Representation.h.
Definition at line 486 of file Representation.h.
bool clang::doc::Index::operator< | ( | const Index & | Other | ) | const |
Definition at line 342 of file Representation.cpp.
References clang::doc::Reference::Name.
|
inline |
Definition at line 489 of file Representation.h.
References clang::doc::Reference::USR.
void clang::doc::Index::sort | ( | ) |
Definition at line 361 of file Representation.cpp.
Referenced by clang::doc::genIndex(), and clang::doc::serializeIndex().
std::vector<Index> clang::doc::Index::Children |
Definition at line 493 of file Representation.h.
Referenced by clang::doc::Generator::addInfoToIndex(), clang::doc::genHTML(), clang::doc::genIndex(), clang::doc::genInfoIndexItem(), clang::doc::serializeIndex(), and sort().
std::optional<SmallString<16> > clang::doc::Index::JumpToSection |
Definition at line 492 of file Representation.h.
Referenced by clang::doc::genHTML().