struct

LSP::Registration

Inherits JSON::Serializable < Struct < Value < Object

General parameters to register for a capability.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

id

The id used to register the request. The id can be used to deregister the request again.

Source
id=(id : String)

The id used to register the request. The id can be used to deregister the request again.

Source
method

The method / capability to register for.

Source
method=(method : String)

The method / capability to register for.

Source
register_options

Options necessary for the registration.

Source
register_options=(register_options : JSON::Any | Nil)

Options necessary for the registration.

Source