clang-tools 19.0.0git
Public Member Functions | Public Attributes | List of all members
clang::clangd::Relation Struct Reference

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
 

Detailed Description

Represents a relation between two symbols.

For an example:

Definition at line 32 of file Relation.h.

Member Function Documentation

◆ operator<()

bool clang::clangd::Relation::operator< ( const Relation Other) const
inline

Definition at line 42 of file Relation.h.

References Object, Predicate, and Subject.

◆ operator==()

bool clang::clangd::Relation::operator== ( const Relation Other) const
inline

Definition at line 37 of file Relation.h.

References Object, Predicate, and Subject.

Member Data Documentation

◆ Object

SymbolID clang::clangd::Relation::Object

◆ Predicate

RelationKind clang::clangd::Relation::Predicate

◆ Subject

SymbolID clang::clangd::Relation::Subject

The documentation for this struct was generated from the following file: