clang-tools 22.0.0git
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 1653 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 1661 of file Protocol.h.

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

◆ textDocument

TextDocumentIdentifier clang::clangd::InlayHintsParams::textDocument

The text document.

Definition at line 1655 of file Protocol.h.

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


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