clang-tools
10.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 |
RelationKind | 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 = BaseOf, Object = B }.
Definition at line 29 of file Relation.h.
|
inline |
Definition at line 39 of file Relation.h.
|
inline |
Definition at line 34 of file Relation.h.
SymbolID clang::clangd::Relation::Object |
Definition at line 32 of file Relation.h.
Referenced by llvm::yaml::MappingTraits< Relation >::mapping(), operator<(), and operator==().
RelationKind clang::clangd::Relation::Predicate |
Definition at line 31 of file Relation.h.
Referenced by clang::clangd::RelationSlab::lookup(), llvm::yaml::MappingTraits< Relation >::mapping(), operator<(), and operator==().
SymbolID clang::clangd::Relation::Subject |
Definition at line 30 of file Relation.h.
Referenced by clang::clangd::RelationSlab::lookup(), llvm::yaml::MappingTraits< Relation >::mapping(), operator<(), and operator==().