Class: LSP::RenameRegistrationOptions
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface RenameRegistrationOptions extends TextDocumentRegistrationOptions, RenameOptions { }
Instance Attribute Summary collapse
-
#documentSelector ⇒ Object
type: DocumentSelector | null # type: boolean # type: boolean.
-
#prepareProvider ⇒ Object
type: DocumentSelector | null # type: boolean # type: boolean.
-
#workDoneProgress ⇒ Object
type: DocumentSelector | null # type: boolean # type: boolean.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ RenameRegistrationOptions
constructor
A new instance of RenameRegistrationOptions.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ RenameRegistrationOptions
2560 2561 2562 2563 |
# File 'lib/lsp/lsp_protocol.rb', line 2560 def initialize(initial_hash = nil) super @optional_method_names = i[prepareProvider workDoneProgress] end |
Instance Attribute Details
#documentSelector ⇒ Object
type: DocumentSelector | null # type: boolean # type: boolean
2558 2559 2560 |
# File 'lib/lsp/lsp_protocol.rb', line 2558 def documentSelector @documentSelector end |
#prepareProvider ⇒ Object
type: DocumentSelector | null # type: boolean # type: boolean
2558 2559 2560 |
# File 'lib/lsp/lsp_protocol.rb', line 2558 def prepareProvider @prepareProvider end |
#workDoneProgress ⇒ Object
type: DocumentSelector | null # type: boolean # type: boolean
2558 2559 2560 |
# File 'lib/lsp/lsp_protocol.rb', line 2558 def workDoneProgress @workDoneProgress end |
Instance Method Details
#from_h!(value) ⇒ Object
2565 2566 2567 2568 2569 2570 2571 |
# File 'lib/lsp/lsp_protocol.rb', line 2565 def from_h!(value) value = {} if value.nil? self.documentSelector = value['documentSelector'] # Unknown type self.prepareProvider = value['prepareProvider'] # Unknown type self.workDoneProgress = value['workDoneProgress'] # Unknown type self end |