struct LSP::Data::ServerCapabilities::StaticRegistrationOptions

Included Modules

Defined in:

lsp/data/server_capabilities.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(document_selector : Nil | Array(LSP::Data::DocumentFilter) = [] of DocumentFilter, id : Nil | String = nil) #

[View source]

Instance Method Detail

def document_selector : Array(DocumentFilter) | Nil #

[View source]
def document_selector=(document_selector : Array(DocumentFilter) | Nil) #

[View source]
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.


[View source]
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.


[View source]