Class: LSP::DocumentLinkOptions
- Defined in:
- lib/lsp/lsp_protocol.rb
Overview
export interface DocumentLinkOptions extends WorkDoneProgressOptions
/**
* Document links have a resolve provider as well.
*/
resolveProvider?: boolean;
Instance Attribute Summary collapse
-
#resolveProvider ⇒ Object
type: boolean # type: boolean.
-
#workDoneProgress ⇒ Object
type: boolean # type: boolean.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ DocumentLinkOptions
constructor
A new instance of DocumentLinkOptions.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ DocumentLinkOptions
Returns a new instance of DocumentLinkOptions.
2168 2169 2170 2171 |
# File 'lib/lsp/lsp_protocol.rb', line 2168 def initialize(initial_hash = nil) super @optional_method_names = i[resolveProvider workDoneProgress] end |
Instance Attribute Details
#resolveProvider ⇒ Object
type: boolean # type: boolean
2166 2167 2168 |
# File 'lib/lsp/lsp_protocol.rb', line 2166 def resolveProvider @resolveProvider end |
#workDoneProgress ⇒ Object
type: boolean # type: boolean
2166 2167 2168 |
# File 'lib/lsp/lsp_protocol.rb', line 2166 def workDoneProgress @workDoneProgress end |
Instance Method Details
#from_h!(value) ⇒ Object
2173 2174 2175 2176 2177 2178 |
# File 'lib/lsp/lsp_protocol.rb', line 2173 def from_h!(value) value = {} if value.nil? self.resolveProvider = value['resolveProvider'] # Unknown type self.workDoneProgress = value['workDoneProgress'] # Unknown type self end |