sun::lsp::DeclarationKey
struct · Source (opens in a new tab)
struct sun::lsp::DeclarationKeyIdentity of a declaration: where it is.
Specialization clones keep the template's spans, so a declaration reached through a clone and through the template compare equal. Parameters share their function's span and are told apart by name.
Public Functions
operator==
public · function · Source (opens in a new tab)
bool sun::lsp::DeclarationKey::operator==(const DeclarationKey &) const =defaultCompares the stored values for equality.
Related: DeclarationKey
Public Fields
end
public · variable · Source (opens in a new tab)
int sun::lsp::DeclarationKey::end = -1No documentation comment.
file
public · variable · Source (opens in a new tab)
std::string sun::lsp::DeclarationKey::fileNo documentation comment.
offset
public · variable · Source (opens in a new tab)
int sun::lsp::DeclarationKey::offset = 0No documentation comment.
parameter
public · variable · Source (opens in a new tab)
std::string sun::lsp::DeclarationKey::parameterNo documentation comment.