Class: LSP::WorkDoneProgressCancelParams
- Defined in:
- lib/lsp/lsp_protocol_progress.rb
Overview
export interface WorkDoneProgressCancelParams
/**
* The token to be used to report progress.
*/
token: ProgressToken;
Instance Attribute Summary collapse
-
#token ⇒ Object
type: ProgressToken.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#token ⇒ Object
type: ProgressToken
190 191 192 |
# File 'lib/lsp/lsp_protocol_progress.rb', line 190 def token @token end |
Instance Method Details
#from_h!(value) ⇒ Object
192 193 194 195 196 |
# File 'lib/lsp/lsp_protocol_progress.rb', line 192 def from_h!(value) value = {} if value.nil? self.token = value['token'] # Unknown type self end |