Class: LSP::TextDocumentRegistrationOptions
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface TextDocumentRegistrationOptions
/**
* A document selector to identify the scope of the registration. If set to null
* the document selector provided on the client side will be used.
*/
documentSelector: DocumentSelector | null;
Instance Attribute Summary collapse
-
#documentSelector ⇒ Object
type: DocumentSelector | null.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#documentSelector ⇒ Object
type: DocumentSelector | null
185 186 187 |
# File 'lib/lsp/lsp_protocol.rb', line 185 def documentSelector @documentSelector end |
Instance Method Details
#from_h!(value) ⇒ Object
187 188 189 190 191 |
# File 'lib/lsp/lsp_protocol.rb', line 187 def from_h!(value) value = {} if value.nil? self.documentSelector = value['documentSelector'] # Unknown type self end |