| 1 |
#pragma once |
| 2 |
|
| 3 |
#include "LibLsp/JsonRpc/NotificationInMessage.h" |
| 4 |
|
| 5 |
namespace TextDocumentDidClose |
| 6 |
{ |
| 7 |
|
| 8 |
struct Params |
| 9 |
{ |
| 10 |
lsTextDocumentIdentifier textDocument; |
| 11 |
void swap(Params& arg) noexcept |
| 12 |
{ |
| 13 |
textDocument.swap(arg.textDocument); |
| 14 |
} |
| 15 |
}; |
| 16 |
|
| 17 |
}; // namespace TextDocumentDidClose |
| 18 |
|
| 19 |
MAKE_REFLECT_STRUCT(TextDocumentDidClose::Params, textDocument); |
| 20 |
|
| 21 |
/** |
| 22 |
* The document close notification is sent from the client to the server |
| 23 |
* when the document got closed in the client. The document's truth now |
| 24 |
* exists where the document's uri points to (e.g. if the document's uri is |
| 25 |
* a file uri the truth now exists on disk). |
| 26 |
* |
| 27 |
* Registration Options: TextDocumentRegistrationOptions |
| 28 |
*/ |
| 29 |
DEFINE_NOTIFICATION_TYPE(Notify_TextDocumentDidClose, TextDocumentDidClose::Params, "textDocument/didClose"); |