struct LSP::Data::ServerCapabilities::StaticRegistrationOptions
- LSP::Data::ServerCapabilities::StaticRegistrationOptions
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
lsp/data/server_capabilities.crConstructors
- .new(pull : JSON::PullParser)
- .new(document_selector : Nil | Array(LSP::Data::DocumentFilter) = [] of DocumentFilter, id : Nil | String = nil)
Instance Method Summary
- #document_selector : Array(DocumentFilter) | Nil
- #document_selector=(document_selector : Array(DocumentFilter) | Nil)
-
#id : String | Nil
The id used to register the request.
-
#id=(id : String | Nil)
The id used to register the request.
Constructor Detail
def self.new(document_selector : Nil | Array(LSP::Data::DocumentFilter) = [] of DocumentFilter, id : Nil | String = nil)
#
Instance Method Detail
def id : String | Nil
#
The id used to register the request. The id can be used to deregister the request again. See also Registration#id.
def id=(id : String | Nil)
#
The id used to register the request. The id can be used to deregister the request again. See also Registration#id.