class LSP::HoverRequest

Overview

The hover request is sent from the client to the server to request hover information at a given text document position.

Included Modules

Defined in:

requests/language_features/hover.cr

Constructors

Instance Method Summary

Instance methods inherited from class LSP::RequestMessage(LSP::Hover?)

id : RequestId id, id=(id : RequestId) id=, method : String method, method=(method : String) method=, on_response(raw : JSON::Any?, e : ResponseError?)
on_response(&block : Proc(Result??, ResponseError?, Nil))
on_response
, on_response? : Proc(Result??, ResponseError?, Nil)? on_response?

Constructor methods inherited from class LSP::RequestMessage(LSP::Hover?)

new(pull : JSON::PullParser)
new(**args)
new

Constructor Detail

def self.new(pull : JSON::PullParser) #

The hover request is sent from the client to the server to request hover information at a given text document position.


def self.new(**args) #

Instance Method Detail

def params : HoverParams #

def params=(params : HoverParams) #