ccls/src/method.cc

17 lines
565 B
C++
Raw Normal View History

2018-03-22 05:01:21 +00:00
#include "method.h"
2017-03-25 23:58:11 +00:00
2018-03-23 03:52:06 +00:00
MethodType kMethodType_Unknown = "$unknown";
MethodType kMethodType_Exit = "exit";
MethodType kMethodType_TextDocumentPublishDiagnostics = "textDocument/publishDiagnostics";
2018-03-31 03:16:33 +00:00
MethodType kMethodType_CclsPublishInactiveRegions = "$ccls/publishInactiveRegions";
MethodType kMethodType_CclsPublishSemanticHighlighting = "$ccls/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();
}