LLVM 22.0.0git
|
#include "llvm/Support/LSP/Protocol.h"
Public Member Functions | |
Hover (Range range) | |
Construct a default hover with the given range that uses Markdown content. |
Public Attributes | |
MarkupContent | contents |
The hover's content. | |
std::optional< Range > | range |
An optional range is a range inside a text document that is used to visualize a hover, e.g. |
Definition at line 547 of file Protocol.h.
|
inline |
Construct a default hover with the given range that uses Markdown content.
Definition at line 549 of file Protocol.h.
References contents, llvm::lsp::Markdown, and range.
MarkupContent llvm::lsp::Hover::contents |
The hover's content.
Definition at line 552 of file Protocol.h.
Referenced by Hover(), and llvm::lsp::toJSON().
std::optional<Range> llvm::lsp::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 556 of file Protocol.h.
Referenced by Hover(), and llvm::lsp::toJSON().