class LSP::DefinitionRequest
- LSP::DefinitionRequest
- LSP::RequestMessage(Array(LSP::Location) | Array(LSP::LocationLink) | LSP::Location | Nil)
- Reference
- Object
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/definition.crConstructors
-
.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.
- .new(**args)
Instance Method Summary
Instance methods inherited from class LSP::RequestMessage(Array(LSP::Location) | Array(LSP::LocationLink) | LSP::Location | Nil)
id : RequestId
id,
id=(id : RequestId)
id=,
method : String
method,
method=(method : String)
method=,
on_response(raw : JSON::Any | Nil, e : ResponseError | Nil)on_response(&block : Proc(Result(LSP::Location) | Result(LSP::LocationLink) | Result | Result | Nil, ResponseError | Nil, Nil)) on_response, on_response? : Proc(Result(LSP::Location) | Result(LSP::LocationLink) | Result | Result | Nil, ResponseError | Nil, Nil) | Nil on_response?
Constructor methods inherited from class LSP::RequestMessage(Array(LSP::Location) | Array(LSP::LocationLink) | LSP::Location | Nil)
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.