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 var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7 if (k2 === undefined) k2 = k;
8 Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9 }) : (function(o, m, k, k2) {
10 if (k2 === undefined) k2 = k;
13 var __exportStar = (this && this.__exportStar) || function(m, exports) {
14 for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16 Object.defineProperty(exports, "__esModule", { value: true });
17 exports.LSPErrorCodes = exports.createProtocolConnection = void 0;
18 __exportStar(require("vscode-jsonrpc"), exports);
19 __exportStar(require("vscode-languageserver-types"), exports);
20 __exportStar(require("./messages"), exports);
21 __exportStar(require("./protocol"), exports);
22 var connection_1 = require("./connection");
23 Object.defineProperty(exports, "createProtocolConnection", { enumerable: true, get: function () { return connection_1.createProtocolConnection; } });
25 (function (LSPErrorCodes) {
27 * This is the start range of LSP reserved error codes.
28 * It doesn't denote a real error code.
32 LSPErrorCodes.lspReservedErrorRangeStart = -32899;
33 LSPErrorCodes.ContentModified = -32801;
34 LSPErrorCodes.RequestCancelled = -32800;
36 * This is the end range of LSP reserved error codes.
37 * It doesn't denote a real error code.
41 LSPErrorCodes.lspReservedErrorRangeEnd = -32800;
42 })(LSPErrorCodes = exports.LSPErrorCodes || (exports.LSPErrorCodes = {}));
43 //# sourceMappingURL=api.js.map