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

A parameter literal used in inlay hint requests. More...

#include <Protocol.h>

Collaboration diagram for lspserver::InlayHintsParams:
[legend]

Public Attributes

TextDocumentIdentifier textDocument
 The text document.
 
std::optional< Rangerange
 

Detailed Description

A parameter literal used in inlay hint requests.

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

Member Data Documentation

◆ range

std::optional<Range> lspserver::InlayHintsParams::range

The visible document range for which inlay hints should be computed.

std::nullopt is a clangd extension, which hints for computing hints on the whole file.

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

Referenced by lspserver::fromJSON().

◆ textDocument

TextDocumentIdentifier lspserver::InlayHintsParams::textDocument

The text document.

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

Referenced by lspserver::fromJSON().


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