initial commit
This commit is contained in:
42
node_modules/vscode-languageserver-protocol/lib/common/messages.js
generated
vendored
Normal file
42
node_modules/vscode-languageserver-protocol/lib/common/messages.js
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
"use strict";
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ProtocolNotificationType = exports.ProtocolNotificationType0 = exports.ProtocolRequestType = exports.ProtocolRequestType0 = exports.RegistrationType = void 0;
|
||||
const vscode_jsonrpc_1 = require("vscode-jsonrpc");
|
||||
class RegistrationType {
|
||||
constructor(method) {
|
||||
this.method = method;
|
||||
}
|
||||
}
|
||||
exports.RegistrationType = RegistrationType;
|
||||
class ProtocolRequestType0 extends vscode_jsonrpc_1.RequestType0 {
|
||||
constructor(method) {
|
||||
super(method);
|
||||
}
|
||||
}
|
||||
exports.ProtocolRequestType0 = ProtocolRequestType0;
|
||||
class ProtocolRequestType extends vscode_jsonrpc_1.RequestType {
|
||||
constructor(method) {
|
||||
super(method, vscode_jsonrpc_1.ParameterStructures.byName);
|
||||
}
|
||||
}
|
||||
exports.ProtocolRequestType = ProtocolRequestType;
|
||||
class ProtocolNotificationType0 extends vscode_jsonrpc_1.NotificationType0 {
|
||||
constructor(method) {
|
||||
super(method);
|
||||
}
|
||||
}
|
||||
exports.ProtocolNotificationType0 = ProtocolNotificationType0;
|
||||
class ProtocolNotificationType extends vscode_jsonrpc_1.NotificationType {
|
||||
constructor(method) {
|
||||
super(method, vscode_jsonrpc_1.ParameterStructures.byName);
|
||||
}
|
||||
}
|
||||
exports.ProtocolNotificationType = ProtocolNotificationType;
|
||||
// let x: ProtocolNotificationType<number, { value: number}>;
|
||||
// let y: ProtocolNotificationType<string, { value: number}>;
|
||||
// x = y;
|
||||
//# sourceMappingURL=messages.js.map
|
||||
Reference in New Issue
Block a user