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");
10 * Moniker uniqueness level to define scope of the moniker.
15 (function (UniquenessLevel) {
17 * The moniker is only unique inside a document
19 UniquenessLevel["document"] = "document";
21 * The moniker is unique inside a project for which a dump got created
23 UniquenessLevel["project"] = "project";
25 * The moniker is unique inside the group to which a project belongs
27 UniquenessLevel["group"] = "group";
29 * The moniker is unique inside the moniker scheme.
31 UniquenessLevel["scheme"] = "scheme";
33 * The moniker is globally unique
35 UniquenessLevel["global"] = "global";
36 })(UniquenessLevel = exports.UniquenessLevel || (exports.UniquenessLevel = {}));
43 (function (MonikerKind) {
45 * The moniker represent a symbol that is imported into a project
47 MonikerKind["import"] = "import";
49 * The moniker represents a symbol that is exported from a project
51 MonikerKind["export"] = "export";
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, ...)
56 MonikerKind["local"] = "local";
57 })(MonikerKind = exports.MonikerKind || (exports.MonikerKind = {}));
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`.
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