massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-json / node_modules / vscode-languageserver-protocol / lib / common / protocol.moniker.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.MonikerRequest = exports.MonikerKind = exports.UniquenessLevel = void 0;
8 const messages_1 = require("./messages");
9 /**
10  * Moniker uniqueness level to define scope of the moniker.
11  *
12  * @since 3.16.0
13  */
14 var UniquenessLevel;
15 (function (UniquenessLevel) {
16     /**
17      * The moniker is only unique inside a document
18      */
19     UniquenessLevel["document"] = "document";
20     /**
21      * The moniker is unique inside a project for which a dump got created
22      */
23     UniquenessLevel["project"] = "project";
24     /**
25      * The moniker is unique inside the group to which a project belongs
26      */
27     UniquenessLevel["group"] = "group";
28     /**
29      * The moniker is unique inside the moniker scheme.
30      */
31     UniquenessLevel["scheme"] = "scheme";
32     /**
33      * The moniker is globally unique
34      */
35     UniquenessLevel["global"] = "global";
36 })(UniquenessLevel = exports.UniquenessLevel || (exports.UniquenessLevel = {}));
37 /**
38  * The moniker kind.
39  *
40  * @since 3.16.0
41  */
42 var MonikerKind;
43 (function (MonikerKind) {
44     /**
45      * The moniker represent a symbol that is imported into a project
46      */
47     MonikerKind["import"] = "import";
48     /**
49      * The moniker represents a symbol that is exported from a project
50      */
51     MonikerKind["export"] = "export";
52     /**
53      * The moniker represents a symbol that is local to a project (e.g. a local
54      * variable of a function, a class not visible outside the project, ...)
55      */
56     MonikerKind["local"] = "local";
57 })(MonikerKind = exports.MonikerKind || (exports.MonikerKind = {}));
58 /**
59  * A request to get the moniker of a symbol at a given text document position.
60  * The request parameter is of type [TextDocumentPositionParams](#TextDocumentPositionParams).
61  * The response is of type [Moniker[]](#Moniker[]) or `null`.
62  */
63 var MonikerRequest;
64 (function (MonikerRequest) {
65     MonikerRequest.method = 'textDocument/moniker';
66     MonikerRequest.type = new messages_1.ProtocolRequestType(MonikerRequest.method);
67 })(MonikerRequest = exports.MonikerRequest || (exports.MonikerRequest = {}));
68 //# sourceMappingURL=protocol.moniker.js.map