massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-json / node_modules / vscode-languageserver-protocol / lib / common / messages.js
1 "use strict";
2 /* --------------------------------------------------------------------------------------------
3  * Copyright (c) Microsoft Corporation. All rights reserved.
4  * Licensed under the MIT License. See License.txt in the project root for license information.
5  * ------------------------------------------------------------------------------------------ */
6 Object.defineProperty(exports, "__esModule", { value: true });
7 exports.ProtocolNotificationType = exports.ProtocolNotificationType0 = exports.ProtocolRequestType = exports.ProtocolRequestType0 = exports.RegistrationType = void 0;
8 const vscode_jsonrpc_1 = require("vscode-jsonrpc");
9 class RegistrationType {
10     constructor(method) {
11         this.method = method;
12     }
13 }
14 exports.RegistrationType = RegistrationType;
15 class ProtocolRequestType0 extends vscode_jsonrpc_1.RequestType0 {
16     constructor(method) {
17         super(method);
18     }
19 }
20 exports.ProtocolRequestType0 = ProtocolRequestType0;
21 class ProtocolRequestType extends vscode_jsonrpc_1.RequestType {
22     constructor(method) {
23         super(method, vscode_jsonrpc_1.ParameterStructures.byName);
24     }
25 }
26 exports.ProtocolRequestType = ProtocolRequestType;
27 class ProtocolNotificationType0 extends vscode_jsonrpc_1.NotificationType0 {
28     constructor(method) {
29         super(method);
30     }
31 }
32 exports.ProtocolNotificationType0 = ProtocolNotificationType0;
33 class ProtocolNotificationType extends vscode_jsonrpc_1.NotificationType {
34     constructor(method) {
35         super(method, vscode_jsonrpc_1.ParameterStructures.byName);
36     }
37 }
38 exports.ProtocolNotificationType = ProtocolNotificationType;
39 // let x: ProtocolNotificationType<number, { value: number}>;
40 // let y: ProtocolNotificationType<string, { value: number}>;
41 // x = y;
42 //# sourceMappingURL=messages.js.map