MLIR
20.0.0git
|
#include "mlir/Tools/lsp-server-support/Protocol.h"
Public Member Functions | |
Hover (Range range) | |
Construct a default hover with the given range that uses Markdown content. More... | |
Public Attributes | |
MarkupContent | contents |
The hover's content. More... | |
std::optional< Range > | range |
An optional range is a range inside a text document that is used to visualize a hover, e.g. More... | |
Definition at line 537 of file Protocol.h.
|
inline |
Construct a default hover with the given range that uses Markdown content.
Definition at line 539 of file Protocol.h.
References mlir::lsp::Markdown.
MarkupContent mlir::lsp::Hover::contents |
The hover's content.
Definition at line 542 of file Protocol.h.
Referenced by mlir::lsp::SourceMgrInclude::buildHover(), and mlir::lsp::toJSON().
std::optional<Range> mlir::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 546 of file Protocol.h.
Referenced by mlir::lsp::toJSON().