Class: LSP::WorkDoneProgressCreateParams
- Defined in:
- lib/lsp/lsp_protocol_progress.rb
Overview
export interface WorkDoneProgressCreateParams
/**
* 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
174 175 176 |
# File 'lib/lsp/lsp_protocol_progress.rb', line 174 def token @token end |
Instance Method Details
#from_h!(value) ⇒ Object
176 177 178 179 180 |
# File 'lib/lsp/lsp_protocol_progress.rb', line 176 def from_h!(value) value = {} if value.nil? self.token = value['token'] # Unknown type self end |