struct LSP::Protocol::ResponseMessage
- LSP::Protocol::ResponseMessage
- Struct
- Value
- Object
Defined in:
lsp/protocol/response_message.crConstructors
- .new(id : Int32 | String | Nil, result : Array(LSP::Protocol::CompletionItem) | Array(LSP::Protocol::Location) | Array(LSP::Protocol::SymbolInformation) | Array(LSP::Protocol::TextEdit) | LSP::Protocol::CompletionItem | LSP::Protocol::Hover | LSP::Protocol::Location | Nil)
- .new(__temp_290 : JSON::PullParser)
- .new(ex : Exception)
- .new(result : Array(LSP::Protocol::CompletionItem) | Array(LSP::Protocol::Location) | Array(LSP::Protocol::SymbolInformation) | Array(LSP::Protocol::TextEdit) | LSP::Protocol::CompletionItem | LSP::Protocol::Hover | LSP::Protocol::Location | Nil)
Instance Method Summary
- #error : Union(ResponseError, Nil)
- #error=(_error : Union(ResponseError, Nil))
- #id : Int32 | String | Nil
- #id=(_id : Int32 | String | Nil)
- #jsonrpc : String
- #jsonrpc=(_jsonrpc : String)
- #result : Union(ResponseTypes, Nil)
- #result=(_result : Union(ResponseTypes, Nil))
- #to_json(json : JSON::Builder)
Constructor Detail
def self.new(id : Int32 | String | Nil, result : Array(LSP::Protocol::CompletionItem) | Array(LSP::Protocol::Location) | Array(LSP::Protocol::SymbolInformation) | Array(LSP::Protocol::TextEdit) | LSP::Protocol::CompletionItem | LSP::Protocol::Hover | LSP::Protocol::Location | Nil)
#
def self.new(result : Array(LSP::Protocol::CompletionItem) | Array(LSP::Protocol::Location) | Array(LSP::Protocol::SymbolInformation) | Array(LSP::Protocol::TextEdit) | LSP::Protocol::CompletionItem | LSP::Protocol::Hover | LSP::Protocol::Location | Nil)
#