massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-json / node_modules / vscode-languageserver-protocol / lib / common / api.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 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;
11     o[k2] = m[k];
12 }));
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);
15 };
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; } });
24 var LSPErrorCodes;
25 (function (LSPErrorCodes) {
26     /**
27     * This is the start range of LSP reserved error codes.
28     * It doesn't denote a real error code.
29     *
30     * @since 3.16.0
31     */
32     LSPErrorCodes.lspReservedErrorRangeStart = -32899;
33     LSPErrorCodes.ContentModified = -32801;
34     LSPErrorCodes.RequestCancelled = -32800;
35     /**
36     * This is the end range of LSP reserved error codes.
37     * It doesn't denote a real error code.
38     *
39     * @since 3.16.0
40     */
41     LSPErrorCodes.lspReservedErrorRangeEnd = -32800;
42 })(LSPErrorCodes = exports.LSPErrorCodes || (exports.LSPErrorCodes = {}));
43 //# sourceMappingURL=api.js.map