Method: LanguageServer::Protocol::Interface::ImplementationParams#initialize
- Defined in:
- lib/language_server/protocol/interface/implementation_params.rb
#initialize(text_document:, position:, work_done_token: nil, partial_result_token: nil) ⇒ ImplementationParams
Returns a new instance of ImplementationParams.
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/language_server/protocol/interface/implementation_params.rb', line 5 def initialize(text_document:, position:, work_done_token: nil, partial_result_token: nil) @attributes = {} @attributes[:textDocument] = text_document @attributes[:position] = position @attributes[:workDoneToken] = work_done_token if work_done_token @attributes[:partialResultToken] = partial_result_token if partial_result_token @attributes.freeze end |