class LSProtocol::ExecuteCommandParams
- LSProtocol::ExecuteCommandParams
- Reference
- Object
Overview
The parameters of a ExecuteCommandRequest
.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(command : String | Nil, arguments : Array(LSPAny) | Nil = nil, work_done_token : ProgressToken | Nil = nil)
Instance Method Summary
-
#arguments : Array(LSPAny) | Nil
Arguments that the command should be invoked with.
-
#command : String
The identifier of the actual command handler.
-
#work_done_token : ProgressToken | Nil
An optional token that a server can use to report work done progress.
Constructor Detail
def self.new(command : String | Nil, arguments : Array(LSPAny) | Nil = nil, work_done_token : ProgressToken | Nil = nil)
#
Instance Method Detail
Arguments that the command should be invoked with.
def work_done_token : ProgressToken | Nil
#
An optional token that a server can use to report work done progress.