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

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

#include <Protocol.h>

Public Attributes

TextDocumentIdentifier textDocument
 The text document.
 
std::optional< Rangerange
 The visible document range for which inlay hints should be computed.
 

Detailed Description

A parameter literal used in inlay hint requests.

Definition at line 1639 of file Protocol.h.

Member Data Documentation

◆ range

std::optional<Range> clang::clangd::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 1647 of file Protocol.h.

Referenced by clang::clangd::fromJSON().

◆ textDocument

TextDocumentIdentifier clang::clangd::InlayHintsParams::textDocument

The text document.

Definition at line 1641 of file Protocol.h.

Referenced by clang::clangd::fromJSON().


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