class

LSProtocol::DefinitionRequest

Inherits JSON::Serializable / Reference / Object

A request to resolve the definition location of a symbol at a given text document position. The request's parameter is of type TextDocumentPosition the response is of either type Definition or a typed array of DefinitionLink or a Thenable that resolves to such.

Constructors

new(id : Int32 | String, params : DefinitionParams)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

id

The request id.

Source
jsonrpc
Source
method

The method to be invoked.

Source
params
Source