LSProtocol::Hover
Inherits JSON::Serializable / Reference / Object
The result of a hover request.
Constructors
new(pull : JSON::PullParser)
Sourcenew(contents : Array(MarkedString) | MarkedString | MarkupContent | Nil, range : Range | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
range
An optional range inside the text document that is used to visualize the hover, e.g. by changing the background color.