clang-tools
9.0.0
|
Represents a relation between two symbols. More...
#include <Relation.h>
Public Member Functions | |
bool | operator== (const Relation &Other) const |
bool | operator< (const Relation &Other) const |
Public Attributes | |
SymbolID | Subject |
index::SymbolRole | Predicate |
SymbolID | Object |
Represents a relation between two symbols.
For an example "A is a base class of B" may be represented as { Subject = A, Predicate = RelationBaseOf, Object = B }.
Definition at line 25 of file Relation.h.
|
inline |
Definition at line 35 of file Relation.h.
|
inline |
Definition at line 30 of file Relation.h.
SymbolID clang::clangd::Relation::Object |
Definition at line 28 of file Relation.h.
Referenced by llvm::yaml::MappingTraits< Relation >::mapping(), operator<(), and operator==().
index::SymbolRole clang::clangd::Relation::Predicate |
Definition at line 27 of file Relation.h.
Referenced by clang::clangd::RelationSlab::bytes(), clang::clangd::RelationSlab::lookup(), llvm::yaml::MappingTraits< Relation >::mapping(), operator<(), and operator==().
SymbolID clang::clangd::Relation::Subject |
Definition at line 26 of file Relation.h.
Referenced by clang::clangd::RelationSlab::bytes(), clang::clangd::RelationSlab::lookup(), llvm::yaml::MappingTraits< Relation >::mapping(), operator<(), and operator==().