|
clang-tools 23.0.0git
|
#include <Representation.h>
Public Member Functions | |
| Reference (SymbolID USR=SymbolID(), StringRef Name=StringRef(), InfoType IT=InfoType::IT_default) | |
| Reference (SymbolID USR, StringRef Name, InfoType IT, StringRef QualName, StringRef Path=StringRef()) | |
| Reference (SymbolID USR, StringRef Name, InfoType IT, StringRef QualName, StringRef Path, StringRef DocumentationFileName) | |
| bool | operator== (const Reference &Other) const |
| bool | mergeable (const Reference &Other) |
| void | merge (Reference &&I) |
| bool | operator< (const Reference &Other) const |
| StringRef | getRelativeFilePath (const StringRef &CurrentPath) const |
| Returns the path for this Reference relative to CurrentPath. | |
| StringRef | getFileBaseName () const |
| Returns the basename that should be used for this Reference. | |
Public Attributes | |
| SymbolID | USR = SymbolID() |
| InfoType | RefType = InfoType::IT_default |
| StringRef | Name |
| StringRef | QualName |
| StringRef | Path |
| StringRef | DocumentationFileName |
Definition at line 219 of file Representation.h.
|
inline |
Definition at line 225 of file Representation.h.
References clang::doc::internString(), clang::doc::IT_default, Name, QualName, RefType, and USR.
Referenced by clang::doc::Context::Context(), clang::doc::Context::Context(), clang::doc::Index::Index(), clang::doc::Index::Index(), clang::doc::Index::Index(), merge(), mergeable(), operator<(), and operator==().
|
inline |
Definition at line 229 of file Representation.h.
References clang::doc::internString(), Name, Path, QualName, RefType, and USR.
|
inline |
Definition at line 233 of file Representation.h.
References DocumentationFileName, clang::doc::internString(), Name, Path, QualName, RefType, and USR.
| StringRef clang::doc::Reference::getFileBaseName | ( | ) | const |
Returns the basename that should be used for this Reference.
Definition at line 249 of file Representation.cpp.
References clang::doc::IT_namespace, Name, and RefType.
Referenced by clang::doc::preprocessCDCtxIndex(), and clang::doc::writeNameLink().
| StringRef clang::doc::Reference::getRelativeFilePath | ( | const StringRef & | CurrentPath | ) | const |
Returns the path for this Reference relative to CurrentPath.
Definition at line 244 of file Representation.cpp.
References clang::doc::calculateRelativeFilePath(), clang::doc::internString(), Name, Path, and RefType.
Referenced by clang::doc::preprocessCDCtxIndex(), and clang::doc::writeNameLink().
| void clang::doc::Reference::merge | ( | Reference && | I | ) |
Definition at line 272 of file Representation.cpp.
References DocumentationFileName, mergeable(), Name, Path, and Reference().
| bool clang::doc::Reference::mergeable | ( | const Reference & | Other | ) |
Definition at line 268 of file Representation.cpp.
References Reference(), RefType, and USR.
Referenced by merge().
|
inline |
Definition at line 246 of file Representation.h.
References Name, and Reference().
|
inline |
Definition at line 239 of file Representation.h.
References Name, QualName, Reference(), RefType, and USR.
| StringRef clang::doc::Reference::DocumentationFileName |
Definition at line 273 of file Representation.h.
Referenced by clang::doc::Context::Context(), clang::doc::Context::Context(), clang::doc::ClangDocBitcodeWriter::emitBlock(), merge(), clang::doc::parseRecord(), and Reference().
| StringRef clang::doc::Reference::Name |
Definition at line 263 of file Representation.h.
Referenced by clang::doc::Context::Context(), clang::doc::Context::Context(), clang::doc::ClangDocBitcodeWriter::emitBlock(), getFileBaseName(), getRelativeFilePath(), clang::doc::Index::Index(), clang::doc::Index::Index(), clang::doc::Index::Index(), merge(), clang::doc::FriendInfo::mergeable(), clang::doc::Index::operator<(), operator<(), operator==(), clang::doc::parseRecord(), Reference(), Reference(), Reference(), and clang::doc::writeNameLink().
| StringRef clang::doc::Reference::Path |
Definition at line 272 of file Representation.h.
Referenced by clang::doc::Context::Context(), clang::doc::Context::Context(), clang::doc::ClangDocBitcodeWriter::emitBlock(), getRelativeFilePath(), clang::doc::Index::Index(), merge(), clang::doc::parseRecord(), clang::doc::preprocessCDCtxIndex(), Reference(), and Reference().
| StringRef clang::doc::Reference::QualName |
Definition at line 268 of file Representation.h.
Referenced by clang::doc::Context::Context(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::genMarkdown(), operator==(), clang::doc::parseRecord(), Reference(), Reference(), and Reference().
| InfoType clang::doc::Reference::RefType = InfoType::IT_default |
Definition at line 256 of file Representation.h.
Referenced by clang::doc::ClangDocBitcodeWriter::emitBlock(), getFileBaseName(), getRelativeFilePath(), mergeable(), operator==(), clang::doc::parseRecord(), Reference(), Reference(), and Reference().
Definition at line 254 of file Representation.h.
Referenced by clang::doc::Context::Context(), clang::doc::Context::Context(), clang::doc::ClangDocBitcodeWriter::emitBlock(), clang::doc::Index::Index(), clang::doc::FriendInfo::mergeable(), mergeable(), clang::doc::Index::operator==(), operator==(), clang::doc::parseRecord(), Reference(), Reference(), and Reference().