Class: LSP::SemanticTokensServerCapabilities
- Defined in:
- lib/lsp/lsp_protocol_sematictokens.proposed.rb
Overview
export interface SemanticTokensServerCapabilities
semanticTokensProvider: SemanticTokensOptions | SemanticTokensRegistrationOptions;
Instance Attribute Summary collapse
-
#semanticTokensProvider ⇒ Object
type: SemanticTokensOptions | SemanticTokensRegistrationOptions.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#semanticTokensProvider ⇒ Object
type: SemanticTokensOptions | SemanticTokensRegistrationOptions
271 272 273 |
# File 'lib/lsp/lsp_protocol_sematictokens.proposed.rb', line 271 def semanticTokensProvider @semanticTokensProvider end |
Instance Method Details
#from_h!(value) ⇒ Object
273 274 275 276 277 |
# File 'lib/lsp/lsp_protocol_sematictokens.proposed.rb', line 273 def from_h!(value) value = {} if value.nil? self.semanticTokensProvider = value['semanticTokensProvider'] # Unknown type self end |