clang-tools 22.0.0git
clang::clangd::Hover Struct Reference

#include <Protocol.h>

Public Attributes

MarkupContent contents
 The hover's content.
std::optional< Rangerange
 An optional range is a range inside a text document that is used to visualize a hover, e.g.

Detailed Description

Definition at line 1260 of file Protocol.h.

Member Data Documentation

◆ contents

MarkupContent clang::clangd::Hover::contents

The hover's content.

Definition at line 1262 of file Protocol.h.

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

◆ range

std::optional<Range> clang::clangd::Hover::range

An optional range is a range inside a text document that is used to visualize a hover, e.g.

by changing the background color.

Definition at line 1266 of file Protocol.h.

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


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