Class: LSP::TextDocumentChangeRegistrationOptions
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface TextDocumentChangeRegistrationOptions extends TextDocumentRegistrationOptions
/**
* How documents are synced to the server.
*/
syncKind: TextDocumentSyncKind;
Instance Attribute Summary collapse
-
#documentSelector ⇒ Object
type: TextDocumentSyncKind # type: DocumentSelector | null.
-
#syncKind ⇒ Object
type: TextDocumentSyncKind # 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: TextDocumentSyncKind # type: DocumentSelector | null
597 598 599 |
# File 'lib/lsp/lsp_protocol.rb', line 597 def documentSelector @documentSelector end |
#syncKind ⇒ Object
type: TextDocumentSyncKind # type: DocumentSelector | null
597 598 599 |
# File 'lib/lsp/lsp_protocol.rb', line 597 def syncKind @syncKind end |
Instance Method Details
#from_h!(value) ⇒ Object
599 600 601 602 603 604 |
# File 'lib/lsp/lsp_protocol.rb', line 599 def from_h!(value) value = {} if value.nil? self.syncKind = value['syncKind'] # Unknown type self.documentSelector = value['documentSelector'] # Unknown type self end |