2018-03-22 05:01:21 +00:00
|
|
|
#include "method.h"
|
2017-03-25 23:58:11 +00:00
|
|
|
|
2018-03-22 04:05:25 +00:00
|
|
|
const char* kMethodType_Unknown = "$unknown";
|
|
|
|
const char* kMethodType_Exit = "exit";
|
|
|
|
const char* kMethodType_TextDocumentPublishDiagnostics = "textDocument/publishDiagnostics";
|
|
|
|
const char* kMethodType_CqueryPublishInactiveRegions = "$cquery/publishInactiveRegions";
|
|
|
|
const char* kMethodType_CqueryPublishSemanticHighlighting = "$cquery/publishSemanticHighlighting";
|
2017-06-09 06:20:29 +00:00
|
|
|
|
2018-03-22 05:01:21 +00:00
|
|
|
InMessage::~InMessage() = default;
|
2018-01-19 18:00:06 +00:00
|
|
|
|
2018-03-22 05:01:21 +00:00
|
|
|
lsRequestId RequestInMessage::GetRequestId() const {
|
|
|
|
return id;
|
2018-01-19 18:00:06 +00:00
|
|
|
}
|
2018-03-22 05:01:21 +00:00
|
|
|
|
|
|
|
lsRequestId NotificationInMessage::GetRequestId() const {
|
|
|
|
return std::monostate();
|
|
|
|
}
|