massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-json / node_modules / vscode-languageserver-protocol / lib / common / protocol.colorProvider.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.ColorPresentationRequest = exports.DocumentColorRequest = void 0;
8 const messages_1 = require("./messages");
9 /**
10  * A request to list all color symbols found in a given text document. The request's
11  * parameter is of type [DocumentColorParams](#DocumentColorParams) the
12  * response is of type [ColorInformation[]](#ColorInformation) or a Thenable
13  * that resolves to such.
14  */
15 var DocumentColorRequest;
16 (function (DocumentColorRequest) {
17     DocumentColorRequest.method = 'textDocument/documentColor';
18     DocumentColorRequest.type = new messages_1.ProtocolRequestType(DocumentColorRequest.method);
19 })(DocumentColorRequest = exports.DocumentColorRequest || (exports.DocumentColorRequest = {}));
20 /**
21  * A request to list all presentation for a color. The request's
22  * parameter is of type [ColorPresentationParams](#ColorPresentationParams) the
23  * response is of type [ColorInformation[]](#ColorInformation) or a Thenable
24  * that resolves to such.
25  */
26 var ColorPresentationRequest;
27 (function (ColorPresentationRequest) {
28     ColorPresentationRequest.type = new messages_1.ProtocolRequestType('textDocument/colorPresentation');
29 })(ColorPresentationRequest = exports.ColorPresentationRequest || (exports.ColorPresentationRequest = {}));
30 //# sourceMappingURL=protocol.colorProvider.js.map