nixd
Loading...
Searching...
No Matches
Public Attributes | List of all members
lspserver::ReferenceLocation Struct Reference

#include <Protocol.h>

Inheritance diagram for lspserver::ReferenceLocation:
[legend]
Collaboration diagram for lspserver::ReferenceLocation:
[legend]

Public Attributes

std::optional< std::string > containerName
 
- Public Attributes inherited from lspserver::Location
URIForFile uri
 The text document's URI.
 
Range range
 

Detailed Description

Extends Locations returned by textDocument/references with extra info. This is a clangd extension: LSP uses Location.

Definition at line 215 of file lspserver/include/lspserver/Protocol.h.

Member Data Documentation

◆ containerName

std::optional<std::string> lspserver::ReferenceLocation::containerName

clangd extension: contains the name of the function or class in which the reference occurs

Definition at line 218 of file lspserver/include/lspserver/Protocol.h.

Referenced by lspserver::toJSON().


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