clang-tools  15.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>

Collaboration diagram for clang::clangd::InlayHintsParams:
Collaboration graph
[legend]

Public Attributes

TextDocumentIdentifier textDocument
 The text document. More...
 
llvm::Optional< Rangerange
 The visible document range for which inlay hints should be computed. More...
 

Detailed Description

A parameter literal used in inlay hint requests.

Definition at line 1526 of file Protocol.h.

Member Data Documentation

◆ range

llvm::Optional<Range> clang::clangd::InlayHintsParams::range

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

None is a clangd extension, which hints for computing hints on the whole file.

Definition at line 1534 of file Protocol.h.

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

◆ textDocument

TextDocumentIdentifier clang::clangd::InlayHintsParams::textDocument

The text document.

Definition at line 1528 of file Protocol.h.

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


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