@algorandfoundation/puya-ts 1.2.0-beta.40 → 1.2.0-beta.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{analyser-service-D0IsFlp4.js → analyser-service-DRDPe9MV.js} +367 -367
- package/{analyser-service-D0IsFlp4.js.map → analyser-service-DRDPe9MV.js.map} +1 -1
- package/analyserService.mjs +3 -3
- package/{arc4-clientgen-BMCeFyNd.js → arc4-clientgen-sFEhO2LJ.js} +2 -2
- package/{arc4-clientgen-BMCeFyNd.js.map → arc4-clientgen-sFEhO2LJ.js.map} +1 -1
- package/bin/puyats-clientgen.mjs +5 -5
- package/bin/puyats-ls.mjs +6 -6
- package/bin/run-cli.mjs +8 -8
- package/{check-node-version-BP_a9Mv8.js → check-node-version-C1jtIFzd.js} +3 -3
- package/{check-node-version-BP_a9Mv8.js.map → check-node-version-C1jtIFzd.js.map} +1 -1
- package/cli.mjs +8 -8
- package/{compile-BaYaEC1Y.js → compile-D3rBypqy.js} +6 -6
- package/{compile-BaYaEC1Y.js.map → compile-D3rBypqy.js.map} +1 -1
- package/{contract-class-model-pgJctz5F.js → contract-class-model-bHAozdbL.js} +2 -2
- package/{contract-class-model-pgJctz5F.js.map → contract-class-model-bHAozdbL.js.map} +1 -1
- package/index.mjs +8 -8
- package/{options-8bOJR8qx.js → options-lB3ucfHV.js} +113 -113
- package/{options-8bOJR8qx.js.map → options-lB3ucfHV.js.map} +1 -1
- package/package.json +2 -2
- package/{resolve-puya-path-EZBzWIlE.js → resolve-puya-path-CxwX2Y7m.js} +4 -4
- package/{resolve-puya-path-EZBzWIlE.js.map → resolve-puya-path-CxwX2Y7m.js.map} +1 -1
- package/{semver-DpFo0aCr.js → semver-DSCCFKAJ.js} +3 -3
- package/{semver-DpFo0aCr.js.map → semver-DSCCFKAJ.js.map} +1 -1
- package/{util-JPoBh0Op.js → util-Dz5YVLPa.js} +2 -2
- package/{util-JPoBh0Op.js.map → util-Dz5YVLPa.js.map} +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import require$$3__default, { randomUUID } from 'crypto';
|
|
2
2
|
import { parentPort, workerData, Worker } from 'node:worker_threads';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { f as AbsolutePath, b2 as LoggingContext, aa as Constants, aI as InternalError, b0 as LogLevel, ds as logger, de as isIn, b1 as LogSource } from './contract-class-model-bHAozdbL.js';
|
|
4
|
+
import { D as DefaultMap, a2 as registerPTypes, a6 as typeRegistry, C as CompileOptions, R as createTsProgram, a3 as relinquishThread, N as buildAwst, a8 as validateAwst, X as deserializeAndLog, P as PuyaService, a1 as processInputPaths } from './options-lB3ucfHV.js';
|
|
5
5
|
import pathe__default from 'pathe';
|
|
6
6
|
import ts from 'typescript';
|
|
7
7
|
import require$$0$2 from 'node:util';
|
|
@@ -1912,13 +1912,13 @@ var hasRequiredConnection$1;
|
|
|
1912
1912
|
function requireConnection$1 () {
|
|
1913
1913
|
if (hasRequiredConnection$1) return connection$1;
|
|
1914
1914
|
hasRequiredConnection$1 = 1;
|
|
1915
|
-
(function (exports
|
|
1915
|
+
(function (exports) {
|
|
1916
1916
|
/* --------------------------------------------------------------------------------------------
|
|
1917
1917
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1918
1918
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1919
1919
|
* ------------------------------------------------------------------------------------------ */
|
|
1920
|
-
Object.defineProperty(exports
|
|
1921
|
-
exports
|
|
1920
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1921
|
+
exports.createMessageConnection = exports.ConnectionOptions = exports.MessageStrategy = exports.CancellationStrategy = exports.CancellationSenderStrategy = exports.CancellationReceiverStrategy = exports.RequestCancellationReceiverStrategy = exports.IdCancellationReceiverStrategy = exports.ConnectionStrategy = exports.ConnectionError = exports.ConnectionErrors = exports.LogTraceNotification = exports.SetTraceNotification = exports.TraceFormat = exports.TraceValues = exports.Trace = exports.NullLogger = exports.ProgressType = exports.ProgressToken = void 0;
|
|
1922
1922
|
const ral_1 = requireRal();
|
|
1923
1923
|
const Is = requireIs$1();
|
|
1924
1924
|
const messages_1 = requireMessages$1();
|
|
@@ -1935,7 +1935,7 @@ function requireConnection$1 () {
|
|
|
1935
1935
|
return typeof value === 'string' || typeof value === 'number';
|
|
1936
1936
|
}
|
|
1937
1937
|
ProgressToken.is = is;
|
|
1938
|
-
})(ProgressToken || (exports
|
|
1938
|
+
})(ProgressToken || (exports.ProgressToken = ProgressToken = {}));
|
|
1939
1939
|
var ProgressNotification;
|
|
1940
1940
|
(function (ProgressNotification) {
|
|
1941
1941
|
ProgressNotification.type = new messages_1.NotificationType('$/progress');
|
|
@@ -1944,7 +1944,7 @@ function requireConnection$1 () {
|
|
|
1944
1944
|
constructor() {
|
|
1945
1945
|
}
|
|
1946
1946
|
}
|
|
1947
|
-
exports
|
|
1947
|
+
exports.ProgressType = ProgressType;
|
|
1948
1948
|
var StarRequestHandler;
|
|
1949
1949
|
(function (StarRequestHandler) {
|
|
1950
1950
|
function is(value) {
|
|
@@ -1952,7 +1952,7 @@ function requireConnection$1 () {
|
|
|
1952
1952
|
}
|
|
1953
1953
|
StarRequestHandler.is = is;
|
|
1954
1954
|
})(StarRequestHandler || (StarRequestHandler = {}));
|
|
1955
|
-
exports
|
|
1955
|
+
exports.NullLogger = Object.freeze({
|
|
1956
1956
|
error: () => { },
|
|
1957
1957
|
warn: () => { },
|
|
1958
1958
|
info: () => { },
|
|
@@ -1964,7 +1964,7 @@ function requireConnection$1 () {
|
|
|
1964
1964
|
Trace[Trace["Messages"] = 1] = "Messages";
|
|
1965
1965
|
Trace[Trace["Compact"] = 2] = "Compact";
|
|
1966
1966
|
Trace[Trace["Verbose"] = 3] = "Verbose";
|
|
1967
|
-
})(Trace || (exports
|
|
1967
|
+
})(Trace || (exports.Trace = Trace = {}));
|
|
1968
1968
|
var TraceValues;
|
|
1969
1969
|
(function (TraceValues) {
|
|
1970
1970
|
/**
|
|
@@ -1983,7 +1983,7 @@ function requireConnection$1 () {
|
|
|
1983
1983
|
* Verbose message tracing.
|
|
1984
1984
|
*/
|
|
1985
1985
|
TraceValues.Verbose = 'verbose';
|
|
1986
|
-
})(TraceValues || (exports
|
|
1986
|
+
})(TraceValues || (exports.TraceValues = TraceValues = {}));
|
|
1987
1987
|
(function (Trace) {
|
|
1988
1988
|
function fromString(value) {
|
|
1989
1989
|
if (!Is.string(value)) {
|
|
@@ -2019,12 +2019,12 @@ function requireConnection$1 () {
|
|
|
2019
2019
|
}
|
|
2020
2020
|
}
|
|
2021
2021
|
Trace.toString = toString;
|
|
2022
|
-
})(Trace || (exports
|
|
2022
|
+
})(Trace || (exports.Trace = Trace = {}));
|
|
2023
2023
|
var TraceFormat;
|
|
2024
2024
|
(function (TraceFormat) {
|
|
2025
2025
|
TraceFormat["Text"] = "text";
|
|
2026
2026
|
TraceFormat["JSON"] = "json";
|
|
2027
|
-
})(TraceFormat || (exports
|
|
2027
|
+
})(TraceFormat || (exports.TraceFormat = TraceFormat = {}));
|
|
2028
2028
|
(function (TraceFormat) {
|
|
2029
2029
|
function fromString(value) {
|
|
2030
2030
|
if (!Is.string(value)) {
|
|
@@ -2039,15 +2039,15 @@ function requireConnection$1 () {
|
|
|
2039
2039
|
}
|
|
2040
2040
|
}
|
|
2041
2041
|
TraceFormat.fromString = fromString;
|
|
2042
|
-
})(TraceFormat || (exports
|
|
2042
|
+
})(TraceFormat || (exports.TraceFormat = TraceFormat = {}));
|
|
2043
2043
|
var SetTraceNotification;
|
|
2044
2044
|
(function (SetTraceNotification) {
|
|
2045
2045
|
SetTraceNotification.type = new messages_1.NotificationType('$/setTrace');
|
|
2046
|
-
})(SetTraceNotification || (exports
|
|
2046
|
+
})(SetTraceNotification || (exports.SetTraceNotification = SetTraceNotification = {}));
|
|
2047
2047
|
var LogTraceNotification;
|
|
2048
2048
|
(function (LogTraceNotification) {
|
|
2049
2049
|
LogTraceNotification.type = new messages_1.NotificationType('$/logTrace');
|
|
2050
|
-
})(LogTraceNotification || (exports
|
|
2050
|
+
})(LogTraceNotification || (exports.LogTraceNotification = LogTraceNotification = {}));
|
|
2051
2051
|
var ConnectionErrors;
|
|
2052
2052
|
(function (ConnectionErrors) {
|
|
2053
2053
|
/**
|
|
@@ -2062,7 +2062,7 @@ function requireConnection$1 () {
|
|
|
2062
2062
|
* The connection is already in listening mode.
|
|
2063
2063
|
*/
|
|
2064
2064
|
ConnectionErrors[ConnectionErrors["AlreadyListening"] = 3] = "AlreadyListening";
|
|
2065
|
-
})(ConnectionErrors || (exports
|
|
2065
|
+
})(ConnectionErrors || (exports.ConnectionErrors = ConnectionErrors = {}));
|
|
2066
2066
|
class ConnectionError extends Error {
|
|
2067
2067
|
constructor(code, message) {
|
|
2068
2068
|
super(message);
|
|
@@ -2070,7 +2070,7 @@ function requireConnection$1 () {
|
|
|
2070
2070
|
Object.setPrototypeOf(this, ConnectionError.prototype);
|
|
2071
2071
|
}
|
|
2072
2072
|
}
|
|
2073
|
-
exports
|
|
2073
|
+
exports.ConnectionError = ConnectionError;
|
|
2074
2074
|
var ConnectionStrategy;
|
|
2075
2075
|
(function (ConnectionStrategy) {
|
|
2076
2076
|
function is(value) {
|
|
@@ -2078,7 +2078,7 @@ function requireConnection$1 () {
|
|
|
2078
2078
|
return candidate && Is.func(candidate.cancelUndispatched);
|
|
2079
2079
|
}
|
|
2080
2080
|
ConnectionStrategy.is = is;
|
|
2081
|
-
})(ConnectionStrategy || (exports
|
|
2081
|
+
})(ConnectionStrategy || (exports.ConnectionStrategy = ConnectionStrategy = {}));
|
|
2082
2082
|
var IdCancellationReceiverStrategy;
|
|
2083
2083
|
(function (IdCancellationReceiverStrategy) {
|
|
2084
2084
|
function is(value) {
|
|
@@ -2086,7 +2086,7 @@ function requireConnection$1 () {
|
|
|
2086
2086
|
return candidate && (candidate.kind === undefined || candidate.kind === 'id') && Is.func(candidate.createCancellationTokenSource) && (candidate.dispose === undefined || Is.func(candidate.dispose));
|
|
2087
2087
|
}
|
|
2088
2088
|
IdCancellationReceiverStrategy.is = is;
|
|
2089
|
-
})(IdCancellationReceiverStrategy || (exports
|
|
2089
|
+
})(IdCancellationReceiverStrategy || (exports.IdCancellationReceiverStrategy = IdCancellationReceiverStrategy = {}));
|
|
2090
2090
|
var RequestCancellationReceiverStrategy;
|
|
2091
2091
|
(function (RequestCancellationReceiverStrategy) {
|
|
2092
2092
|
function is(value) {
|
|
@@ -2094,7 +2094,7 @@ function requireConnection$1 () {
|
|
|
2094
2094
|
return candidate && candidate.kind === 'request' && Is.func(candidate.createCancellationTokenSource) && (candidate.dispose === undefined || Is.func(candidate.dispose));
|
|
2095
2095
|
}
|
|
2096
2096
|
RequestCancellationReceiverStrategy.is = is;
|
|
2097
|
-
})(RequestCancellationReceiverStrategy || (exports
|
|
2097
|
+
})(RequestCancellationReceiverStrategy || (exports.RequestCancellationReceiverStrategy = RequestCancellationReceiverStrategy = {}));
|
|
2098
2098
|
var CancellationReceiverStrategy;
|
|
2099
2099
|
(function (CancellationReceiverStrategy) {
|
|
2100
2100
|
CancellationReceiverStrategy.Message = Object.freeze({
|
|
@@ -2106,7 +2106,7 @@ function requireConnection$1 () {
|
|
|
2106
2106
|
return IdCancellationReceiverStrategy.is(value) || RequestCancellationReceiverStrategy.is(value);
|
|
2107
2107
|
}
|
|
2108
2108
|
CancellationReceiverStrategy.is = is;
|
|
2109
|
-
})(CancellationReceiverStrategy || (exports
|
|
2109
|
+
})(CancellationReceiverStrategy || (exports.CancellationReceiverStrategy = CancellationReceiverStrategy = {}));
|
|
2110
2110
|
var CancellationSenderStrategy;
|
|
2111
2111
|
(function (CancellationSenderStrategy) {
|
|
2112
2112
|
CancellationSenderStrategy.Message = Object.freeze({
|
|
@@ -2120,7 +2120,7 @@ function requireConnection$1 () {
|
|
|
2120
2120
|
return candidate && Is.func(candidate.sendCancellation) && Is.func(candidate.cleanup);
|
|
2121
2121
|
}
|
|
2122
2122
|
CancellationSenderStrategy.is = is;
|
|
2123
|
-
})(CancellationSenderStrategy || (exports
|
|
2123
|
+
})(CancellationSenderStrategy || (exports.CancellationSenderStrategy = CancellationSenderStrategy = {}));
|
|
2124
2124
|
var CancellationStrategy;
|
|
2125
2125
|
(function (CancellationStrategy) {
|
|
2126
2126
|
CancellationStrategy.Message = Object.freeze({
|
|
@@ -2132,7 +2132,7 @@ function requireConnection$1 () {
|
|
|
2132
2132
|
return candidate && CancellationReceiverStrategy.is(candidate.receiver) && CancellationSenderStrategy.is(candidate.sender);
|
|
2133
2133
|
}
|
|
2134
2134
|
CancellationStrategy.is = is;
|
|
2135
|
-
})(CancellationStrategy || (exports
|
|
2135
|
+
})(CancellationStrategy || (exports.CancellationStrategy = CancellationStrategy = {}));
|
|
2136
2136
|
var MessageStrategy;
|
|
2137
2137
|
(function (MessageStrategy) {
|
|
2138
2138
|
function is(value) {
|
|
@@ -2140,7 +2140,7 @@ function requireConnection$1 () {
|
|
|
2140
2140
|
return candidate && Is.func(candidate.handleMessage);
|
|
2141
2141
|
}
|
|
2142
2142
|
MessageStrategy.is = is;
|
|
2143
|
-
})(MessageStrategy || (exports
|
|
2143
|
+
})(MessageStrategy || (exports.MessageStrategy = MessageStrategy = {}));
|
|
2144
2144
|
var ConnectionOptions;
|
|
2145
2145
|
(function (ConnectionOptions) {
|
|
2146
2146
|
function is(value) {
|
|
@@ -2148,7 +2148,7 @@ function requireConnection$1 () {
|
|
|
2148
2148
|
return candidate && (CancellationStrategy.is(candidate.cancellationStrategy) || ConnectionStrategy.is(candidate.connectionStrategy) || MessageStrategy.is(candidate.messageStrategy));
|
|
2149
2149
|
}
|
|
2150
2150
|
ConnectionOptions.is = is;
|
|
2151
|
-
})(ConnectionOptions || (exports
|
|
2151
|
+
})(ConnectionOptions || (exports.ConnectionOptions = ConnectionOptions = {}));
|
|
2152
2152
|
var ConnectionState;
|
|
2153
2153
|
(function (ConnectionState) {
|
|
2154
2154
|
ConnectionState[ConnectionState["New"] = 1] = "New";
|
|
@@ -2157,7 +2157,7 @@ function requireConnection$1 () {
|
|
|
2157
2157
|
ConnectionState[ConnectionState["Disposed"] = 4] = "Disposed";
|
|
2158
2158
|
})(ConnectionState || (ConnectionState = {}));
|
|
2159
2159
|
function createMessageConnection(messageReader, messageWriter, _logger, options) {
|
|
2160
|
-
const logger = _logger !== undefined ? _logger : exports
|
|
2160
|
+
const logger = _logger !== undefined ? _logger : exports.NullLogger;
|
|
2161
2161
|
let sequenceNumber = 0;
|
|
2162
2162
|
let notificationSequenceNumber = 0;
|
|
2163
2163
|
let unknownResponseSequenceNumber = 0;
|
|
@@ -3123,7 +3123,7 @@ function requireConnection$1 () {
|
|
|
3123
3123
|
});
|
|
3124
3124
|
return connection;
|
|
3125
3125
|
}
|
|
3126
|
-
exports
|
|
3126
|
+
exports.createMessageConnection = createMessageConnection;
|
|
3127
3127
|
} (connection$1));
|
|
3128
3128
|
return connection$1;
|
|
3129
3129
|
}
|
|
@@ -3133,87 +3133,87 @@ var hasRequiredApi$2;
|
|
|
3133
3133
|
function requireApi$2 () {
|
|
3134
3134
|
if (hasRequiredApi$2) return api$2;
|
|
3135
3135
|
hasRequiredApi$2 = 1;
|
|
3136
|
-
(function (exports
|
|
3136
|
+
(function (exports) {
|
|
3137
3137
|
/* --------------------------------------------------------------------------------------------
|
|
3138
3138
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3139
3139
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3140
3140
|
* ------------------------------------------------------------------------------------------ */
|
|
3141
3141
|
/// <reference path="../../typings/thenable.d.ts" />
|
|
3142
|
-
Object.defineProperty(exports
|
|
3143
|
-
exports
|
|
3144
|
-
exports
|
|
3142
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3143
|
+
exports.ProgressType = exports.ProgressToken = exports.createMessageConnection = exports.NullLogger = exports.ConnectionOptions = exports.ConnectionStrategy = exports.AbstractMessageBuffer = exports.WriteableStreamMessageWriter = exports.AbstractMessageWriter = exports.MessageWriter = exports.ReadableStreamMessageReader = exports.AbstractMessageReader = exports.MessageReader = exports.SharedArrayReceiverStrategy = exports.SharedArraySenderStrategy = exports.CancellationToken = exports.CancellationTokenSource = exports.Emitter = exports.Event = exports.Disposable = exports.LRUCache = exports.Touch = exports.LinkedMap = exports.ParameterStructures = exports.NotificationType9 = exports.NotificationType8 = exports.NotificationType7 = exports.NotificationType6 = exports.NotificationType5 = exports.NotificationType4 = exports.NotificationType3 = exports.NotificationType2 = exports.NotificationType1 = exports.NotificationType0 = exports.NotificationType = exports.ErrorCodes = exports.ResponseError = exports.RequestType9 = exports.RequestType8 = exports.RequestType7 = exports.RequestType6 = exports.RequestType5 = exports.RequestType4 = exports.RequestType3 = exports.RequestType2 = exports.RequestType1 = exports.RequestType0 = exports.RequestType = exports.Message = exports.RAL = void 0;
|
|
3144
|
+
exports.MessageStrategy = exports.CancellationStrategy = exports.CancellationSenderStrategy = exports.CancellationReceiverStrategy = exports.ConnectionError = exports.ConnectionErrors = exports.LogTraceNotification = exports.SetTraceNotification = exports.TraceFormat = exports.TraceValues = exports.Trace = void 0;
|
|
3145
3145
|
const messages_1 = requireMessages$1();
|
|
3146
|
-
Object.defineProperty(exports
|
|
3147
|
-
Object.defineProperty(exports
|
|
3148
|
-
Object.defineProperty(exports
|
|
3149
|
-
Object.defineProperty(exports
|
|
3150
|
-
Object.defineProperty(exports
|
|
3151
|
-
Object.defineProperty(exports
|
|
3152
|
-
Object.defineProperty(exports
|
|
3153
|
-
Object.defineProperty(exports
|
|
3154
|
-
Object.defineProperty(exports
|
|
3155
|
-
Object.defineProperty(exports
|
|
3156
|
-
Object.defineProperty(exports
|
|
3157
|
-
Object.defineProperty(exports
|
|
3158
|
-
Object.defineProperty(exports
|
|
3159
|
-
Object.defineProperty(exports
|
|
3160
|
-
Object.defineProperty(exports
|
|
3161
|
-
Object.defineProperty(exports
|
|
3162
|
-
Object.defineProperty(exports
|
|
3163
|
-
Object.defineProperty(exports
|
|
3164
|
-
Object.defineProperty(exports
|
|
3165
|
-
Object.defineProperty(exports
|
|
3166
|
-
Object.defineProperty(exports
|
|
3167
|
-
Object.defineProperty(exports
|
|
3168
|
-
Object.defineProperty(exports
|
|
3169
|
-
Object.defineProperty(exports
|
|
3170
|
-
Object.defineProperty(exports
|
|
3171
|
-
Object.defineProperty(exports
|
|
3146
|
+
Object.defineProperty(exports, "Message", { enumerable: true, get: function () { return messages_1.Message; } });
|
|
3147
|
+
Object.defineProperty(exports, "RequestType", { enumerable: true, get: function () { return messages_1.RequestType; } });
|
|
3148
|
+
Object.defineProperty(exports, "RequestType0", { enumerable: true, get: function () { return messages_1.RequestType0; } });
|
|
3149
|
+
Object.defineProperty(exports, "RequestType1", { enumerable: true, get: function () { return messages_1.RequestType1; } });
|
|
3150
|
+
Object.defineProperty(exports, "RequestType2", { enumerable: true, get: function () { return messages_1.RequestType2; } });
|
|
3151
|
+
Object.defineProperty(exports, "RequestType3", { enumerable: true, get: function () { return messages_1.RequestType3; } });
|
|
3152
|
+
Object.defineProperty(exports, "RequestType4", { enumerable: true, get: function () { return messages_1.RequestType4; } });
|
|
3153
|
+
Object.defineProperty(exports, "RequestType5", { enumerable: true, get: function () { return messages_1.RequestType5; } });
|
|
3154
|
+
Object.defineProperty(exports, "RequestType6", { enumerable: true, get: function () { return messages_1.RequestType6; } });
|
|
3155
|
+
Object.defineProperty(exports, "RequestType7", { enumerable: true, get: function () { return messages_1.RequestType7; } });
|
|
3156
|
+
Object.defineProperty(exports, "RequestType8", { enumerable: true, get: function () { return messages_1.RequestType8; } });
|
|
3157
|
+
Object.defineProperty(exports, "RequestType9", { enumerable: true, get: function () { return messages_1.RequestType9; } });
|
|
3158
|
+
Object.defineProperty(exports, "ResponseError", { enumerable: true, get: function () { return messages_1.ResponseError; } });
|
|
3159
|
+
Object.defineProperty(exports, "ErrorCodes", { enumerable: true, get: function () { return messages_1.ErrorCodes; } });
|
|
3160
|
+
Object.defineProperty(exports, "NotificationType", { enumerable: true, get: function () { return messages_1.NotificationType; } });
|
|
3161
|
+
Object.defineProperty(exports, "NotificationType0", { enumerable: true, get: function () { return messages_1.NotificationType0; } });
|
|
3162
|
+
Object.defineProperty(exports, "NotificationType1", { enumerable: true, get: function () { return messages_1.NotificationType1; } });
|
|
3163
|
+
Object.defineProperty(exports, "NotificationType2", { enumerable: true, get: function () { return messages_1.NotificationType2; } });
|
|
3164
|
+
Object.defineProperty(exports, "NotificationType3", { enumerable: true, get: function () { return messages_1.NotificationType3; } });
|
|
3165
|
+
Object.defineProperty(exports, "NotificationType4", { enumerable: true, get: function () { return messages_1.NotificationType4; } });
|
|
3166
|
+
Object.defineProperty(exports, "NotificationType5", { enumerable: true, get: function () { return messages_1.NotificationType5; } });
|
|
3167
|
+
Object.defineProperty(exports, "NotificationType6", { enumerable: true, get: function () { return messages_1.NotificationType6; } });
|
|
3168
|
+
Object.defineProperty(exports, "NotificationType7", { enumerable: true, get: function () { return messages_1.NotificationType7; } });
|
|
3169
|
+
Object.defineProperty(exports, "NotificationType8", { enumerable: true, get: function () { return messages_1.NotificationType8; } });
|
|
3170
|
+
Object.defineProperty(exports, "NotificationType9", { enumerable: true, get: function () { return messages_1.NotificationType9; } });
|
|
3171
|
+
Object.defineProperty(exports, "ParameterStructures", { enumerable: true, get: function () { return messages_1.ParameterStructures; } });
|
|
3172
3172
|
const linkedMap_1 = requireLinkedMap();
|
|
3173
|
-
Object.defineProperty(exports
|
|
3174
|
-
Object.defineProperty(exports
|
|
3175
|
-
Object.defineProperty(exports
|
|
3173
|
+
Object.defineProperty(exports, "LinkedMap", { enumerable: true, get: function () { return linkedMap_1.LinkedMap; } });
|
|
3174
|
+
Object.defineProperty(exports, "LRUCache", { enumerable: true, get: function () { return linkedMap_1.LRUCache; } });
|
|
3175
|
+
Object.defineProperty(exports, "Touch", { enumerable: true, get: function () { return linkedMap_1.Touch; } });
|
|
3176
3176
|
const disposable_1 = requireDisposable();
|
|
3177
|
-
Object.defineProperty(exports
|
|
3177
|
+
Object.defineProperty(exports, "Disposable", { enumerable: true, get: function () { return disposable_1.Disposable; } });
|
|
3178
3178
|
const events_1 = requireEvents();
|
|
3179
|
-
Object.defineProperty(exports
|
|
3180
|
-
Object.defineProperty(exports
|
|
3179
|
+
Object.defineProperty(exports, "Event", { enumerable: true, get: function () { return events_1.Event; } });
|
|
3180
|
+
Object.defineProperty(exports, "Emitter", { enumerable: true, get: function () { return events_1.Emitter; } });
|
|
3181
3181
|
const cancellation_1 = requireCancellation();
|
|
3182
|
-
Object.defineProperty(exports
|
|
3183
|
-
Object.defineProperty(exports
|
|
3182
|
+
Object.defineProperty(exports, "CancellationTokenSource", { enumerable: true, get: function () { return cancellation_1.CancellationTokenSource; } });
|
|
3183
|
+
Object.defineProperty(exports, "CancellationToken", { enumerable: true, get: function () { return cancellation_1.CancellationToken; } });
|
|
3184
3184
|
const sharedArrayCancellation_1 = requireSharedArrayCancellation();
|
|
3185
|
-
Object.defineProperty(exports
|
|
3186
|
-
Object.defineProperty(exports
|
|
3185
|
+
Object.defineProperty(exports, "SharedArraySenderStrategy", { enumerable: true, get: function () { return sharedArrayCancellation_1.SharedArraySenderStrategy; } });
|
|
3186
|
+
Object.defineProperty(exports, "SharedArrayReceiverStrategy", { enumerable: true, get: function () { return sharedArrayCancellation_1.SharedArrayReceiverStrategy; } });
|
|
3187
3187
|
const messageReader_1 = requireMessageReader();
|
|
3188
|
-
Object.defineProperty(exports
|
|
3189
|
-
Object.defineProperty(exports
|
|
3190
|
-
Object.defineProperty(exports
|
|
3188
|
+
Object.defineProperty(exports, "MessageReader", { enumerable: true, get: function () { return messageReader_1.MessageReader; } });
|
|
3189
|
+
Object.defineProperty(exports, "AbstractMessageReader", { enumerable: true, get: function () { return messageReader_1.AbstractMessageReader; } });
|
|
3190
|
+
Object.defineProperty(exports, "ReadableStreamMessageReader", { enumerable: true, get: function () { return messageReader_1.ReadableStreamMessageReader; } });
|
|
3191
3191
|
const messageWriter_1 = requireMessageWriter();
|
|
3192
|
-
Object.defineProperty(exports
|
|
3193
|
-
Object.defineProperty(exports
|
|
3194
|
-
Object.defineProperty(exports
|
|
3192
|
+
Object.defineProperty(exports, "MessageWriter", { enumerable: true, get: function () { return messageWriter_1.MessageWriter; } });
|
|
3193
|
+
Object.defineProperty(exports, "AbstractMessageWriter", { enumerable: true, get: function () { return messageWriter_1.AbstractMessageWriter; } });
|
|
3194
|
+
Object.defineProperty(exports, "WriteableStreamMessageWriter", { enumerable: true, get: function () { return messageWriter_1.WriteableStreamMessageWriter; } });
|
|
3195
3195
|
const messageBuffer_1 = requireMessageBuffer();
|
|
3196
|
-
Object.defineProperty(exports
|
|
3196
|
+
Object.defineProperty(exports, "AbstractMessageBuffer", { enumerable: true, get: function () { return messageBuffer_1.AbstractMessageBuffer; } });
|
|
3197
3197
|
const connection_1 = requireConnection$1();
|
|
3198
|
-
Object.defineProperty(exports
|
|
3199
|
-
Object.defineProperty(exports
|
|
3200
|
-
Object.defineProperty(exports
|
|
3201
|
-
Object.defineProperty(exports
|
|
3202
|
-
Object.defineProperty(exports
|
|
3203
|
-
Object.defineProperty(exports
|
|
3204
|
-
Object.defineProperty(exports
|
|
3205
|
-
Object.defineProperty(exports
|
|
3206
|
-
Object.defineProperty(exports
|
|
3207
|
-
Object.defineProperty(exports
|
|
3208
|
-
Object.defineProperty(exports
|
|
3209
|
-
Object.defineProperty(exports
|
|
3210
|
-
Object.defineProperty(exports
|
|
3211
|
-
Object.defineProperty(exports
|
|
3212
|
-
Object.defineProperty(exports
|
|
3213
|
-
Object.defineProperty(exports
|
|
3214
|
-
Object.defineProperty(exports
|
|
3198
|
+
Object.defineProperty(exports, "ConnectionStrategy", { enumerable: true, get: function () { return connection_1.ConnectionStrategy; } });
|
|
3199
|
+
Object.defineProperty(exports, "ConnectionOptions", { enumerable: true, get: function () { return connection_1.ConnectionOptions; } });
|
|
3200
|
+
Object.defineProperty(exports, "NullLogger", { enumerable: true, get: function () { return connection_1.NullLogger; } });
|
|
3201
|
+
Object.defineProperty(exports, "createMessageConnection", { enumerable: true, get: function () { return connection_1.createMessageConnection; } });
|
|
3202
|
+
Object.defineProperty(exports, "ProgressToken", { enumerable: true, get: function () { return connection_1.ProgressToken; } });
|
|
3203
|
+
Object.defineProperty(exports, "ProgressType", { enumerable: true, get: function () { return connection_1.ProgressType; } });
|
|
3204
|
+
Object.defineProperty(exports, "Trace", { enumerable: true, get: function () { return connection_1.Trace; } });
|
|
3205
|
+
Object.defineProperty(exports, "TraceValues", { enumerable: true, get: function () { return connection_1.TraceValues; } });
|
|
3206
|
+
Object.defineProperty(exports, "TraceFormat", { enumerable: true, get: function () { return connection_1.TraceFormat; } });
|
|
3207
|
+
Object.defineProperty(exports, "SetTraceNotification", { enumerable: true, get: function () { return connection_1.SetTraceNotification; } });
|
|
3208
|
+
Object.defineProperty(exports, "LogTraceNotification", { enumerable: true, get: function () { return connection_1.LogTraceNotification; } });
|
|
3209
|
+
Object.defineProperty(exports, "ConnectionErrors", { enumerable: true, get: function () { return connection_1.ConnectionErrors; } });
|
|
3210
|
+
Object.defineProperty(exports, "ConnectionError", { enumerable: true, get: function () { return connection_1.ConnectionError; } });
|
|
3211
|
+
Object.defineProperty(exports, "CancellationReceiverStrategy", { enumerable: true, get: function () { return connection_1.CancellationReceiverStrategy; } });
|
|
3212
|
+
Object.defineProperty(exports, "CancellationSenderStrategy", { enumerable: true, get: function () { return connection_1.CancellationSenderStrategy; } });
|
|
3213
|
+
Object.defineProperty(exports, "CancellationStrategy", { enumerable: true, get: function () { return connection_1.CancellationStrategy; } });
|
|
3214
|
+
Object.defineProperty(exports, "MessageStrategy", { enumerable: true, get: function () { return connection_1.MessageStrategy; } });
|
|
3215
3215
|
const ral_1 = requireRal();
|
|
3216
|
-
exports
|
|
3216
|
+
exports.RAL = ral_1.default;
|
|
3217
3217
|
} (api$2));
|
|
3218
3218
|
return api$2;
|
|
3219
3219
|
}
|
|
@@ -3391,7 +3391,7 @@ var hasRequiredMain$3;
|
|
|
3391
3391
|
function requireMain$3 () {
|
|
3392
3392
|
if (hasRequiredMain$3) return main$1;
|
|
3393
3393
|
hasRequiredMain$3 = 1;
|
|
3394
|
-
(function (exports
|
|
3394
|
+
(function (exports) {
|
|
3395
3395
|
var __createBinding = (main$1 && main$1.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3396
3396
|
if (k2 === undefined) k2 = k;
|
|
3397
3397
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -3403,11 +3403,11 @@ function requireMain$3 () {
|
|
|
3403
3403
|
if (k2 === undefined) k2 = k;
|
|
3404
3404
|
o[k2] = m[k];
|
|
3405
3405
|
}));
|
|
3406
|
-
var __exportStar = (main$1 && main$1.__exportStar) || function(m, exports
|
|
3407
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports
|
|
3406
|
+
var __exportStar = (main$1 && main$1.__exportStar) || function(m, exports) {
|
|
3407
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3408
3408
|
};
|
|
3409
|
-
Object.defineProperty(exports
|
|
3410
|
-
exports
|
|
3409
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3410
|
+
exports.createMessageConnection = exports.createServerSocketTransport = exports.createClientSocketTransport = exports.createServerPipeTransport = exports.createClientPipeTransport = exports.generateRandomPipeName = exports.StreamMessageWriter = exports.StreamMessageReader = exports.SocketMessageWriter = exports.SocketMessageReader = exports.PortMessageWriter = exports.PortMessageReader = exports.IPCMessageWriter = exports.IPCMessageReader = void 0;
|
|
3411
3411
|
/* --------------------------------------------------------------------------------------------
|
|
3412
3412
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3413
3413
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
@@ -3420,7 +3420,7 @@ function requireMain$3 () {
|
|
|
3420
3420
|
const crypto_1 = require$$3__default;
|
|
3421
3421
|
const net_1 = require$$4;
|
|
3422
3422
|
const api_1 = requireApi$2();
|
|
3423
|
-
__exportStar(requireApi$2(), exports
|
|
3423
|
+
__exportStar(requireApi$2(), exports);
|
|
3424
3424
|
class IPCMessageReader extends api_1.AbstractMessageReader {
|
|
3425
3425
|
constructor(process) {
|
|
3426
3426
|
super();
|
|
@@ -3434,7 +3434,7 @@ function requireMain$3 () {
|
|
|
3434
3434
|
return api_1.Disposable.create(() => this.process.off('message', callback));
|
|
3435
3435
|
}
|
|
3436
3436
|
}
|
|
3437
|
-
exports
|
|
3437
|
+
exports.IPCMessageReader = IPCMessageReader;
|
|
3438
3438
|
class IPCMessageWriter extends api_1.AbstractMessageWriter {
|
|
3439
3439
|
constructor(process) {
|
|
3440
3440
|
super();
|
|
@@ -3471,7 +3471,7 @@ function requireMain$3 () {
|
|
|
3471
3471
|
end() {
|
|
3472
3472
|
}
|
|
3473
3473
|
}
|
|
3474
|
-
exports
|
|
3474
|
+
exports.IPCMessageWriter = IPCMessageWriter;
|
|
3475
3475
|
class PortMessageReader extends api_1.AbstractMessageReader {
|
|
3476
3476
|
constructor(port) {
|
|
3477
3477
|
super();
|
|
@@ -3486,7 +3486,7 @@ function requireMain$3 () {
|
|
|
3486
3486
|
return this.onData.event(callback);
|
|
3487
3487
|
}
|
|
3488
3488
|
}
|
|
3489
|
-
exports
|
|
3489
|
+
exports.PortMessageReader = PortMessageReader;
|
|
3490
3490
|
class PortMessageWriter extends api_1.AbstractMessageWriter {
|
|
3491
3491
|
constructor(port) {
|
|
3492
3492
|
super();
|
|
@@ -3512,13 +3512,13 @@ function requireMain$3 () {
|
|
|
3512
3512
|
end() {
|
|
3513
3513
|
}
|
|
3514
3514
|
}
|
|
3515
|
-
exports
|
|
3515
|
+
exports.PortMessageWriter = PortMessageWriter;
|
|
3516
3516
|
class SocketMessageReader extends api_1.ReadableStreamMessageReader {
|
|
3517
3517
|
constructor(socket, encoding = 'utf-8') {
|
|
3518
3518
|
super((0, ril_1.default)().stream.asReadableStream(socket), encoding);
|
|
3519
3519
|
}
|
|
3520
3520
|
}
|
|
3521
|
-
exports
|
|
3521
|
+
exports.SocketMessageReader = SocketMessageReader;
|
|
3522
3522
|
class SocketMessageWriter extends api_1.WriteableStreamMessageWriter {
|
|
3523
3523
|
constructor(socket, options) {
|
|
3524
3524
|
super((0, ril_1.default)().stream.asWritableStream(socket), options);
|
|
@@ -3529,19 +3529,19 @@ function requireMain$3 () {
|
|
|
3529
3529
|
this.socket.destroy();
|
|
3530
3530
|
}
|
|
3531
3531
|
}
|
|
3532
|
-
exports
|
|
3532
|
+
exports.SocketMessageWriter = SocketMessageWriter;
|
|
3533
3533
|
class StreamMessageReader extends api_1.ReadableStreamMessageReader {
|
|
3534
3534
|
constructor(readable, encoding) {
|
|
3535
3535
|
super((0, ril_1.default)().stream.asReadableStream(readable), encoding);
|
|
3536
3536
|
}
|
|
3537
3537
|
}
|
|
3538
|
-
exports
|
|
3538
|
+
exports.StreamMessageReader = StreamMessageReader;
|
|
3539
3539
|
class StreamMessageWriter extends api_1.WriteableStreamMessageWriter {
|
|
3540
3540
|
constructor(writable, options) {
|
|
3541
3541
|
super((0, ril_1.default)().stream.asWritableStream(writable), options);
|
|
3542
3542
|
}
|
|
3543
3543
|
}
|
|
3544
|
-
exports
|
|
3544
|
+
exports.StreamMessageWriter = StreamMessageWriter;
|
|
3545
3545
|
const XDG_RUNTIME_DIR = process.env['XDG_RUNTIME_DIR'];
|
|
3546
3546
|
const safeIpcPathLengths = new Map([
|
|
3547
3547
|
['linux', 107],
|
|
@@ -3565,7 +3565,7 @@ function requireMain$3 () {
|
|
|
3565
3565
|
}
|
|
3566
3566
|
return result;
|
|
3567
3567
|
}
|
|
3568
|
-
exports
|
|
3568
|
+
exports.generateRandomPipeName = generateRandomPipeName;
|
|
3569
3569
|
function createClientPipeTransport(pipeName, encoding = 'utf-8') {
|
|
3570
3570
|
let connectResolve;
|
|
3571
3571
|
const connected = new Promise((resolve, _reject) => {
|
|
@@ -3588,7 +3588,7 @@ function requireMain$3 () {
|
|
|
3588
3588
|
});
|
|
3589
3589
|
});
|
|
3590
3590
|
}
|
|
3591
|
-
exports
|
|
3591
|
+
exports.createClientPipeTransport = createClientPipeTransport;
|
|
3592
3592
|
function createServerPipeTransport(pipeName, encoding = 'utf-8') {
|
|
3593
3593
|
const socket = (0, net_1.createConnection)(pipeName);
|
|
3594
3594
|
return [
|
|
@@ -3596,7 +3596,7 @@ function requireMain$3 () {
|
|
|
3596
3596
|
new SocketMessageWriter(socket, encoding)
|
|
3597
3597
|
];
|
|
3598
3598
|
}
|
|
3599
|
-
exports
|
|
3599
|
+
exports.createServerPipeTransport = createServerPipeTransport;
|
|
3600
3600
|
function createClientSocketTransport(port, encoding = 'utf-8') {
|
|
3601
3601
|
let connectResolve;
|
|
3602
3602
|
const connected = new Promise((resolve, _reject) => {
|
|
@@ -3619,7 +3619,7 @@ function requireMain$3 () {
|
|
|
3619
3619
|
});
|
|
3620
3620
|
});
|
|
3621
3621
|
}
|
|
3622
|
-
exports
|
|
3622
|
+
exports.createClientSocketTransport = createClientSocketTransport;
|
|
3623
3623
|
function createServerSocketTransport(port, encoding = 'utf-8') {
|
|
3624
3624
|
const socket = (0, net_1.createConnection)(port, '127.0.0.1');
|
|
3625
3625
|
return [
|
|
@@ -3627,7 +3627,7 @@ function requireMain$3 () {
|
|
|
3627
3627
|
new SocketMessageWriter(socket, encoding)
|
|
3628
3628
|
];
|
|
3629
3629
|
}
|
|
3630
|
-
exports
|
|
3630
|
+
exports.createServerSocketTransport = createServerSocketTransport;
|
|
3631
3631
|
function isReadableStream(value) {
|
|
3632
3632
|
const candidate = value;
|
|
3633
3633
|
return candidate.read !== undefined && candidate.addListener !== undefined;
|
|
@@ -3647,7 +3647,7 @@ function requireMain$3 () {
|
|
|
3647
3647
|
}
|
|
3648
3648
|
return (0, api_1.createMessageConnection)(reader, writer, logger, options);
|
|
3649
3649
|
}
|
|
3650
|
-
exports
|
|
3650
|
+
exports.createMessageConnection = createMessageConnection;
|
|
3651
3651
|
} (main$1));
|
|
3652
3652
|
return main$1;
|
|
3653
3653
|
}
|
|
@@ -3681,29 +3681,29 @@ var hasRequiredMain$2;
|
|
|
3681
3681
|
function requireMain$2 () {
|
|
3682
3682
|
if (hasRequiredMain$2) return main.exports;
|
|
3683
3683
|
hasRequiredMain$2 = 1;
|
|
3684
|
-
(function (module, exports
|
|
3684
|
+
(function (module, exports) {
|
|
3685
3685
|
(function (factory) {
|
|
3686
3686
|
{
|
|
3687
|
-
var v = factory(commonjsRequire, exports
|
|
3687
|
+
var v = factory(commonjsRequire, exports);
|
|
3688
3688
|
if (v !== undefined) module.exports = v;
|
|
3689
3689
|
}
|
|
3690
|
-
})(function (require, exports
|
|
3691
|
-
Object.defineProperty(exports
|
|
3692
|
-
exports
|
|
3690
|
+
})(function (require, exports) {
|
|
3691
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3692
|
+
exports.TextDocument = exports.EOL = exports.WorkspaceFolder = exports.InlineCompletionContext = exports.SelectedCompletionInfo = exports.InlineCompletionTriggerKind = exports.InlineCompletionList = exports.InlineCompletionItem = exports.StringValue = exports.InlayHint = exports.InlayHintLabelPart = exports.InlayHintKind = exports.InlineValueContext = exports.InlineValueEvaluatableExpression = exports.InlineValueVariableLookup = exports.InlineValueText = exports.SemanticTokens = exports.SemanticTokenModifiers = exports.SemanticTokenTypes = exports.SelectionRange = exports.DocumentLink = exports.FormattingOptions = exports.CodeLens = exports.CodeAction = exports.CodeActionContext = exports.CodeActionTriggerKind = exports.CodeActionKind = exports.DocumentSymbol = exports.WorkspaceSymbol = exports.SymbolInformation = exports.SymbolTag = exports.SymbolKind = exports.DocumentHighlight = exports.DocumentHighlightKind = exports.SignatureInformation = exports.ParameterInformation = exports.Hover = exports.MarkedString = exports.CompletionList = exports.CompletionItem = exports.CompletionItemLabelDetails = exports.InsertTextMode = exports.InsertReplaceEdit = exports.CompletionItemTag = exports.InsertTextFormat = exports.CompletionItemKind = exports.MarkupContent = exports.MarkupKind = exports.TextDocumentItem = exports.OptionalVersionedTextDocumentIdentifier = exports.VersionedTextDocumentIdentifier = exports.TextDocumentIdentifier = exports.WorkspaceChange = exports.WorkspaceEdit = exports.DeleteFile = exports.RenameFile = exports.CreateFile = exports.TextDocumentEdit = exports.AnnotatedTextEdit = exports.ChangeAnnotationIdentifier = exports.ChangeAnnotation = exports.TextEdit = exports.Command = exports.Diagnostic = exports.CodeDescription = exports.DiagnosticTag = exports.DiagnosticSeverity = exports.DiagnosticRelatedInformation = exports.FoldingRange = exports.FoldingRangeKind = exports.ColorPresentation = exports.ColorInformation = exports.Color = exports.LocationLink = exports.Location = exports.Range = exports.Position = exports.uinteger = exports.integer = exports.URI = exports.DocumentUri = void 0;
|
|
3693
3693
|
var DocumentUri;
|
|
3694
3694
|
(function (DocumentUri) {
|
|
3695
3695
|
function is(value) {
|
|
3696
3696
|
return typeof value === 'string';
|
|
3697
3697
|
}
|
|
3698
3698
|
DocumentUri.is = is;
|
|
3699
|
-
})(DocumentUri || (exports
|
|
3699
|
+
})(DocumentUri || (exports.DocumentUri = DocumentUri = {}));
|
|
3700
3700
|
var URI;
|
|
3701
3701
|
(function (URI) {
|
|
3702
3702
|
function is(value) {
|
|
3703
3703
|
return typeof value === 'string';
|
|
3704
3704
|
}
|
|
3705
3705
|
URI.is = is;
|
|
3706
|
-
})(URI || (exports
|
|
3706
|
+
})(URI || (exports.URI = URI = {}));
|
|
3707
3707
|
var integer;
|
|
3708
3708
|
(function (integer) {
|
|
3709
3709
|
integer.MIN_VALUE = -2147483648;
|
|
@@ -3712,7 +3712,7 @@ function requireMain$2 () {
|
|
|
3712
3712
|
return typeof value === 'number' && integer.MIN_VALUE <= value && value <= integer.MAX_VALUE;
|
|
3713
3713
|
}
|
|
3714
3714
|
integer.is = is;
|
|
3715
|
-
})(integer || (exports
|
|
3715
|
+
})(integer || (exports.integer = integer = {}));
|
|
3716
3716
|
var uinteger;
|
|
3717
3717
|
(function (uinteger) {
|
|
3718
3718
|
uinteger.MIN_VALUE = 0;
|
|
@@ -3721,7 +3721,7 @@ function requireMain$2 () {
|
|
|
3721
3721
|
return typeof value === 'number' && uinteger.MIN_VALUE <= value && value <= uinteger.MAX_VALUE;
|
|
3722
3722
|
}
|
|
3723
3723
|
uinteger.is = is;
|
|
3724
|
-
})(uinteger || (exports
|
|
3724
|
+
})(uinteger || (exports.uinteger = uinteger = {}));
|
|
3725
3725
|
/**
|
|
3726
3726
|
* The Position namespace provides helper functions to work with
|
|
3727
3727
|
* {@link Position} literals.
|
|
@@ -3751,7 +3751,7 @@ function requireMain$2 () {
|
|
|
3751
3751
|
return Is.objectLiteral(candidate) && Is.uinteger(candidate.line) && Is.uinteger(candidate.character);
|
|
3752
3752
|
}
|
|
3753
3753
|
Position.is = is;
|
|
3754
|
-
})(Position || (exports
|
|
3754
|
+
})(Position || (exports.Position = Position = {}));
|
|
3755
3755
|
/**
|
|
3756
3756
|
* The Range namespace provides helper functions to work with
|
|
3757
3757
|
* {@link Range} literals.
|
|
@@ -3778,7 +3778,7 @@ function requireMain$2 () {
|
|
|
3778
3778
|
return Is.objectLiteral(candidate) && Position.is(candidate.start) && Position.is(candidate.end);
|
|
3779
3779
|
}
|
|
3780
3780
|
Range.is = is;
|
|
3781
|
-
})(Range || (exports
|
|
3781
|
+
})(Range || (exports.Range = Range = {}));
|
|
3782
3782
|
/**
|
|
3783
3783
|
* The Location namespace provides helper functions to work with
|
|
3784
3784
|
* {@link Location} literals.
|
|
@@ -3802,7 +3802,7 @@ function requireMain$2 () {
|
|
|
3802
3802
|
return Is.objectLiteral(candidate) && Range.is(candidate.range) && (Is.string(candidate.uri) || Is.undefined(candidate.uri));
|
|
3803
3803
|
}
|
|
3804
3804
|
Location.is = is;
|
|
3805
|
-
})(Location || (exports
|
|
3805
|
+
})(Location || (exports.Location = Location = {}));
|
|
3806
3806
|
/**
|
|
3807
3807
|
* The LocationLink namespace provides helper functions to work with
|
|
3808
3808
|
* {@link LocationLink} literals.
|
|
@@ -3830,7 +3830,7 @@ function requireMain$2 () {
|
|
|
3830
3830
|
&& (Range.is(candidate.originSelectionRange) || Is.undefined(candidate.originSelectionRange));
|
|
3831
3831
|
}
|
|
3832
3832
|
LocationLink.is = is;
|
|
3833
|
-
})(LocationLink || (exports
|
|
3833
|
+
})(LocationLink || (exports.LocationLink = LocationLink = {}));
|
|
3834
3834
|
/**
|
|
3835
3835
|
* The Color namespace provides helper functions to work with
|
|
3836
3836
|
* {@link Color} literals.
|
|
@@ -3860,7 +3860,7 @@ function requireMain$2 () {
|
|
|
3860
3860
|
&& Is.numberRange(candidate.alpha, 0, 1);
|
|
3861
3861
|
}
|
|
3862
3862
|
Color.is = is;
|
|
3863
|
-
})(Color || (exports
|
|
3863
|
+
})(Color || (exports.Color = Color = {}));
|
|
3864
3864
|
/**
|
|
3865
3865
|
* The ColorInformation namespace provides helper functions to work with
|
|
3866
3866
|
* {@link ColorInformation} literals.
|
|
@@ -3885,7 +3885,7 @@ function requireMain$2 () {
|
|
|
3885
3885
|
return Is.objectLiteral(candidate) && Range.is(candidate.range) && Color.is(candidate.color);
|
|
3886
3886
|
}
|
|
3887
3887
|
ColorInformation.is = is;
|
|
3888
|
-
})(ColorInformation || (exports
|
|
3888
|
+
})(ColorInformation || (exports.ColorInformation = ColorInformation = {}));
|
|
3889
3889
|
/**
|
|
3890
3890
|
* The Color namespace provides helper functions to work with
|
|
3891
3891
|
* {@link ColorPresentation} literals.
|
|
@@ -3913,7 +3913,7 @@ function requireMain$2 () {
|
|
|
3913
3913
|
&& (Is.undefined(candidate.additionalTextEdits) || Is.typedArray(candidate.additionalTextEdits, TextEdit.is));
|
|
3914
3914
|
}
|
|
3915
3915
|
ColorPresentation.is = is;
|
|
3916
|
-
})(ColorPresentation || (exports
|
|
3916
|
+
})(ColorPresentation || (exports.ColorPresentation = ColorPresentation = {}));
|
|
3917
3917
|
/**
|
|
3918
3918
|
* A set of predefined range kinds.
|
|
3919
3919
|
*/
|
|
@@ -3931,7 +3931,7 @@ function requireMain$2 () {
|
|
|
3931
3931
|
* Folding range for a region (e.g. `#region`)
|
|
3932
3932
|
*/
|
|
3933
3933
|
FoldingRangeKind.Region = 'region';
|
|
3934
|
-
})(FoldingRangeKind || (exports
|
|
3934
|
+
})(FoldingRangeKind || (exports.FoldingRangeKind = FoldingRangeKind = {}));
|
|
3935
3935
|
/**
|
|
3936
3936
|
* The folding range namespace provides helper functions to work with
|
|
3937
3937
|
* {@link FoldingRange} literals.
|
|
@@ -3972,7 +3972,7 @@ function requireMain$2 () {
|
|
|
3972
3972
|
&& (Is.undefined(candidate.kind) || Is.string(candidate.kind));
|
|
3973
3973
|
}
|
|
3974
3974
|
FoldingRange.is = is;
|
|
3975
|
-
})(FoldingRange || (exports
|
|
3975
|
+
})(FoldingRange || (exports.FoldingRange = FoldingRange = {}));
|
|
3976
3976
|
/**
|
|
3977
3977
|
* The DiagnosticRelatedInformation namespace provides helper functions to work with
|
|
3978
3978
|
* {@link DiagnosticRelatedInformation} literals.
|
|
@@ -3997,7 +3997,7 @@ function requireMain$2 () {
|
|
|
3997
3997
|
return Is.defined(candidate) && Location.is(candidate.location) && Is.string(candidate.message);
|
|
3998
3998
|
}
|
|
3999
3999
|
DiagnosticRelatedInformation.is = is;
|
|
4000
|
-
})(DiagnosticRelatedInformation || (exports
|
|
4000
|
+
})(DiagnosticRelatedInformation || (exports.DiagnosticRelatedInformation = DiagnosticRelatedInformation = {}));
|
|
4001
4001
|
/**
|
|
4002
4002
|
* The diagnostic's severity.
|
|
4003
4003
|
*/
|
|
@@ -4019,7 +4019,7 @@ function requireMain$2 () {
|
|
|
4019
4019
|
* Reports a hint.
|
|
4020
4020
|
*/
|
|
4021
4021
|
DiagnosticSeverity.Hint = 4;
|
|
4022
|
-
})(DiagnosticSeverity || (exports
|
|
4022
|
+
})(DiagnosticSeverity || (exports.DiagnosticSeverity = DiagnosticSeverity = {}));
|
|
4023
4023
|
/**
|
|
4024
4024
|
* The diagnostic tags.
|
|
4025
4025
|
*
|
|
@@ -4040,7 +4040,7 @@ function requireMain$2 () {
|
|
|
4040
4040
|
* Clients are allowed to rendered diagnostics with this tag strike through.
|
|
4041
4041
|
*/
|
|
4042
4042
|
DiagnosticTag.Deprecated = 2;
|
|
4043
|
-
})(DiagnosticTag || (exports
|
|
4043
|
+
})(DiagnosticTag || (exports.DiagnosticTag = DiagnosticTag = {}));
|
|
4044
4044
|
/**
|
|
4045
4045
|
* The CodeDescription namespace provides functions to deal with descriptions for diagnostic codes.
|
|
4046
4046
|
*
|
|
@@ -4053,7 +4053,7 @@ function requireMain$2 () {
|
|
|
4053
4053
|
return Is.objectLiteral(candidate) && Is.string(candidate.href);
|
|
4054
4054
|
}
|
|
4055
4055
|
CodeDescription.is = is;
|
|
4056
|
-
})(CodeDescription || (exports
|
|
4056
|
+
})(CodeDescription || (exports.CodeDescription = CodeDescription = {}));
|
|
4057
4057
|
/**
|
|
4058
4058
|
* The Diagnostic namespace provides helper functions to work with
|
|
4059
4059
|
* {@link Diagnostic} literals.
|
|
@@ -4096,7 +4096,7 @@ function requireMain$2 () {
|
|
|
4096
4096
|
&& (Is.undefined(candidate.relatedInformation) || Is.typedArray(candidate.relatedInformation, DiagnosticRelatedInformation.is));
|
|
4097
4097
|
}
|
|
4098
4098
|
Diagnostic.is = is;
|
|
4099
|
-
})(Diagnostic || (exports
|
|
4099
|
+
})(Diagnostic || (exports.Diagnostic = Diagnostic = {}));
|
|
4100
4100
|
/**
|
|
4101
4101
|
* The Command namespace provides helper functions to work with
|
|
4102
4102
|
* {@link Command} literals.
|
|
@@ -4126,7 +4126,7 @@ function requireMain$2 () {
|
|
|
4126
4126
|
return Is.defined(candidate) && Is.string(candidate.title) && Is.string(candidate.command);
|
|
4127
4127
|
}
|
|
4128
4128
|
Command.is = is;
|
|
4129
|
-
})(Command || (exports
|
|
4129
|
+
})(Command || (exports.Command = Command = {}));
|
|
4130
4130
|
/**
|
|
4131
4131
|
* The TextEdit namespace provides helper function to create replace,
|
|
4132
4132
|
* insert and delete edits more easily.
|
|
@@ -4166,7 +4166,7 @@ function requireMain$2 () {
|
|
|
4166
4166
|
&& Range.is(candidate.range);
|
|
4167
4167
|
}
|
|
4168
4168
|
TextEdit.is = is;
|
|
4169
|
-
})(TextEdit || (exports
|
|
4169
|
+
})(TextEdit || (exports.TextEdit = TextEdit = {}));
|
|
4170
4170
|
var ChangeAnnotation;
|
|
4171
4171
|
(function (ChangeAnnotation) {
|
|
4172
4172
|
function create(label, needsConfirmation, description) {
|
|
@@ -4187,7 +4187,7 @@ function requireMain$2 () {
|
|
|
4187
4187
|
(Is.string(candidate.description) || candidate.description === undefined);
|
|
4188
4188
|
}
|
|
4189
4189
|
ChangeAnnotation.is = is;
|
|
4190
|
-
})(ChangeAnnotation || (exports
|
|
4190
|
+
})(ChangeAnnotation || (exports.ChangeAnnotation = ChangeAnnotation = {}));
|
|
4191
4191
|
var ChangeAnnotationIdentifier;
|
|
4192
4192
|
(function (ChangeAnnotationIdentifier) {
|
|
4193
4193
|
function is(value) {
|
|
@@ -4195,7 +4195,7 @@ function requireMain$2 () {
|
|
|
4195
4195
|
return Is.string(candidate);
|
|
4196
4196
|
}
|
|
4197
4197
|
ChangeAnnotationIdentifier.is = is;
|
|
4198
|
-
})(ChangeAnnotationIdentifier || (exports
|
|
4198
|
+
})(ChangeAnnotationIdentifier || (exports.ChangeAnnotationIdentifier = ChangeAnnotationIdentifier = {}));
|
|
4199
4199
|
var AnnotatedTextEdit;
|
|
4200
4200
|
(function (AnnotatedTextEdit) {
|
|
4201
4201
|
/**
|
|
@@ -4235,7 +4235,7 @@ function requireMain$2 () {
|
|
|
4235
4235
|
return TextEdit.is(candidate) && (ChangeAnnotation.is(candidate.annotationId) || ChangeAnnotationIdentifier.is(candidate.annotationId));
|
|
4236
4236
|
}
|
|
4237
4237
|
AnnotatedTextEdit.is = is;
|
|
4238
|
-
})(AnnotatedTextEdit || (exports
|
|
4238
|
+
})(AnnotatedTextEdit || (exports.AnnotatedTextEdit = AnnotatedTextEdit = {}));
|
|
4239
4239
|
/**
|
|
4240
4240
|
* The TextDocumentEdit namespace provides helper function to create
|
|
4241
4241
|
* an edit that manipulates a text document.
|
|
@@ -4256,7 +4256,7 @@ function requireMain$2 () {
|
|
|
4256
4256
|
&& Array.isArray(candidate.edits);
|
|
4257
4257
|
}
|
|
4258
4258
|
TextDocumentEdit.is = is;
|
|
4259
|
-
})(TextDocumentEdit || (exports
|
|
4259
|
+
})(TextDocumentEdit || (exports.TextDocumentEdit = TextDocumentEdit = {}));
|
|
4260
4260
|
var CreateFile;
|
|
4261
4261
|
(function (CreateFile) {
|
|
4262
4262
|
function create(uri, options, annotation) {
|
|
@@ -4279,7 +4279,7 @@ function requireMain$2 () {
|
|
|
4279
4279
|
((candidate.options.overwrite === undefined || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === undefined || Is.boolean(candidate.options.ignoreIfExists)))) && (candidate.annotationId === undefined || ChangeAnnotationIdentifier.is(candidate.annotationId));
|
|
4280
4280
|
}
|
|
4281
4281
|
CreateFile.is = is;
|
|
4282
|
-
})(CreateFile || (exports
|
|
4282
|
+
})(CreateFile || (exports.CreateFile = CreateFile = {}));
|
|
4283
4283
|
var RenameFile;
|
|
4284
4284
|
(function (RenameFile) {
|
|
4285
4285
|
function create(oldUri, newUri, options, annotation) {
|
|
@@ -4303,7 +4303,7 @@ function requireMain$2 () {
|
|
|
4303
4303
|
((candidate.options.overwrite === undefined || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === undefined || Is.boolean(candidate.options.ignoreIfExists)))) && (candidate.annotationId === undefined || ChangeAnnotationIdentifier.is(candidate.annotationId));
|
|
4304
4304
|
}
|
|
4305
4305
|
RenameFile.is = is;
|
|
4306
|
-
})(RenameFile || (exports
|
|
4306
|
+
})(RenameFile || (exports.RenameFile = RenameFile = {}));
|
|
4307
4307
|
var DeleteFile;
|
|
4308
4308
|
(function (DeleteFile) {
|
|
4309
4309
|
function create(uri, options, annotation) {
|
|
@@ -4326,7 +4326,7 @@ function requireMain$2 () {
|
|
|
4326
4326
|
((candidate.options.recursive === undefined || Is.boolean(candidate.options.recursive)) && (candidate.options.ignoreIfNotExists === undefined || Is.boolean(candidate.options.ignoreIfNotExists)))) && (candidate.annotationId === undefined || ChangeAnnotationIdentifier.is(candidate.annotationId));
|
|
4327
4327
|
}
|
|
4328
4328
|
DeleteFile.is = is;
|
|
4329
|
-
})(DeleteFile || (exports
|
|
4329
|
+
})(DeleteFile || (exports.DeleteFile = DeleteFile = {}));
|
|
4330
4330
|
var WorkspaceEdit;
|
|
4331
4331
|
(function (WorkspaceEdit) {
|
|
4332
4332
|
function is(value) {
|
|
@@ -4343,7 +4343,7 @@ function requireMain$2 () {
|
|
|
4343
4343
|
}));
|
|
4344
4344
|
}
|
|
4345
4345
|
WorkspaceEdit.is = is;
|
|
4346
|
-
})(WorkspaceEdit || (exports
|
|
4346
|
+
})(WorkspaceEdit || (exports.WorkspaceEdit = WorkspaceEdit = {}));
|
|
4347
4347
|
var TextEditChangeImpl = /** @class */ (function () {
|
|
4348
4348
|
function TextEditChangeImpl(edits, changeAnnotations) {
|
|
4349
4349
|
this.edits = edits;
|
|
@@ -4646,7 +4646,7 @@ function requireMain$2 () {
|
|
|
4646
4646
|
};
|
|
4647
4647
|
return WorkspaceChange;
|
|
4648
4648
|
}());
|
|
4649
|
-
exports
|
|
4649
|
+
exports.WorkspaceChange = WorkspaceChange;
|
|
4650
4650
|
/**
|
|
4651
4651
|
* The TextDocumentIdentifier namespace provides helper functions to work with
|
|
4652
4652
|
* {@link TextDocumentIdentifier} literals.
|
|
@@ -4669,7 +4669,7 @@ function requireMain$2 () {
|
|
|
4669
4669
|
return Is.defined(candidate) && Is.string(candidate.uri);
|
|
4670
4670
|
}
|
|
4671
4671
|
TextDocumentIdentifier.is = is;
|
|
4672
|
-
})(TextDocumentIdentifier || (exports
|
|
4672
|
+
})(TextDocumentIdentifier || (exports.TextDocumentIdentifier = TextDocumentIdentifier = {}));
|
|
4673
4673
|
/**
|
|
4674
4674
|
* The VersionedTextDocumentIdentifier namespace provides helper functions to work with
|
|
4675
4675
|
* {@link VersionedTextDocumentIdentifier} literals.
|
|
@@ -4693,7 +4693,7 @@ function requireMain$2 () {
|
|
|
4693
4693
|
return Is.defined(candidate) && Is.string(candidate.uri) && Is.integer(candidate.version);
|
|
4694
4694
|
}
|
|
4695
4695
|
VersionedTextDocumentIdentifier.is = is;
|
|
4696
|
-
})(VersionedTextDocumentIdentifier || (exports
|
|
4696
|
+
})(VersionedTextDocumentIdentifier || (exports.VersionedTextDocumentIdentifier = VersionedTextDocumentIdentifier = {}));
|
|
4697
4697
|
/**
|
|
4698
4698
|
* The OptionalVersionedTextDocumentIdentifier namespace provides helper functions to work with
|
|
4699
4699
|
* {@link OptionalVersionedTextDocumentIdentifier} literals.
|
|
@@ -4717,7 +4717,7 @@ function requireMain$2 () {
|
|
|
4717
4717
|
return Is.defined(candidate) && Is.string(candidate.uri) && (candidate.version === null || Is.integer(candidate.version));
|
|
4718
4718
|
}
|
|
4719
4719
|
OptionalVersionedTextDocumentIdentifier.is = is;
|
|
4720
|
-
})(OptionalVersionedTextDocumentIdentifier || (exports
|
|
4720
|
+
})(OptionalVersionedTextDocumentIdentifier || (exports.OptionalVersionedTextDocumentIdentifier = OptionalVersionedTextDocumentIdentifier = {}));
|
|
4721
4721
|
/**
|
|
4722
4722
|
* The TextDocumentItem namespace provides helper functions to work with
|
|
4723
4723
|
* {@link TextDocumentItem} literals.
|
|
@@ -4743,7 +4743,7 @@ function requireMain$2 () {
|
|
|
4743
4743
|
return Is.defined(candidate) && Is.string(candidate.uri) && Is.string(candidate.languageId) && Is.integer(candidate.version) && Is.string(candidate.text);
|
|
4744
4744
|
}
|
|
4745
4745
|
TextDocumentItem.is = is;
|
|
4746
|
-
})(TextDocumentItem || (exports
|
|
4746
|
+
})(TextDocumentItem || (exports.TextDocumentItem = TextDocumentItem = {}));
|
|
4747
4747
|
/**
|
|
4748
4748
|
* Describes the content type that a client supports in various
|
|
4749
4749
|
* result literals like `Hover`, `ParameterInfo` or `CompletionItem`.
|
|
@@ -4769,7 +4769,7 @@ function requireMain$2 () {
|
|
|
4769
4769
|
return candidate === MarkupKind.PlainText || candidate === MarkupKind.Markdown;
|
|
4770
4770
|
}
|
|
4771
4771
|
MarkupKind.is = is;
|
|
4772
|
-
})(MarkupKind || (exports
|
|
4772
|
+
})(MarkupKind || (exports.MarkupKind = MarkupKind = {}));
|
|
4773
4773
|
var MarkupContent;
|
|
4774
4774
|
(function (MarkupContent) {
|
|
4775
4775
|
/**
|
|
@@ -4780,7 +4780,7 @@ function requireMain$2 () {
|
|
|
4780
4780
|
return Is.objectLiteral(value) && MarkupKind.is(candidate.kind) && Is.string(candidate.value);
|
|
4781
4781
|
}
|
|
4782
4782
|
MarkupContent.is = is;
|
|
4783
|
-
})(MarkupContent || (exports
|
|
4783
|
+
})(MarkupContent || (exports.MarkupContent = MarkupContent = {}));
|
|
4784
4784
|
/**
|
|
4785
4785
|
* The kind of a completion entry.
|
|
4786
4786
|
*/
|
|
@@ -4811,7 +4811,7 @@ function requireMain$2 () {
|
|
|
4811
4811
|
CompletionItemKind.Event = 23;
|
|
4812
4812
|
CompletionItemKind.Operator = 24;
|
|
4813
4813
|
CompletionItemKind.TypeParameter = 25;
|
|
4814
|
-
})(CompletionItemKind || (exports
|
|
4814
|
+
})(CompletionItemKind || (exports.CompletionItemKind = CompletionItemKind = {}));
|
|
4815
4815
|
/**
|
|
4816
4816
|
* Defines whether the insert text in a completion item should be interpreted as
|
|
4817
4817
|
* plain text or a snippet.
|
|
@@ -4833,7 +4833,7 @@ function requireMain$2 () {
|
|
|
4833
4833
|
* See also: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#snippet_syntax
|
|
4834
4834
|
*/
|
|
4835
4835
|
InsertTextFormat.Snippet = 2;
|
|
4836
|
-
})(InsertTextFormat || (exports
|
|
4836
|
+
})(InsertTextFormat || (exports.InsertTextFormat = InsertTextFormat = {}));
|
|
4837
4837
|
/**
|
|
4838
4838
|
* Completion item tags are extra annotations that tweak the rendering of a completion
|
|
4839
4839
|
* item.
|
|
@@ -4846,7 +4846,7 @@ function requireMain$2 () {
|
|
|
4846
4846
|
* Render a completion as obsolete, usually using a strike-out.
|
|
4847
4847
|
*/
|
|
4848
4848
|
CompletionItemTag.Deprecated = 1;
|
|
4849
|
-
})(CompletionItemTag || (exports
|
|
4849
|
+
})(CompletionItemTag || (exports.CompletionItemTag = CompletionItemTag = {}));
|
|
4850
4850
|
/**
|
|
4851
4851
|
* The InsertReplaceEdit namespace provides functions to deal with insert / replace edits.
|
|
4852
4852
|
*
|
|
@@ -4869,7 +4869,7 @@ function requireMain$2 () {
|
|
|
4869
4869
|
return candidate && Is.string(candidate.newText) && Range.is(candidate.insert) && Range.is(candidate.replace);
|
|
4870
4870
|
}
|
|
4871
4871
|
InsertReplaceEdit.is = is;
|
|
4872
|
-
})(InsertReplaceEdit || (exports
|
|
4872
|
+
})(InsertReplaceEdit || (exports.InsertReplaceEdit = InsertReplaceEdit = {}));
|
|
4873
4873
|
/**
|
|
4874
4874
|
* How whitespace and indentation is handled during completion
|
|
4875
4875
|
* item insertion.
|
|
@@ -4896,7 +4896,7 @@ function requireMain$2 () {
|
|
|
4896
4896
|
* following lines inserted will be indented using 2 tabs as well.
|
|
4897
4897
|
*/
|
|
4898
4898
|
InsertTextMode.adjustIndentation = 2;
|
|
4899
|
-
})(InsertTextMode || (exports
|
|
4899
|
+
})(InsertTextMode || (exports.InsertTextMode = InsertTextMode = {}));
|
|
4900
4900
|
var CompletionItemLabelDetails;
|
|
4901
4901
|
(function (CompletionItemLabelDetails) {
|
|
4902
4902
|
function is(value) {
|
|
@@ -4905,7 +4905,7 @@ function requireMain$2 () {
|
|
|
4905
4905
|
(Is.string(candidate.description) || candidate.description === undefined);
|
|
4906
4906
|
}
|
|
4907
4907
|
CompletionItemLabelDetails.is = is;
|
|
4908
|
-
})(CompletionItemLabelDetails || (exports
|
|
4908
|
+
})(CompletionItemLabelDetails || (exports.CompletionItemLabelDetails = CompletionItemLabelDetails = {}));
|
|
4909
4909
|
/**
|
|
4910
4910
|
* The CompletionItem namespace provides functions to deal with
|
|
4911
4911
|
* completion items.
|
|
@@ -4920,7 +4920,7 @@ function requireMain$2 () {
|
|
|
4920
4920
|
return { label: label };
|
|
4921
4921
|
}
|
|
4922
4922
|
CompletionItem.create = create;
|
|
4923
|
-
})(CompletionItem || (exports
|
|
4923
|
+
})(CompletionItem || (exports.CompletionItem = CompletionItem = {}));
|
|
4924
4924
|
/**
|
|
4925
4925
|
* The CompletionList namespace provides functions to deal with
|
|
4926
4926
|
* completion lists.
|
|
@@ -4937,7 +4937,7 @@ function requireMain$2 () {
|
|
|
4937
4937
|
return { items: items ? items : [], isIncomplete: !!isIncomplete };
|
|
4938
4938
|
}
|
|
4939
4939
|
CompletionList.create = create;
|
|
4940
|
-
})(CompletionList || (exports
|
|
4940
|
+
})(CompletionList || (exports.CompletionList = CompletionList = {}));
|
|
4941
4941
|
var MarkedString;
|
|
4942
4942
|
(function (MarkedString) {
|
|
4943
4943
|
/**
|
|
@@ -4957,7 +4957,7 @@ function requireMain$2 () {
|
|
|
4957
4957
|
return Is.string(candidate) || (Is.objectLiteral(candidate) && Is.string(candidate.language) && Is.string(candidate.value));
|
|
4958
4958
|
}
|
|
4959
4959
|
MarkedString.is = is;
|
|
4960
|
-
})(MarkedString || (exports
|
|
4960
|
+
})(MarkedString || (exports.MarkedString = MarkedString = {}));
|
|
4961
4961
|
var Hover;
|
|
4962
4962
|
(function (Hover) {
|
|
4963
4963
|
/**
|
|
@@ -4970,7 +4970,7 @@ function requireMain$2 () {
|
|
|
4970
4970
|
Is.typedArray(candidate.contents, MarkedString.is)) && (value.range === undefined || Range.is(value.range));
|
|
4971
4971
|
}
|
|
4972
4972
|
Hover.is = is;
|
|
4973
|
-
})(Hover || (exports
|
|
4973
|
+
})(Hover || (exports.Hover = Hover = {}));
|
|
4974
4974
|
/**
|
|
4975
4975
|
* The ParameterInformation namespace provides helper functions to work with
|
|
4976
4976
|
* {@link ParameterInformation} literals.
|
|
@@ -4987,7 +4987,7 @@ function requireMain$2 () {
|
|
|
4987
4987
|
return documentation ? { label: label, documentation: documentation } : { label: label };
|
|
4988
4988
|
}
|
|
4989
4989
|
ParameterInformation.create = create;
|
|
4990
|
-
})(ParameterInformation || (exports
|
|
4990
|
+
})(ParameterInformation || (exports.ParameterInformation = ParameterInformation = {}));
|
|
4991
4991
|
/**
|
|
4992
4992
|
* The SignatureInformation namespace provides helper functions to work with
|
|
4993
4993
|
* {@link SignatureInformation} literals.
|
|
@@ -5012,7 +5012,7 @@ function requireMain$2 () {
|
|
|
5012
5012
|
return result;
|
|
5013
5013
|
}
|
|
5014
5014
|
SignatureInformation.create = create;
|
|
5015
|
-
})(SignatureInformation || (exports
|
|
5015
|
+
})(SignatureInformation || (exports.SignatureInformation = SignatureInformation = {}));
|
|
5016
5016
|
/**
|
|
5017
5017
|
* A document highlight kind.
|
|
5018
5018
|
*/
|
|
@@ -5030,7 +5030,7 @@ function requireMain$2 () {
|
|
|
5030
5030
|
* Write-access of a symbol, like writing to a variable.
|
|
5031
5031
|
*/
|
|
5032
5032
|
DocumentHighlightKind.Write = 3;
|
|
5033
|
-
})(DocumentHighlightKind || (exports
|
|
5033
|
+
})(DocumentHighlightKind || (exports.DocumentHighlightKind = DocumentHighlightKind = {}));
|
|
5034
5034
|
/**
|
|
5035
5035
|
* DocumentHighlight namespace to provide helper functions to work with
|
|
5036
5036
|
* {@link DocumentHighlight} literals.
|
|
@@ -5050,7 +5050,7 @@ function requireMain$2 () {
|
|
|
5050
5050
|
return result;
|
|
5051
5051
|
}
|
|
5052
5052
|
DocumentHighlight.create = create;
|
|
5053
|
-
})(DocumentHighlight || (exports
|
|
5053
|
+
})(DocumentHighlight || (exports.DocumentHighlight = DocumentHighlight = {}));
|
|
5054
5054
|
/**
|
|
5055
5055
|
* A symbol kind.
|
|
5056
5056
|
*/
|
|
@@ -5082,7 +5082,7 @@ function requireMain$2 () {
|
|
|
5082
5082
|
SymbolKind.Event = 24;
|
|
5083
5083
|
SymbolKind.Operator = 25;
|
|
5084
5084
|
SymbolKind.TypeParameter = 26;
|
|
5085
|
-
})(SymbolKind || (exports
|
|
5085
|
+
})(SymbolKind || (exports.SymbolKind = SymbolKind = {}));
|
|
5086
5086
|
/**
|
|
5087
5087
|
* Symbol tags are extra annotations that tweak the rendering of a symbol.
|
|
5088
5088
|
*
|
|
@@ -5094,7 +5094,7 @@ function requireMain$2 () {
|
|
|
5094
5094
|
* Render a symbol as obsolete, usually using a strike-out.
|
|
5095
5095
|
*/
|
|
5096
5096
|
SymbolTag.Deprecated = 1;
|
|
5097
|
-
})(SymbolTag || (exports
|
|
5097
|
+
})(SymbolTag || (exports.SymbolTag = SymbolTag = {}));
|
|
5098
5098
|
var SymbolInformation;
|
|
5099
5099
|
(function (SymbolInformation) {
|
|
5100
5100
|
/**
|
|
@@ -5118,7 +5118,7 @@ function requireMain$2 () {
|
|
|
5118
5118
|
return result;
|
|
5119
5119
|
}
|
|
5120
5120
|
SymbolInformation.create = create;
|
|
5121
|
-
})(SymbolInformation || (exports
|
|
5121
|
+
})(SymbolInformation || (exports.SymbolInformation = SymbolInformation = {}));
|
|
5122
5122
|
var WorkspaceSymbol;
|
|
5123
5123
|
(function (WorkspaceSymbol) {
|
|
5124
5124
|
/**
|
|
@@ -5136,7 +5136,7 @@ function requireMain$2 () {
|
|
|
5136
5136
|
: { name: name, kind: kind, location: { uri: uri } };
|
|
5137
5137
|
}
|
|
5138
5138
|
WorkspaceSymbol.create = create;
|
|
5139
|
-
})(WorkspaceSymbol || (exports
|
|
5139
|
+
})(WorkspaceSymbol || (exports.WorkspaceSymbol = WorkspaceSymbol = {}));
|
|
5140
5140
|
var DocumentSymbol;
|
|
5141
5141
|
(function (DocumentSymbol) {
|
|
5142
5142
|
/**
|
|
@@ -5177,7 +5177,7 @@ function requireMain$2 () {
|
|
|
5177
5177
|
(candidate.tags === undefined || Array.isArray(candidate.tags));
|
|
5178
5178
|
}
|
|
5179
5179
|
DocumentSymbol.is = is;
|
|
5180
|
-
})(DocumentSymbol || (exports
|
|
5180
|
+
})(DocumentSymbol || (exports.DocumentSymbol = DocumentSymbol = {}));
|
|
5181
5181
|
/**
|
|
5182
5182
|
* A set of predefined code action kinds
|
|
5183
5183
|
*/
|
|
@@ -5250,7 +5250,7 @@ function requireMain$2 () {
|
|
|
5250
5250
|
* @since 3.15.0
|
|
5251
5251
|
*/
|
|
5252
5252
|
CodeActionKind.SourceFixAll = 'source.fixAll';
|
|
5253
|
-
})(CodeActionKind || (exports
|
|
5253
|
+
})(CodeActionKind || (exports.CodeActionKind = CodeActionKind = {}));
|
|
5254
5254
|
/**
|
|
5255
5255
|
* The reason why code actions were requested.
|
|
5256
5256
|
*
|
|
@@ -5269,7 +5269,7 @@ function requireMain$2 () {
|
|
|
5269
5269
|
* also be triggered when file content changes.
|
|
5270
5270
|
*/
|
|
5271
5271
|
CodeActionTriggerKind.Automatic = 2;
|
|
5272
|
-
})(CodeActionTriggerKind || (exports
|
|
5272
|
+
})(CodeActionTriggerKind || (exports.CodeActionTriggerKind = CodeActionTriggerKind = {}));
|
|
5273
5273
|
/**
|
|
5274
5274
|
* The CodeActionContext namespace provides helper functions to work with
|
|
5275
5275
|
* {@link CodeActionContext} literals.
|
|
@@ -5300,7 +5300,7 @@ function requireMain$2 () {
|
|
|
5300
5300
|
&& (candidate.triggerKind === undefined || candidate.triggerKind === CodeActionTriggerKind.Invoked || candidate.triggerKind === CodeActionTriggerKind.Automatic);
|
|
5301
5301
|
}
|
|
5302
5302
|
CodeActionContext.is = is;
|
|
5303
|
-
})(CodeActionContext || (exports
|
|
5303
|
+
})(CodeActionContext || (exports.CodeActionContext = CodeActionContext = {}));
|
|
5304
5304
|
var CodeAction;
|
|
5305
5305
|
(function (CodeAction) {
|
|
5306
5306
|
function create(title, kindOrCommandOrEdit, kind) {
|
|
@@ -5333,7 +5333,7 @@ function requireMain$2 () {
|
|
|
5333
5333
|
(candidate.edit === undefined || WorkspaceEdit.is(candidate.edit));
|
|
5334
5334
|
}
|
|
5335
5335
|
CodeAction.is = is;
|
|
5336
|
-
})(CodeAction || (exports
|
|
5336
|
+
})(CodeAction || (exports.CodeAction = CodeAction = {}));
|
|
5337
5337
|
/**
|
|
5338
5338
|
* The CodeLens namespace provides helper functions to work with
|
|
5339
5339
|
* {@link CodeLens} literals.
|
|
@@ -5359,7 +5359,7 @@ function requireMain$2 () {
|
|
|
5359
5359
|
return Is.defined(candidate) && Range.is(candidate.range) && (Is.undefined(candidate.command) || Command.is(candidate.command));
|
|
5360
5360
|
}
|
|
5361
5361
|
CodeLens.is = is;
|
|
5362
|
-
})(CodeLens || (exports
|
|
5362
|
+
})(CodeLens || (exports.CodeLens = CodeLens = {}));
|
|
5363
5363
|
/**
|
|
5364
5364
|
* The FormattingOptions namespace provides helper functions to work with
|
|
5365
5365
|
* {@link FormattingOptions} literals.
|
|
@@ -5381,7 +5381,7 @@ function requireMain$2 () {
|
|
|
5381
5381
|
return Is.defined(candidate) && Is.uinteger(candidate.tabSize) && Is.boolean(candidate.insertSpaces);
|
|
5382
5382
|
}
|
|
5383
5383
|
FormattingOptions.is = is;
|
|
5384
|
-
})(FormattingOptions || (exports
|
|
5384
|
+
})(FormattingOptions || (exports.FormattingOptions = FormattingOptions = {}));
|
|
5385
5385
|
/**
|
|
5386
5386
|
* The DocumentLink namespace provides helper functions to work with
|
|
5387
5387
|
* {@link DocumentLink} literals.
|
|
@@ -5403,7 +5403,7 @@ function requireMain$2 () {
|
|
|
5403
5403
|
return Is.defined(candidate) && Range.is(candidate.range) && (Is.undefined(candidate.target) || Is.string(candidate.target));
|
|
5404
5404
|
}
|
|
5405
5405
|
DocumentLink.is = is;
|
|
5406
|
-
})(DocumentLink || (exports
|
|
5406
|
+
})(DocumentLink || (exports.DocumentLink = DocumentLink = {}));
|
|
5407
5407
|
/**
|
|
5408
5408
|
* The SelectionRange namespace provides helper function to work with
|
|
5409
5409
|
* SelectionRange literals.
|
|
@@ -5424,7 +5424,7 @@ function requireMain$2 () {
|
|
|
5424
5424
|
return Is.objectLiteral(candidate) && Range.is(candidate.range) && (candidate.parent === undefined || SelectionRange.is(candidate.parent));
|
|
5425
5425
|
}
|
|
5426
5426
|
SelectionRange.is = is;
|
|
5427
|
-
})(SelectionRange || (exports
|
|
5427
|
+
})(SelectionRange || (exports.SelectionRange = SelectionRange = {}));
|
|
5428
5428
|
/**
|
|
5429
5429
|
* A set of predefined token types. This set is not fixed
|
|
5430
5430
|
* an clients can specify additional token types via the
|
|
@@ -5464,7 +5464,7 @@ function requireMain$2 () {
|
|
|
5464
5464
|
* @since 3.17.0
|
|
5465
5465
|
*/
|
|
5466
5466
|
SemanticTokenTypes["decorator"] = "decorator";
|
|
5467
|
-
})(SemanticTokenTypes || (exports
|
|
5467
|
+
})(SemanticTokenTypes || (exports.SemanticTokenTypes = SemanticTokenTypes = {}));
|
|
5468
5468
|
/**
|
|
5469
5469
|
* A set of predefined token modifiers. This set is not fixed
|
|
5470
5470
|
* an clients can specify additional token types via the
|
|
@@ -5484,7 +5484,7 @@ function requireMain$2 () {
|
|
|
5484
5484
|
SemanticTokenModifiers["modification"] = "modification";
|
|
5485
5485
|
SemanticTokenModifiers["documentation"] = "documentation";
|
|
5486
5486
|
SemanticTokenModifiers["defaultLibrary"] = "defaultLibrary";
|
|
5487
|
-
})(SemanticTokenModifiers || (exports
|
|
5487
|
+
})(SemanticTokenModifiers || (exports.SemanticTokenModifiers = SemanticTokenModifiers = {}));
|
|
5488
5488
|
/**
|
|
5489
5489
|
* @since 3.16.0
|
|
5490
5490
|
*/
|
|
@@ -5496,7 +5496,7 @@ function requireMain$2 () {
|
|
|
5496
5496
|
Array.isArray(candidate.data) && (candidate.data.length === 0 || typeof candidate.data[0] === 'number');
|
|
5497
5497
|
}
|
|
5498
5498
|
SemanticTokens.is = is;
|
|
5499
|
-
})(SemanticTokens || (exports
|
|
5499
|
+
})(SemanticTokens || (exports.SemanticTokens = SemanticTokens = {}));
|
|
5500
5500
|
/**
|
|
5501
5501
|
* The InlineValueText namespace provides functions to deal with InlineValueTexts.
|
|
5502
5502
|
*
|
|
@@ -5516,7 +5516,7 @@ function requireMain$2 () {
|
|
|
5516
5516
|
return candidate !== undefined && candidate !== null && Range.is(candidate.range) && Is.string(candidate.text);
|
|
5517
5517
|
}
|
|
5518
5518
|
InlineValueText.is = is;
|
|
5519
|
-
})(InlineValueText || (exports
|
|
5519
|
+
})(InlineValueText || (exports.InlineValueText = InlineValueText = {}));
|
|
5520
5520
|
/**
|
|
5521
5521
|
* The InlineValueVariableLookup namespace provides functions to deal with InlineValueVariableLookups.
|
|
5522
5522
|
*
|
|
@@ -5537,7 +5537,7 @@ function requireMain$2 () {
|
|
|
5537
5537
|
&& (Is.string(candidate.variableName) || candidate.variableName === undefined);
|
|
5538
5538
|
}
|
|
5539
5539
|
InlineValueVariableLookup.is = is;
|
|
5540
|
-
})(InlineValueVariableLookup || (exports
|
|
5540
|
+
})(InlineValueVariableLookup || (exports.InlineValueVariableLookup = InlineValueVariableLookup = {}));
|
|
5541
5541
|
/**
|
|
5542
5542
|
* The InlineValueEvaluatableExpression namespace provides functions to deal with InlineValueEvaluatableExpression.
|
|
5543
5543
|
*
|
|
@@ -5558,7 +5558,7 @@ function requireMain$2 () {
|
|
|
5558
5558
|
&& (Is.string(candidate.expression) || candidate.expression === undefined);
|
|
5559
5559
|
}
|
|
5560
5560
|
InlineValueEvaluatableExpression.is = is;
|
|
5561
|
-
})(InlineValueEvaluatableExpression || (exports
|
|
5561
|
+
})(InlineValueEvaluatableExpression || (exports.InlineValueEvaluatableExpression = InlineValueEvaluatableExpression = {}));
|
|
5562
5562
|
/**
|
|
5563
5563
|
* The InlineValueContext namespace provides helper functions to work with
|
|
5564
5564
|
* {@link InlineValueContext} literals.
|
|
@@ -5582,7 +5582,7 @@ function requireMain$2 () {
|
|
|
5582
5582
|
return Is.defined(candidate) && Range.is(value.stoppedLocation);
|
|
5583
5583
|
}
|
|
5584
5584
|
InlineValueContext.is = is;
|
|
5585
|
-
})(InlineValueContext || (exports
|
|
5585
|
+
})(InlineValueContext || (exports.InlineValueContext = InlineValueContext = {}));
|
|
5586
5586
|
/**
|
|
5587
5587
|
* Inlay hint kinds.
|
|
5588
5588
|
*
|
|
@@ -5602,7 +5602,7 @@ function requireMain$2 () {
|
|
|
5602
5602
|
return value === 1 || value === 2;
|
|
5603
5603
|
}
|
|
5604
5604
|
InlayHintKind.is = is;
|
|
5605
|
-
})(InlayHintKind || (exports
|
|
5605
|
+
})(InlayHintKind || (exports.InlayHintKind = InlayHintKind = {}));
|
|
5606
5606
|
var InlayHintLabelPart;
|
|
5607
5607
|
(function (InlayHintLabelPart) {
|
|
5608
5608
|
function create(value) {
|
|
@@ -5617,7 +5617,7 @@ function requireMain$2 () {
|
|
|
5617
5617
|
&& (candidate.command === undefined || Command.is(candidate.command));
|
|
5618
5618
|
}
|
|
5619
5619
|
InlayHintLabelPart.is = is;
|
|
5620
|
-
})(InlayHintLabelPart || (exports
|
|
5620
|
+
})(InlayHintLabelPart || (exports.InlayHintLabelPart = InlayHintLabelPart = {}));
|
|
5621
5621
|
var InlayHint;
|
|
5622
5622
|
(function (InlayHint) {
|
|
5623
5623
|
function create(position, label, kind) {
|
|
@@ -5639,28 +5639,28 @@ function requireMain$2 () {
|
|
|
5639
5639
|
&& (candidate.paddingRight === undefined || Is.boolean(candidate.paddingRight));
|
|
5640
5640
|
}
|
|
5641
5641
|
InlayHint.is = is;
|
|
5642
|
-
})(InlayHint || (exports
|
|
5642
|
+
})(InlayHint || (exports.InlayHint = InlayHint = {}));
|
|
5643
5643
|
var StringValue;
|
|
5644
5644
|
(function (StringValue) {
|
|
5645
5645
|
function createSnippet(value) {
|
|
5646
5646
|
return { kind: 'snippet', value: value };
|
|
5647
5647
|
}
|
|
5648
5648
|
StringValue.createSnippet = createSnippet;
|
|
5649
|
-
})(StringValue || (exports
|
|
5649
|
+
})(StringValue || (exports.StringValue = StringValue = {}));
|
|
5650
5650
|
var InlineCompletionItem;
|
|
5651
5651
|
(function (InlineCompletionItem) {
|
|
5652
5652
|
function create(insertText, filterText, range, command) {
|
|
5653
5653
|
return { insertText: insertText, filterText: filterText, range: range, command: command };
|
|
5654
5654
|
}
|
|
5655
5655
|
InlineCompletionItem.create = create;
|
|
5656
|
-
})(InlineCompletionItem || (exports
|
|
5656
|
+
})(InlineCompletionItem || (exports.InlineCompletionItem = InlineCompletionItem = {}));
|
|
5657
5657
|
var InlineCompletionList;
|
|
5658
5658
|
(function (InlineCompletionList) {
|
|
5659
5659
|
function create(items) {
|
|
5660
5660
|
return { items: items };
|
|
5661
5661
|
}
|
|
5662
5662
|
InlineCompletionList.create = create;
|
|
5663
|
-
})(InlineCompletionList || (exports
|
|
5663
|
+
})(InlineCompletionList || (exports.InlineCompletionList = InlineCompletionList = {}));
|
|
5664
5664
|
/**
|
|
5665
5665
|
* Describes how an {@link InlineCompletionItemProvider inline completion provider} was triggered.
|
|
5666
5666
|
*
|
|
@@ -5677,21 +5677,21 @@ function requireMain$2 () {
|
|
|
5677
5677
|
* Completion was triggered automatically while editing.
|
|
5678
5678
|
*/
|
|
5679
5679
|
InlineCompletionTriggerKind.Automatic = 1;
|
|
5680
|
-
})(InlineCompletionTriggerKind || (exports
|
|
5680
|
+
})(InlineCompletionTriggerKind || (exports.InlineCompletionTriggerKind = InlineCompletionTriggerKind = {}));
|
|
5681
5681
|
var SelectedCompletionInfo;
|
|
5682
5682
|
(function (SelectedCompletionInfo) {
|
|
5683
5683
|
function create(range, text) {
|
|
5684
5684
|
return { range: range, text: text };
|
|
5685
5685
|
}
|
|
5686
5686
|
SelectedCompletionInfo.create = create;
|
|
5687
|
-
})(SelectedCompletionInfo || (exports
|
|
5687
|
+
})(SelectedCompletionInfo || (exports.SelectedCompletionInfo = SelectedCompletionInfo = {}));
|
|
5688
5688
|
var InlineCompletionContext;
|
|
5689
5689
|
(function (InlineCompletionContext) {
|
|
5690
5690
|
function create(triggerKind, selectedCompletionInfo) {
|
|
5691
5691
|
return { triggerKind: triggerKind, selectedCompletionInfo: selectedCompletionInfo };
|
|
5692
5692
|
}
|
|
5693
5693
|
InlineCompletionContext.create = create;
|
|
5694
|
-
})(InlineCompletionContext || (exports
|
|
5694
|
+
})(InlineCompletionContext || (exports.InlineCompletionContext = InlineCompletionContext = {}));
|
|
5695
5695
|
var WorkspaceFolder;
|
|
5696
5696
|
(function (WorkspaceFolder) {
|
|
5697
5697
|
function is(value) {
|
|
@@ -5699,8 +5699,8 @@ function requireMain$2 () {
|
|
|
5699
5699
|
return Is.objectLiteral(candidate) && URI.is(candidate.uri) && Is.string(candidate.name);
|
|
5700
5700
|
}
|
|
5701
5701
|
WorkspaceFolder.is = is;
|
|
5702
|
-
})(WorkspaceFolder || (exports
|
|
5703
|
-
exports
|
|
5702
|
+
})(WorkspaceFolder || (exports.WorkspaceFolder = WorkspaceFolder = {}));
|
|
5703
|
+
exports.EOL = ['\n', '\r\n', '\r'];
|
|
5704
5704
|
/**
|
|
5705
5705
|
* @deprecated Use the text document from the new vscode-languageserver-textdocument package.
|
|
5706
5706
|
*/
|
|
@@ -5783,7 +5783,7 @@ function requireMain$2 () {
|
|
|
5783
5783
|
}
|
|
5784
5784
|
return data;
|
|
5785
5785
|
}
|
|
5786
|
-
})(TextDocument || (exports
|
|
5786
|
+
})(TextDocument || (exports.TextDocument = TextDocument = {}));
|
|
5787
5787
|
/**
|
|
5788
5788
|
* @deprecated Use the text document from the new vscode-languageserver-textdocument package.
|
|
5789
5789
|
*/
|
|
@@ -7217,98 +7217,98 @@ var hasRequiredProtocol;
|
|
|
7217
7217
|
function requireProtocol () {
|
|
7218
7218
|
if (hasRequiredProtocol) return protocol;
|
|
7219
7219
|
hasRequiredProtocol = 1;
|
|
7220
|
-
(function (exports
|
|
7220
|
+
(function (exports) {
|
|
7221
7221
|
/* --------------------------------------------------------------------------------------------
|
|
7222
7222
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7223
7223
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
7224
7224
|
* ------------------------------------------------------------------------------------------ */
|
|
7225
|
-
Object.defineProperty(exports
|
|
7226
|
-
exports
|
|
7227
|
-
exports
|
|
7228
|
-
exports
|
|
7225
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7226
|
+
exports.WorkspaceSymbolRequest = exports.CodeActionResolveRequest = exports.CodeActionRequest = exports.DocumentSymbolRequest = exports.DocumentHighlightRequest = exports.ReferencesRequest = exports.DefinitionRequest = exports.SignatureHelpRequest = exports.SignatureHelpTriggerKind = exports.HoverRequest = exports.CompletionResolveRequest = exports.CompletionRequest = exports.CompletionTriggerKind = exports.PublishDiagnosticsNotification = exports.WatchKind = exports.RelativePattern = exports.FileChangeType = exports.DidChangeWatchedFilesNotification = exports.WillSaveTextDocumentWaitUntilRequest = exports.WillSaveTextDocumentNotification = exports.TextDocumentSaveReason = exports.DidSaveTextDocumentNotification = exports.DidCloseTextDocumentNotification = exports.DidChangeTextDocumentNotification = exports.TextDocumentContentChangeEvent = exports.DidOpenTextDocumentNotification = exports.TextDocumentSyncKind = exports.TelemetryEventNotification = exports.LogMessageNotification = exports.ShowMessageRequest = exports.ShowMessageNotification = exports.MessageType = exports.DidChangeConfigurationNotification = exports.ExitNotification = exports.ShutdownRequest = exports.InitializedNotification = exports.InitializeErrorCodes = exports.InitializeRequest = exports.WorkDoneProgressOptions = exports.TextDocumentRegistrationOptions = exports.StaticRegistrationOptions = exports.PositionEncodingKind = exports.FailureHandlingKind = exports.ResourceOperationKind = exports.UnregistrationRequest = exports.RegistrationRequest = exports.DocumentSelector = exports.NotebookCellTextDocumentFilter = exports.NotebookDocumentFilter = exports.TextDocumentFilter = void 0;
|
|
7227
|
+
exports.MonikerRequest = exports.MonikerKind = exports.UniquenessLevel = exports.WillDeleteFilesRequest = exports.DidDeleteFilesNotification = exports.WillRenameFilesRequest = exports.DidRenameFilesNotification = exports.WillCreateFilesRequest = exports.DidCreateFilesNotification = exports.FileOperationPatternKind = exports.LinkedEditingRangeRequest = exports.ShowDocumentRequest = exports.SemanticTokensRegistrationType = exports.SemanticTokensRefreshRequest = exports.SemanticTokensRangeRequest = exports.SemanticTokensDeltaRequest = exports.SemanticTokensRequest = exports.TokenFormat = exports.CallHierarchyPrepareRequest = exports.CallHierarchyOutgoingCallsRequest = exports.CallHierarchyIncomingCallsRequest = exports.WorkDoneProgressCancelNotification = exports.WorkDoneProgressCreateRequest = exports.WorkDoneProgress = exports.SelectionRangeRequest = exports.DeclarationRequest = exports.FoldingRangeRefreshRequest = exports.FoldingRangeRequest = exports.ColorPresentationRequest = exports.DocumentColorRequest = exports.ConfigurationRequest = exports.DidChangeWorkspaceFoldersNotification = exports.WorkspaceFoldersRequest = exports.TypeDefinitionRequest = exports.ImplementationRequest = exports.ApplyWorkspaceEditRequest = exports.ExecuteCommandRequest = exports.PrepareRenameRequest = exports.RenameRequest = exports.PrepareSupportDefaultBehavior = exports.DocumentOnTypeFormattingRequest = exports.DocumentRangesFormattingRequest = exports.DocumentRangeFormattingRequest = exports.DocumentFormattingRequest = exports.DocumentLinkResolveRequest = exports.DocumentLinkRequest = exports.CodeLensRefreshRequest = exports.CodeLensResolveRequest = exports.CodeLensRequest = exports.WorkspaceSymbolResolveRequest = void 0;
|
|
7228
|
+
exports.InlineCompletionRequest = exports.DidCloseNotebookDocumentNotification = exports.DidSaveNotebookDocumentNotification = exports.DidChangeNotebookDocumentNotification = exports.NotebookCellArrayChange = exports.DidOpenNotebookDocumentNotification = exports.NotebookDocumentSyncRegistrationType = exports.NotebookDocument = exports.NotebookCell = exports.ExecutionSummary = exports.NotebookCellKind = exports.DiagnosticRefreshRequest = exports.WorkspaceDiagnosticRequest = exports.DocumentDiagnosticRequest = exports.DocumentDiagnosticReportKind = exports.DiagnosticServerCancellationData = exports.InlayHintRefreshRequest = exports.InlayHintResolveRequest = exports.InlayHintRequest = exports.InlineValueRefreshRequest = exports.InlineValueRequest = exports.TypeHierarchySupertypesRequest = exports.TypeHierarchySubtypesRequest = exports.TypeHierarchyPrepareRequest = void 0;
|
|
7229
7229
|
const messages_1 = requireMessages();
|
|
7230
7230
|
const vscode_languageserver_types_1 = requireMain$2();
|
|
7231
7231
|
const Is = requireIs();
|
|
7232
7232
|
const protocol_implementation_1 = requireProtocol_implementation();
|
|
7233
|
-
Object.defineProperty(exports
|
|
7233
|
+
Object.defineProperty(exports, "ImplementationRequest", { enumerable: true, get: function () { return protocol_implementation_1.ImplementationRequest; } });
|
|
7234
7234
|
const protocol_typeDefinition_1 = requireProtocol_typeDefinition();
|
|
7235
|
-
Object.defineProperty(exports
|
|
7235
|
+
Object.defineProperty(exports, "TypeDefinitionRequest", { enumerable: true, get: function () { return protocol_typeDefinition_1.TypeDefinitionRequest; } });
|
|
7236
7236
|
const protocol_workspaceFolder_1 = requireProtocol_workspaceFolder();
|
|
7237
|
-
Object.defineProperty(exports
|
|
7238
|
-
Object.defineProperty(exports
|
|
7237
|
+
Object.defineProperty(exports, "WorkspaceFoldersRequest", { enumerable: true, get: function () { return protocol_workspaceFolder_1.WorkspaceFoldersRequest; } });
|
|
7238
|
+
Object.defineProperty(exports, "DidChangeWorkspaceFoldersNotification", { enumerable: true, get: function () { return protocol_workspaceFolder_1.DidChangeWorkspaceFoldersNotification; } });
|
|
7239
7239
|
const protocol_configuration_1 = requireProtocol_configuration();
|
|
7240
|
-
Object.defineProperty(exports
|
|
7240
|
+
Object.defineProperty(exports, "ConfigurationRequest", { enumerable: true, get: function () { return protocol_configuration_1.ConfigurationRequest; } });
|
|
7241
7241
|
const protocol_colorProvider_1 = requireProtocol_colorProvider();
|
|
7242
|
-
Object.defineProperty(exports
|
|
7243
|
-
Object.defineProperty(exports
|
|
7242
|
+
Object.defineProperty(exports, "DocumentColorRequest", { enumerable: true, get: function () { return protocol_colorProvider_1.DocumentColorRequest; } });
|
|
7243
|
+
Object.defineProperty(exports, "ColorPresentationRequest", { enumerable: true, get: function () { return protocol_colorProvider_1.ColorPresentationRequest; } });
|
|
7244
7244
|
const protocol_foldingRange_1 = requireProtocol_foldingRange();
|
|
7245
|
-
Object.defineProperty(exports
|
|
7246
|
-
Object.defineProperty(exports
|
|
7245
|
+
Object.defineProperty(exports, "FoldingRangeRequest", { enumerable: true, get: function () { return protocol_foldingRange_1.FoldingRangeRequest; } });
|
|
7246
|
+
Object.defineProperty(exports, "FoldingRangeRefreshRequest", { enumerable: true, get: function () { return protocol_foldingRange_1.FoldingRangeRefreshRequest; } });
|
|
7247
7247
|
const protocol_declaration_1 = requireProtocol_declaration();
|
|
7248
|
-
Object.defineProperty(exports
|
|
7248
|
+
Object.defineProperty(exports, "DeclarationRequest", { enumerable: true, get: function () { return protocol_declaration_1.DeclarationRequest; } });
|
|
7249
7249
|
const protocol_selectionRange_1 = requireProtocol_selectionRange();
|
|
7250
|
-
Object.defineProperty(exports
|
|
7250
|
+
Object.defineProperty(exports, "SelectionRangeRequest", { enumerable: true, get: function () { return protocol_selectionRange_1.SelectionRangeRequest; } });
|
|
7251
7251
|
const protocol_progress_1 = requireProtocol_progress();
|
|
7252
|
-
Object.defineProperty(exports
|
|
7253
|
-
Object.defineProperty(exports
|
|
7254
|
-
Object.defineProperty(exports
|
|
7252
|
+
Object.defineProperty(exports, "WorkDoneProgress", { enumerable: true, get: function () { return protocol_progress_1.WorkDoneProgress; } });
|
|
7253
|
+
Object.defineProperty(exports, "WorkDoneProgressCreateRequest", { enumerable: true, get: function () { return protocol_progress_1.WorkDoneProgressCreateRequest; } });
|
|
7254
|
+
Object.defineProperty(exports, "WorkDoneProgressCancelNotification", { enumerable: true, get: function () { return protocol_progress_1.WorkDoneProgressCancelNotification; } });
|
|
7255
7255
|
const protocol_callHierarchy_1 = requireProtocol_callHierarchy();
|
|
7256
|
-
Object.defineProperty(exports
|
|
7257
|
-
Object.defineProperty(exports
|
|
7258
|
-
Object.defineProperty(exports
|
|
7256
|
+
Object.defineProperty(exports, "CallHierarchyIncomingCallsRequest", { enumerable: true, get: function () { return protocol_callHierarchy_1.CallHierarchyIncomingCallsRequest; } });
|
|
7257
|
+
Object.defineProperty(exports, "CallHierarchyOutgoingCallsRequest", { enumerable: true, get: function () { return protocol_callHierarchy_1.CallHierarchyOutgoingCallsRequest; } });
|
|
7258
|
+
Object.defineProperty(exports, "CallHierarchyPrepareRequest", { enumerable: true, get: function () { return protocol_callHierarchy_1.CallHierarchyPrepareRequest; } });
|
|
7259
7259
|
const protocol_semanticTokens_1 = requireProtocol_semanticTokens();
|
|
7260
|
-
Object.defineProperty(exports
|
|
7261
|
-
Object.defineProperty(exports
|
|
7262
|
-
Object.defineProperty(exports
|
|
7263
|
-
Object.defineProperty(exports
|
|
7264
|
-
Object.defineProperty(exports
|
|
7265
|
-
Object.defineProperty(exports
|
|
7260
|
+
Object.defineProperty(exports, "TokenFormat", { enumerable: true, get: function () { return protocol_semanticTokens_1.TokenFormat; } });
|
|
7261
|
+
Object.defineProperty(exports, "SemanticTokensRequest", { enumerable: true, get: function () { return protocol_semanticTokens_1.SemanticTokensRequest; } });
|
|
7262
|
+
Object.defineProperty(exports, "SemanticTokensDeltaRequest", { enumerable: true, get: function () { return protocol_semanticTokens_1.SemanticTokensDeltaRequest; } });
|
|
7263
|
+
Object.defineProperty(exports, "SemanticTokensRangeRequest", { enumerable: true, get: function () { return protocol_semanticTokens_1.SemanticTokensRangeRequest; } });
|
|
7264
|
+
Object.defineProperty(exports, "SemanticTokensRefreshRequest", { enumerable: true, get: function () { return protocol_semanticTokens_1.SemanticTokensRefreshRequest; } });
|
|
7265
|
+
Object.defineProperty(exports, "SemanticTokensRegistrationType", { enumerable: true, get: function () { return protocol_semanticTokens_1.SemanticTokensRegistrationType; } });
|
|
7266
7266
|
const protocol_showDocument_1 = requireProtocol_showDocument();
|
|
7267
|
-
Object.defineProperty(exports
|
|
7267
|
+
Object.defineProperty(exports, "ShowDocumentRequest", { enumerable: true, get: function () { return protocol_showDocument_1.ShowDocumentRequest; } });
|
|
7268
7268
|
const protocol_linkedEditingRange_1 = requireProtocol_linkedEditingRange();
|
|
7269
|
-
Object.defineProperty(exports
|
|
7269
|
+
Object.defineProperty(exports, "LinkedEditingRangeRequest", { enumerable: true, get: function () { return protocol_linkedEditingRange_1.LinkedEditingRangeRequest; } });
|
|
7270
7270
|
const protocol_fileOperations_1 = requireProtocol_fileOperations();
|
|
7271
|
-
Object.defineProperty(exports
|
|
7272
|
-
Object.defineProperty(exports
|
|
7273
|
-
Object.defineProperty(exports
|
|
7274
|
-
Object.defineProperty(exports
|
|
7275
|
-
Object.defineProperty(exports
|
|
7276
|
-
Object.defineProperty(exports
|
|
7277
|
-
Object.defineProperty(exports
|
|
7271
|
+
Object.defineProperty(exports, "FileOperationPatternKind", { enumerable: true, get: function () { return protocol_fileOperations_1.FileOperationPatternKind; } });
|
|
7272
|
+
Object.defineProperty(exports, "DidCreateFilesNotification", { enumerable: true, get: function () { return protocol_fileOperations_1.DidCreateFilesNotification; } });
|
|
7273
|
+
Object.defineProperty(exports, "WillCreateFilesRequest", { enumerable: true, get: function () { return protocol_fileOperations_1.WillCreateFilesRequest; } });
|
|
7274
|
+
Object.defineProperty(exports, "DidRenameFilesNotification", { enumerable: true, get: function () { return protocol_fileOperations_1.DidRenameFilesNotification; } });
|
|
7275
|
+
Object.defineProperty(exports, "WillRenameFilesRequest", { enumerable: true, get: function () { return protocol_fileOperations_1.WillRenameFilesRequest; } });
|
|
7276
|
+
Object.defineProperty(exports, "DidDeleteFilesNotification", { enumerable: true, get: function () { return protocol_fileOperations_1.DidDeleteFilesNotification; } });
|
|
7277
|
+
Object.defineProperty(exports, "WillDeleteFilesRequest", { enumerable: true, get: function () { return protocol_fileOperations_1.WillDeleteFilesRequest; } });
|
|
7278
7278
|
const protocol_moniker_1 = requireProtocol_moniker();
|
|
7279
|
-
Object.defineProperty(exports
|
|
7280
|
-
Object.defineProperty(exports
|
|
7281
|
-
Object.defineProperty(exports
|
|
7279
|
+
Object.defineProperty(exports, "UniquenessLevel", { enumerable: true, get: function () { return protocol_moniker_1.UniquenessLevel; } });
|
|
7280
|
+
Object.defineProperty(exports, "MonikerKind", { enumerable: true, get: function () { return protocol_moniker_1.MonikerKind; } });
|
|
7281
|
+
Object.defineProperty(exports, "MonikerRequest", { enumerable: true, get: function () { return protocol_moniker_1.MonikerRequest; } });
|
|
7282
7282
|
const protocol_typeHierarchy_1 = requireProtocol_typeHierarchy();
|
|
7283
|
-
Object.defineProperty(exports
|
|
7284
|
-
Object.defineProperty(exports
|
|
7285
|
-
Object.defineProperty(exports
|
|
7283
|
+
Object.defineProperty(exports, "TypeHierarchyPrepareRequest", { enumerable: true, get: function () { return protocol_typeHierarchy_1.TypeHierarchyPrepareRequest; } });
|
|
7284
|
+
Object.defineProperty(exports, "TypeHierarchySubtypesRequest", { enumerable: true, get: function () { return protocol_typeHierarchy_1.TypeHierarchySubtypesRequest; } });
|
|
7285
|
+
Object.defineProperty(exports, "TypeHierarchySupertypesRequest", { enumerable: true, get: function () { return protocol_typeHierarchy_1.TypeHierarchySupertypesRequest; } });
|
|
7286
7286
|
const protocol_inlineValue_1 = requireProtocol_inlineValue();
|
|
7287
|
-
Object.defineProperty(exports
|
|
7288
|
-
Object.defineProperty(exports
|
|
7287
|
+
Object.defineProperty(exports, "InlineValueRequest", { enumerable: true, get: function () { return protocol_inlineValue_1.InlineValueRequest; } });
|
|
7288
|
+
Object.defineProperty(exports, "InlineValueRefreshRequest", { enumerable: true, get: function () { return protocol_inlineValue_1.InlineValueRefreshRequest; } });
|
|
7289
7289
|
const protocol_inlayHint_1 = requireProtocol_inlayHint();
|
|
7290
|
-
Object.defineProperty(exports
|
|
7291
|
-
Object.defineProperty(exports
|
|
7292
|
-
Object.defineProperty(exports
|
|
7290
|
+
Object.defineProperty(exports, "InlayHintRequest", { enumerable: true, get: function () { return protocol_inlayHint_1.InlayHintRequest; } });
|
|
7291
|
+
Object.defineProperty(exports, "InlayHintResolveRequest", { enumerable: true, get: function () { return protocol_inlayHint_1.InlayHintResolveRequest; } });
|
|
7292
|
+
Object.defineProperty(exports, "InlayHintRefreshRequest", { enumerable: true, get: function () { return protocol_inlayHint_1.InlayHintRefreshRequest; } });
|
|
7293
7293
|
const protocol_diagnostic_1 = requireProtocol_diagnostic();
|
|
7294
|
-
Object.defineProperty(exports
|
|
7295
|
-
Object.defineProperty(exports
|
|
7296
|
-
Object.defineProperty(exports
|
|
7297
|
-
Object.defineProperty(exports
|
|
7298
|
-
Object.defineProperty(exports
|
|
7294
|
+
Object.defineProperty(exports, "DiagnosticServerCancellationData", { enumerable: true, get: function () { return protocol_diagnostic_1.DiagnosticServerCancellationData; } });
|
|
7295
|
+
Object.defineProperty(exports, "DocumentDiagnosticReportKind", { enumerable: true, get: function () { return protocol_diagnostic_1.DocumentDiagnosticReportKind; } });
|
|
7296
|
+
Object.defineProperty(exports, "DocumentDiagnosticRequest", { enumerable: true, get: function () { return protocol_diagnostic_1.DocumentDiagnosticRequest; } });
|
|
7297
|
+
Object.defineProperty(exports, "WorkspaceDiagnosticRequest", { enumerable: true, get: function () { return protocol_diagnostic_1.WorkspaceDiagnosticRequest; } });
|
|
7298
|
+
Object.defineProperty(exports, "DiagnosticRefreshRequest", { enumerable: true, get: function () { return protocol_diagnostic_1.DiagnosticRefreshRequest; } });
|
|
7299
7299
|
const protocol_notebook_1 = requireProtocol_notebook();
|
|
7300
|
-
Object.defineProperty(exports
|
|
7301
|
-
Object.defineProperty(exports
|
|
7302
|
-
Object.defineProperty(exports
|
|
7303
|
-
Object.defineProperty(exports
|
|
7304
|
-
Object.defineProperty(exports
|
|
7305
|
-
Object.defineProperty(exports
|
|
7306
|
-
Object.defineProperty(exports
|
|
7307
|
-
Object.defineProperty(exports
|
|
7308
|
-
Object.defineProperty(exports
|
|
7309
|
-
Object.defineProperty(exports
|
|
7300
|
+
Object.defineProperty(exports, "NotebookCellKind", { enumerable: true, get: function () { return protocol_notebook_1.NotebookCellKind; } });
|
|
7301
|
+
Object.defineProperty(exports, "ExecutionSummary", { enumerable: true, get: function () { return protocol_notebook_1.ExecutionSummary; } });
|
|
7302
|
+
Object.defineProperty(exports, "NotebookCell", { enumerable: true, get: function () { return protocol_notebook_1.NotebookCell; } });
|
|
7303
|
+
Object.defineProperty(exports, "NotebookDocument", { enumerable: true, get: function () { return protocol_notebook_1.NotebookDocument; } });
|
|
7304
|
+
Object.defineProperty(exports, "NotebookDocumentSyncRegistrationType", { enumerable: true, get: function () { return protocol_notebook_1.NotebookDocumentSyncRegistrationType; } });
|
|
7305
|
+
Object.defineProperty(exports, "DidOpenNotebookDocumentNotification", { enumerable: true, get: function () { return protocol_notebook_1.DidOpenNotebookDocumentNotification; } });
|
|
7306
|
+
Object.defineProperty(exports, "NotebookCellArrayChange", { enumerable: true, get: function () { return protocol_notebook_1.NotebookCellArrayChange; } });
|
|
7307
|
+
Object.defineProperty(exports, "DidChangeNotebookDocumentNotification", { enumerable: true, get: function () { return protocol_notebook_1.DidChangeNotebookDocumentNotification; } });
|
|
7308
|
+
Object.defineProperty(exports, "DidSaveNotebookDocumentNotification", { enumerable: true, get: function () { return protocol_notebook_1.DidSaveNotebookDocumentNotification; } });
|
|
7309
|
+
Object.defineProperty(exports, "DidCloseNotebookDocumentNotification", { enumerable: true, get: function () { return protocol_notebook_1.DidCloseNotebookDocumentNotification; } });
|
|
7310
7310
|
const protocol_inlineCompletion_1 = requireProtocol_inlineCompletion();
|
|
7311
|
-
Object.defineProperty(exports
|
|
7311
|
+
Object.defineProperty(exports, "InlineCompletionRequest", { enumerable: true, get: function () { return protocol_inlineCompletion_1.InlineCompletionRequest; } });
|
|
7312
7312
|
/**
|
|
7313
7313
|
* The TextDocumentFilter namespace provides helper functions to work with
|
|
7314
7314
|
* {@link TextDocumentFilter} literals.
|
|
@@ -7322,7 +7322,7 @@ function requireProtocol () {
|
|
|
7322
7322
|
return Is.string(candidate) || (Is.string(candidate.language) || Is.string(candidate.scheme) || Is.string(candidate.pattern));
|
|
7323
7323
|
}
|
|
7324
7324
|
TextDocumentFilter.is = is;
|
|
7325
|
-
})(TextDocumentFilter || (exports
|
|
7325
|
+
})(TextDocumentFilter || (exports.TextDocumentFilter = TextDocumentFilter = {}));
|
|
7326
7326
|
/**
|
|
7327
7327
|
* The NotebookDocumentFilter namespace provides helper functions to work with
|
|
7328
7328
|
* {@link NotebookDocumentFilter} literals.
|
|
@@ -7336,7 +7336,7 @@ function requireProtocol () {
|
|
|
7336
7336
|
return Is.objectLiteral(candidate) && (Is.string(candidate.notebookType) || Is.string(candidate.scheme) || Is.string(candidate.pattern));
|
|
7337
7337
|
}
|
|
7338
7338
|
NotebookDocumentFilter.is = is;
|
|
7339
|
-
})(NotebookDocumentFilter || (exports
|
|
7339
|
+
})(NotebookDocumentFilter || (exports.NotebookDocumentFilter = NotebookDocumentFilter = {}));
|
|
7340
7340
|
/**
|
|
7341
7341
|
* The NotebookCellTextDocumentFilter namespace provides helper functions to work with
|
|
7342
7342
|
* {@link NotebookCellTextDocumentFilter} literals.
|
|
@@ -7352,7 +7352,7 @@ function requireProtocol () {
|
|
|
7352
7352
|
&& (candidate.language === undefined || Is.string(candidate.language));
|
|
7353
7353
|
}
|
|
7354
7354
|
NotebookCellTextDocumentFilter.is = is;
|
|
7355
|
-
})(NotebookCellTextDocumentFilter || (exports
|
|
7355
|
+
})(NotebookCellTextDocumentFilter || (exports.NotebookCellTextDocumentFilter = NotebookCellTextDocumentFilter = {}));
|
|
7356
7356
|
/**
|
|
7357
7357
|
* The DocumentSelector namespace provides helper functions to work with
|
|
7358
7358
|
* {@link DocumentSelector}s.
|
|
@@ -7371,7 +7371,7 @@ function requireProtocol () {
|
|
|
7371
7371
|
return true;
|
|
7372
7372
|
}
|
|
7373
7373
|
DocumentSelector.is = is;
|
|
7374
|
-
})(DocumentSelector || (exports
|
|
7374
|
+
})(DocumentSelector || (exports.DocumentSelector = DocumentSelector = {}));
|
|
7375
7375
|
/**
|
|
7376
7376
|
* The `client/registerCapability` request is sent from the server to the client to register a new capability
|
|
7377
7377
|
* handler on the client side.
|
|
@@ -7381,7 +7381,7 @@ function requireProtocol () {
|
|
|
7381
7381
|
RegistrationRequest.method = 'client/registerCapability';
|
|
7382
7382
|
RegistrationRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7383
7383
|
RegistrationRequest.type = new messages_1.ProtocolRequestType(RegistrationRequest.method);
|
|
7384
|
-
})(RegistrationRequest || (exports
|
|
7384
|
+
})(RegistrationRequest || (exports.RegistrationRequest = RegistrationRequest = {}));
|
|
7385
7385
|
/**
|
|
7386
7386
|
* The `client/unregisterCapability` request is sent from the server to the client to unregister a previously registered capability
|
|
7387
7387
|
* handler on the client side.
|
|
@@ -7391,7 +7391,7 @@ function requireProtocol () {
|
|
|
7391
7391
|
UnregistrationRequest.method = 'client/unregisterCapability';
|
|
7392
7392
|
UnregistrationRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7393
7393
|
UnregistrationRequest.type = new messages_1.ProtocolRequestType(UnregistrationRequest.method);
|
|
7394
|
-
})(UnregistrationRequest || (exports
|
|
7394
|
+
})(UnregistrationRequest || (exports.UnregistrationRequest = UnregistrationRequest = {}));
|
|
7395
7395
|
var ResourceOperationKind;
|
|
7396
7396
|
(function (ResourceOperationKind) {
|
|
7397
7397
|
/**
|
|
@@ -7406,7 +7406,7 @@ function requireProtocol () {
|
|
|
7406
7406
|
* Supports deleting existing files and folders.
|
|
7407
7407
|
*/
|
|
7408
7408
|
ResourceOperationKind.Delete = 'delete';
|
|
7409
|
-
})(ResourceOperationKind || (exports
|
|
7409
|
+
})(ResourceOperationKind || (exports.ResourceOperationKind = ResourceOperationKind = {}));
|
|
7410
7410
|
var FailureHandlingKind;
|
|
7411
7411
|
(function (FailureHandlingKind) {
|
|
7412
7412
|
/**
|
|
@@ -7430,7 +7430,7 @@ function requireProtocol () {
|
|
|
7430
7430
|
* guarantee that this is succeeding.
|
|
7431
7431
|
*/
|
|
7432
7432
|
FailureHandlingKind.Undo = 'undo';
|
|
7433
|
-
})(FailureHandlingKind || (exports
|
|
7433
|
+
})(FailureHandlingKind || (exports.FailureHandlingKind = FailureHandlingKind = {}));
|
|
7434
7434
|
/**
|
|
7435
7435
|
* A set of predefined position encoding kinds.
|
|
7436
7436
|
*
|
|
@@ -7457,7 +7457,7 @@ function requireProtocol () {
|
|
|
7457
7457
|
* encoding-agnostic representation of character offsets.
|
|
7458
7458
|
*/
|
|
7459
7459
|
PositionEncodingKind.UTF32 = 'utf-32';
|
|
7460
|
-
})(PositionEncodingKind || (exports
|
|
7460
|
+
})(PositionEncodingKind || (exports.PositionEncodingKind = PositionEncodingKind = {}));
|
|
7461
7461
|
/**
|
|
7462
7462
|
* The StaticRegistrationOptions namespace provides helper functions to work with
|
|
7463
7463
|
* {@link StaticRegistrationOptions} literals.
|
|
@@ -7469,7 +7469,7 @@ function requireProtocol () {
|
|
|
7469
7469
|
return candidate && Is.string(candidate.id) && candidate.id.length > 0;
|
|
7470
7470
|
}
|
|
7471
7471
|
StaticRegistrationOptions.hasId = hasId;
|
|
7472
|
-
})(StaticRegistrationOptions || (exports
|
|
7472
|
+
})(StaticRegistrationOptions || (exports.StaticRegistrationOptions = StaticRegistrationOptions = {}));
|
|
7473
7473
|
/**
|
|
7474
7474
|
* The TextDocumentRegistrationOptions namespace provides helper functions to work with
|
|
7475
7475
|
* {@link TextDocumentRegistrationOptions} literals.
|
|
@@ -7481,7 +7481,7 @@ function requireProtocol () {
|
|
|
7481
7481
|
return candidate && (candidate.documentSelector === null || DocumentSelector.is(candidate.documentSelector));
|
|
7482
7482
|
}
|
|
7483
7483
|
TextDocumentRegistrationOptions.is = is;
|
|
7484
|
-
})(TextDocumentRegistrationOptions || (exports
|
|
7484
|
+
})(TextDocumentRegistrationOptions || (exports.TextDocumentRegistrationOptions = TextDocumentRegistrationOptions = {}));
|
|
7485
7485
|
/**
|
|
7486
7486
|
* The WorkDoneProgressOptions namespace provides helper functions to work with
|
|
7487
7487
|
* {@link WorkDoneProgressOptions} literals.
|
|
@@ -7498,7 +7498,7 @@ function requireProtocol () {
|
|
|
7498
7498
|
return candidate && Is.boolean(candidate.workDoneProgress);
|
|
7499
7499
|
}
|
|
7500
7500
|
WorkDoneProgressOptions.hasWorkDoneProgress = hasWorkDoneProgress;
|
|
7501
|
-
})(WorkDoneProgressOptions || (exports
|
|
7501
|
+
})(WorkDoneProgressOptions || (exports.WorkDoneProgressOptions = WorkDoneProgressOptions = {}));
|
|
7502
7502
|
/**
|
|
7503
7503
|
* The initialize request is sent from the client to the server.
|
|
7504
7504
|
* It is sent once as the request after starting up the server.
|
|
@@ -7511,7 +7511,7 @@ function requireProtocol () {
|
|
|
7511
7511
|
InitializeRequest.method = 'initialize';
|
|
7512
7512
|
InitializeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7513
7513
|
InitializeRequest.type = new messages_1.ProtocolRequestType(InitializeRequest.method);
|
|
7514
|
-
})(InitializeRequest || (exports
|
|
7514
|
+
})(InitializeRequest || (exports.InitializeRequest = InitializeRequest = {}));
|
|
7515
7515
|
/**
|
|
7516
7516
|
* Known error codes for an `InitializeErrorCodes`;
|
|
7517
7517
|
*/
|
|
@@ -7524,7 +7524,7 @@ function requireProtocol () {
|
|
|
7524
7524
|
* no version handshake in version 3.0x
|
|
7525
7525
|
*/
|
|
7526
7526
|
InitializeErrorCodes.unknownProtocolVersion = 1;
|
|
7527
|
-
})(InitializeErrorCodes || (exports
|
|
7527
|
+
})(InitializeErrorCodes || (exports.InitializeErrorCodes = InitializeErrorCodes = {}));
|
|
7528
7528
|
/**
|
|
7529
7529
|
* The initialized notification is sent from the client to the
|
|
7530
7530
|
* server after the client is fully initialized and the server
|
|
@@ -7535,7 +7535,7 @@ function requireProtocol () {
|
|
|
7535
7535
|
InitializedNotification.method = 'initialized';
|
|
7536
7536
|
InitializedNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7537
7537
|
InitializedNotification.type = new messages_1.ProtocolNotificationType(InitializedNotification.method);
|
|
7538
|
-
})(InitializedNotification || (exports
|
|
7538
|
+
})(InitializedNotification || (exports.InitializedNotification = InitializedNotification = {}));
|
|
7539
7539
|
//---- Shutdown Method ----
|
|
7540
7540
|
/**
|
|
7541
7541
|
* A shutdown request is sent from the client to the server.
|
|
@@ -7548,7 +7548,7 @@ function requireProtocol () {
|
|
|
7548
7548
|
ShutdownRequest.method = 'shutdown';
|
|
7549
7549
|
ShutdownRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7550
7550
|
ShutdownRequest.type = new messages_1.ProtocolRequestType0(ShutdownRequest.method);
|
|
7551
|
-
})(ShutdownRequest || (exports
|
|
7551
|
+
})(ShutdownRequest || (exports.ShutdownRequest = ShutdownRequest = {}));
|
|
7552
7552
|
//---- Exit Notification ----
|
|
7553
7553
|
/**
|
|
7554
7554
|
* The exit event is sent from the client to the server to
|
|
@@ -7559,7 +7559,7 @@ function requireProtocol () {
|
|
|
7559
7559
|
ExitNotification.method = 'exit';
|
|
7560
7560
|
ExitNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7561
7561
|
ExitNotification.type = new messages_1.ProtocolNotificationType0(ExitNotification.method);
|
|
7562
|
-
})(ExitNotification || (exports
|
|
7562
|
+
})(ExitNotification || (exports.ExitNotification = ExitNotification = {}));
|
|
7563
7563
|
/**
|
|
7564
7564
|
* The configuration change notification is sent from the client to the server
|
|
7565
7565
|
* when the client's configuration has changed. The notification contains
|
|
@@ -7570,7 +7570,7 @@ function requireProtocol () {
|
|
|
7570
7570
|
DidChangeConfigurationNotification.method = 'workspace/didChangeConfiguration';
|
|
7571
7571
|
DidChangeConfigurationNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7572
7572
|
DidChangeConfigurationNotification.type = new messages_1.ProtocolNotificationType(DidChangeConfigurationNotification.method);
|
|
7573
|
-
})(DidChangeConfigurationNotification || (exports
|
|
7573
|
+
})(DidChangeConfigurationNotification || (exports.DidChangeConfigurationNotification = DidChangeConfigurationNotification = {}));
|
|
7574
7574
|
//---- Message show and log notifications ----
|
|
7575
7575
|
/**
|
|
7576
7576
|
* The message type
|
|
@@ -7599,7 +7599,7 @@ function requireProtocol () {
|
|
|
7599
7599
|
* @since 3.18.0
|
|
7600
7600
|
*/
|
|
7601
7601
|
MessageType.Debug = 5;
|
|
7602
|
-
})(MessageType || (exports
|
|
7602
|
+
})(MessageType || (exports.MessageType = MessageType = {}));
|
|
7603
7603
|
/**
|
|
7604
7604
|
* The show message notification is sent from a server to a client to ask
|
|
7605
7605
|
* the client to display a particular message in the user interface.
|
|
@@ -7609,7 +7609,7 @@ function requireProtocol () {
|
|
|
7609
7609
|
ShowMessageNotification.method = 'window/showMessage';
|
|
7610
7610
|
ShowMessageNotification.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7611
7611
|
ShowMessageNotification.type = new messages_1.ProtocolNotificationType(ShowMessageNotification.method);
|
|
7612
|
-
})(ShowMessageNotification || (exports
|
|
7612
|
+
})(ShowMessageNotification || (exports.ShowMessageNotification = ShowMessageNotification = {}));
|
|
7613
7613
|
/**
|
|
7614
7614
|
* The show message request is sent from the server to the client to show a message
|
|
7615
7615
|
* and a set of options actions to the user.
|
|
@@ -7619,7 +7619,7 @@ function requireProtocol () {
|
|
|
7619
7619
|
ShowMessageRequest.method = 'window/showMessageRequest';
|
|
7620
7620
|
ShowMessageRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7621
7621
|
ShowMessageRequest.type = new messages_1.ProtocolRequestType(ShowMessageRequest.method);
|
|
7622
|
-
})(ShowMessageRequest || (exports
|
|
7622
|
+
})(ShowMessageRequest || (exports.ShowMessageRequest = ShowMessageRequest = {}));
|
|
7623
7623
|
/**
|
|
7624
7624
|
* The log message notification is sent from the server to the client to ask
|
|
7625
7625
|
* the client to log a particular message.
|
|
@@ -7629,7 +7629,7 @@ function requireProtocol () {
|
|
|
7629
7629
|
LogMessageNotification.method = 'window/logMessage';
|
|
7630
7630
|
LogMessageNotification.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7631
7631
|
LogMessageNotification.type = new messages_1.ProtocolNotificationType(LogMessageNotification.method);
|
|
7632
|
-
})(LogMessageNotification || (exports
|
|
7632
|
+
})(LogMessageNotification || (exports.LogMessageNotification = LogMessageNotification = {}));
|
|
7633
7633
|
//---- Telemetry notification
|
|
7634
7634
|
/**
|
|
7635
7635
|
* The telemetry event notification is sent from the server to the client to ask
|
|
@@ -7640,7 +7640,7 @@ function requireProtocol () {
|
|
|
7640
7640
|
TelemetryEventNotification.method = 'telemetry/event';
|
|
7641
7641
|
TelemetryEventNotification.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7642
7642
|
TelemetryEventNotification.type = new messages_1.ProtocolNotificationType(TelemetryEventNotification.method);
|
|
7643
|
-
})(TelemetryEventNotification || (exports
|
|
7643
|
+
})(TelemetryEventNotification || (exports.TelemetryEventNotification = TelemetryEventNotification = {}));
|
|
7644
7644
|
/**
|
|
7645
7645
|
* Defines how the host (editor) should sync
|
|
7646
7646
|
* document changes to the language server.
|
|
@@ -7662,7 +7662,7 @@ function requireProtocol () {
|
|
|
7662
7662
|
* send.
|
|
7663
7663
|
*/
|
|
7664
7664
|
TextDocumentSyncKind.Incremental = 2;
|
|
7665
|
-
})(TextDocumentSyncKind || (exports
|
|
7665
|
+
})(TextDocumentSyncKind || (exports.TextDocumentSyncKind = TextDocumentSyncKind = {}));
|
|
7666
7666
|
/**
|
|
7667
7667
|
* The document open notification is sent from the client to the server to signal
|
|
7668
7668
|
* newly opened text documents. The document's truth is now managed by the client
|
|
@@ -7678,7 +7678,7 @@ function requireProtocol () {
|
|
|
7678
7678
|
DidOpenTextDocumentNotification.method = 'textDocument/didOpen';
|
|
7679
7679
|
DidOpenTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7680
7680
|
DidOpenTextDocumentNotification.type = new messages_1.ProtocolNotificationType(DidOpenTextDocumentNotification.method);
|
|
7681
|
-
})(DidOpenTextDocumentNotification || (exports
|
|
7681
|
+
})(DidOpenTextDocumentNotification || (exports.DidOpenTextDocumentNotification = DidOpenTextDocumentNotification = {}));
|
|
7682
7682
|
var TextDocumentContentChangeEvent;
|
|
7683
7683
|
(function (TextDocumentContentChangeEvent) {
|
|
7684
7684
|
/**
|
|
@@ -7700,7 +7700,7 @@ function requireProtocol () {
|
|
|
7700
7700
|
typeof candidate.text === 'string' && candidate.range === undefined && candidate.rangeLength === undefined;
|
|
7701
7701
|
}
|
|
7702
7702
|
TextDocumentContentChangeEvent.isFull = isFull;
|
|
7703
|
-
})(TextDocumentContentChangeEvent || (exports
|
|
7703
|
+
})(TextDocumentContentChangeEvent || (exports.TextDocumentContentChangeEvent = TextDocumentContentChangeEvent = {}));
|
|
7704
7704
|
/**
|
|
7705
7705
|
* The document change notification is sent from the client to the server to signal
|
|
7706
7706
|
* changes to a text document.
|
|
@@ -7710,7 +7710,7 @@ function requireProtocol () {
|
|
|
7710
7710
|
DidChangeTextDocumentNotification.method = 'textDocument/didChange';
|
|
7711
7711
|
DidChangeTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7712
7712
|
DidChangeTextDocumentNotification.type = new messages_1.ProtocolNotificationType(DidChangeTextDocumentNotification.method);
|
|
7713
|
-
})(DidChangeTextDocumentNotification || (exports
|
|
7713
|
+
})(DidChangeTextDocumentNotification || (exports.DidChangeTextDocumentNotification = DidChangeTextDocumentNotification = {}));
|
|
7714
7714
|
/**
|
|
7715
7715
|
* The document close notification is sent from the client to the server when
|
|
7716
7716
|
* the document got closed in the client. The document's truth now exists where
|
|
@@ -7725,7 +7725,7 @@ function requireProtocol () {
|
|
|
7725
7725
|
DidCloseTextDocumentNotification.method = 'textDocument/didClose';
|
|
7726
7726
|
DidCloseTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7727
7727
|
DidCloseTextDocumentNotification.type = new messages_1.ProtocolNotificationType(DidCloseTextDocumentNotification.method);
|
|
7728
|
-
})(DidCloseTextDocumentNotification || (exports
|
|
7728
|
+
})(DidCloseTextDocumentNotification || (exports.DidCloseTextDocumentNotification = DidCloseTextDocumentNotification = {}));
|
|
7729
7729
|
/**
|
|
7730
7730
|
* The document save notification is sent from the client to the server when
|
|
7731
7731
|
* the document got saved in the client.
|
|
@@ -7735,7 +7735,7 @@ function requireProtocol () {
|
|
|
7735
7735
|
DidSaveTextDocumentNotification.method = 'textDocument/didSave';
|
|
7736
7736
|
DidSaveTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7737
7737
|
DidSaveTextDocumentNotification.type = new messages_1.ProtocolNotificationType(DidSaveTextDocumentNotification.method);
|
|
7738
|
-
})(DidSaveTextDocumentNotification || (exports
|
|
7738
|
+
})(DidSaveTextDocumentNotification || (exports.DidSaveTextDocumentNotification = DidSaveTextDocumentNotification = {}));
|
|
7739
7739
|
/**
|
|
7740
7740
|
* Represents reasons why a text document is saved.
|
|
7741
7741
|
*/
|
|
@@ -7754,7 +7754,7 @@ function requireProtocol () {
|
|
|
7754
7754
|
* When the editor lost focus.
|
|
7755
7755
|
*/
|
|
7756
7756
|
TextDocumentSaveReason.FocusOut = 3;
|
|
7757
|
-
})(TextDocumentSaveReason || (exports
|
|
7757
|
+
})(TextDocumentSaveReason || (exports.TextDocumentSaveReason = TextDocumentSaveReason = {}));
|
|
7758
7758
|
/**
|
|
7759
7759
|
* A document will save notification is sent from the client to the server before
|
|
7760
7760
|
* the document is actually saved.
|
|
@@ -7764,7 +7764,7 @@ function requireProtocol () {
|
|
|
7764
7764
|
WillSaveTextDocumentNotification.method = 'textDocument/willSave';
|
|
7765
7765
|
WillSaveTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7766
7766
|
WillSaveTextDocumentNotification.type = new messages_1.ProtocolNotificationType(WillSaveTextDocumentNotification.method);
|
|
7767
|
-
})(WillSaveTextDocumentNotification || (exports
|
|
7767
|
+
})(WillSaveTextDocumentNotification || (exports.WillSaveTextDocumentNotification = WillSaveTextDocumentNotification = {}));
|
|
7768
7768
|
/**
|
|
7769
7769
|
* A document will save request is sent from the client to the server before
|
|
7770
7770
|
* the document is actually saved. The request can return an array of TextEdits
|
|
@@ -7778,7 +7778,7 @@ function requireProtocol () {
|
|
|
7778
7778
|
WillSaveTextDocumentWaitUntilRequest.method = 'textDocument/willSaveWaitUntil';
|
|
7779
7779
|
WillSaveTextDocumentWaitUntilRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7780
7780
|
WillSaveTextDocumentWaitUntilRequest.type = new messages_1.ProtocolRequestType(WillSaveTextDocumentWaitUntilRequest.method);
|
|
7781
|
-
})(WillSaveTextDocumentWaitUntilRequest || (exports
|
|
7781
|
+
})(WillSaveTextDocumentWaitUntilRequest || (exports.WillSaveTextDocumentWaitUntilRequest = WillSaveTextDocumentWaitUntilRequest = {}));
|
|
7782
7782
|
/**
|
|
7783
7783
|
* The watched files notification is sent from the client to the server when
|
|
7784
7784
|
* the client detects changes to file watched by the language client.
|
|
@@ -7788,7 +7788,7 @@ function requireProtocol () {
|
|
|
7788
7788
|
DidChangeWatchedFilesNotification.method = 'workspace/didChangeWatchedFiles';
|
|
7789
7789
|
DidChangeWatchedFilesNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7790
7790
|
DidChangeWatchedFilesNotification.type = new messages_1.ProtocolNotificationType(DidChangeWatchedFilesNotification.method);
|
|
7791
|
-
})(DidChangeWatchedFilesNotification || (exports
|
|
7791
|
+
})(DidChangeWatchedFilesNotification || (exports.DidChangeWatchedFilesNotification = DidChangeWatchedFilesNotification = {}));
|
|
7792
7792
|
/**
|
|
7793
7793
|
* The file event type
|
|
7794
7794
|
*/
|
|
@@ -7806,7 +7806,7 @@ function requireProtocol () {
|
|
|
7806
7806
|
* The file got deleted.
|
|
7807
7807
|
*/
|
|
7808
7808
|
FileChangeType.Deleted = 3;
|
|
7809
|
-
})(FileChangeType || (exports
|
|
7809
|
+
})(FileChangeType || (exports.FileChangeType = FileChangeType = {}));
|
|
7810
7810
|
var RelativePattern;
|
|
7811
7811
|
(function (RelativePattern) {
|
|
7812
7812
|
function is(value) {
|
|
@@ -7814,7 +7814,7 @@ function requireProtocol () {
|
|
|
7814
7814
|
return Is.objectLiteral(candidate) && (vscode_languageserver_types_1.URI.is(candidate.baseUri) || vscode_languageserver_types_1.WorkspaceFolder.is(candidate.baseUri)) && Is.string(candidate.pattern);
|
|
7815
7815
|
}
|
|
7816
7816
|
RelativePattern.is = is;
|
|
7817
|
-
})(RelativePattern || (exports
|
|
7817
|
+
})(RelativePattern || (exports.RelativePattern = RelativePattern = {}));
|
|
7818
7818
|
var WatchKind;
|
|
7819
7819
|
(function (WatchKind) {
|
|
7820
7820
|
/**
|
|
@@ -7829,7 +7829,7 @@ function requireProtocol () {
|
|
|
7829
7829
|
* Interested in delete events
|
|
7830
7830
|
*/
|
|
7831
7831
|
WatchKind.Delete = 4;
|
|
7832
|
-
})(WatchKind || (exports
|
|
7832
|
+
})(WatchKind || (exports.WatchKind = WatchKind = {}));
|
|
7833
7833
|
/**
|
|
7834
7834
|
* Diagnostics notification are sent from the server to the client to signal
|
|
7835
7835
|
* results of validation runs.
|
|
@@ -7839,7 +7839,7 @@ function requireProtocol () {
|
|
|
7839
7839
|
PublishDiagnosticsNotification.method = 'textDocument/publishDiagnostics';
|
|
7840
7840
|
PublishDiagnosticsNotification.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7841
7841
|
PublishDiagnosticsNotification.type = new messages_1.ProtocolNotificationType(PublishDiagnosticsNotification.method);
|
|
7842
|
-
})(PublishDiagnosticsNotification || (exports
|
|
7842
|
+
})(PublishDiagnosticsNotification || (exports.PublishDiagnosticsNotification = PublishDiagnosticsNotification = {}));
|
|
7843
7843
|
/**
|
|
7844
7844
|
* How a completion was triggered
|
|
7845
7845
|
*/
|
|
@@ -7859,7 +7859,7 @@ function requireProtocol () {
|
|
|
7859
7859
|
* Completion was re-triggered as current completion list is incomplete
|
|
7860
7860
|
*/
|
|
7861
7861
|
CompletionTriggerKind.TriggerForIncompleteCompletions = 3;
|
|
7862
|
-
})(CompletionTriggerKind || (exports
|
|
7862
|
+
})(CompletionTriggerKind || (exports.CompletionTriggerKind = CompletionTriggerKind = {}));
|
|
7863
7863
|
/**
|
|
7864
7864
|
* Request to request completion at a given text document position. The request's
|
|
7865
7865
|
* parameter is of type {@link TextDocumentPosition} the response
|
|
@@ -7876,7 +7876,7 @@ function requireProtocol () {
|
|
|
7876
7876
|
CompletionRequest.method = 'textDocument/completion';
|
|
7877
7877
|
CompletionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7878
7878
|
CompletionRequest.type = new messages_1.ProtocolRequestType(CompletionRequest.method);
|
|
7879
|
-
})(CompletionRequest || (exports
|
|
7879
|
+
})(CompletionRequest || (exports.CompletionRequest = CompletionRequest = {}));
|
|
7880
7880
|
/**
|
|
7881
7881
|
* Request to resolve additional information for a given completion item.The request's
|
|
7882
7882
|
* parameter is of type {@link CompletionItem} the response
|
|
@@ -7887,7 +7887,7 @@ function requireProtocol () {
|
|
|
7887
7887
|
CompletionResolveRequest.method = 'completionItem/resolve';
|
|
7888
7888
|
CompletionResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7889
7889
|
CompletionResolveRequest.type = new messages_1.ProtocolRequestType(CompletionResolveRequest.method);
|
|
7890
|
-
})(CompletionResolveRequest || (exports
|
|
7890
|
+
})(CompletionResolveRequest || (exports.CompletionResolveRequest = CompletionResolveRequest = {}));
|
|
7891
7891
|
/**
|
|
7892
7892
|
* Request to request hover information at a given text document position. The request's
|
|
7893
7893
|
* parameter is of type {@link TextDocumentPosition} the response is of
|
|
@@ -7898,7 +7898,7 @@ function requireProtocol () {
|
|
|
7898
7898
|
HoverRequest.method = 'textDocument/hover';
|
|
7899
7899
|
HoverRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7900
7900
|
HoverRequest.type = new messages_1.ProtocolRequestType(HoverRequest.method);
|
|
7901
|
-
})(HoverRequest || (exports
|
|
7901
|
+
})(HoverRequest || (exports.HoverRequest = HoverRequest = {}));
|
|
7902
7902
|
/**
|
|
7903
7903
|
* How a signature help was triggered.
|
|
7904
7904
|
*
|
|
@@ -7918,13 +7918,13 @@ function requireProtocol () {
|
|
|
7918
7918
|
* Signature help was triggered by the cursor moving or by the document content changing.
|
|
7919
7919
|
*/
|
|
7920
7920
|
SignatureHelpTriggerKind.ContentChange = 3;
|
|
7921
|
-
})(SignatureHelpTriggerKind || (exports
|
|
7921
|
+
})(SignatureHelpTriggerKind || (exports.SignatureHelpTriggerKind = SignatureHelpTriggerKind = {}));
|
|
7922
7922
|
var SignatureHelpRequest;
|
|
7923
7923
|
(function (SignatureHelpRequest) {
|
|
7924
7924
|
SignatureHelpRequest.method = 'textDocument/signatureHelp';
|
|
7925
7925
|
SignatureHelpRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7926
7926
|
SignatureHelpRequest.type = new messages_1.ProtocolRequestType(SignatureHelpRequest.method);
|
|
7927
|
-
})(SignatureHelpRequest || (exports
|
|
7927
|
+
})(SignatureHelpRequest || (exports.SignatureHelpRequest = SignatureHelpRequest = {}));
|
|
7928
7928
|
/**
|
|
7929
7929
|
* A request to resolve the definition location of a symbol at a given text
|
|
7930
7930
|
* document position. The request's parameter is of type {@link TextDocumentPosition}
|
|
@@ -7936,7 +7936,7 @@ function requireProtocol () {
|
|
|
7936
7936
|
DefinitionRequest.method = 'textDocument/definition';
|
|
7937
7937
|
DefinitionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7938
7938
|
DefinitionRequest.type = new messages_1.ProtocolRequestType(DefinitionRequest.method);
|
|
7939
|
-
})(DefinitionRequest || (exports
|
|
7939
|
+
})(DefinitionRequest || (exports.DefinitionRequest = DefinitionRequest = {}));
|
|
7940
7940
|
/**
|
|
7941
7941
|
* A request to resolve project-wide references for the symbol denoted
|
|
7942
7942
|
* by the given text document position. The request's parameter is of
|
|
@@ -7948,7 +7948,7 @@ function requireProtocol () {
|
|
|
7948
7948
|
ReferencesRequest.method = 'textDocument/references';
|
|
7949
7949
|
ReferencesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7950
7950
|
ReferencesRequest.type = new messages_1.ProtocolRequestType(ReferencesRequest.method);
|
|
7951
|
-
})(ReferencesRequest || (exports
|
|
7951
|
+
})(ReferencesRequest || (exports.ReferencesRequest = ReferencesRequest = {}));
|
|
7952
7952
|
/**
|
|
7953
7953
|
* Request to resolve a {@link DocumentHighlight} for a given
|
|
7954
7954
|
* text document position. The request's parameter is of type {@link TextDocumentPosition}
|
|
@@ -7960,7 +7960,7 @@ function requireProtocol () {
|
|
|
7960
7960
|
DocumentHighlightRequest.method = 'textDocument/documentHighlight';
|
|
7961
7961
|
DocumentHighlightRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7962
7962
|
DocumentHighlightRequest.type = new messages_1.ProtocolRequestType(DocumentHighlightRequest.method);
|
|
7963
|
-
})(DocumentHighlightRequest || (exports
|
|
7963
|
+
})(DocumentHighlightRequest || (exports.DocumentHighlightRequest = DocumentHighlightRequest = {}));
|
|
7964
7964
|
/**
|
|
7965
7965
|
* A request to list all symbols found in a given text document. The request's
|
|
7966
7966
|
* parameter is of type {@link TextDocumentIdentifier} the
|
|
@@ -7972,7 +7972,7 @@ function requireProtocol () {
|
|
|
7972
7972
|
DocumentSymbolRequest.method = 'textDocument/documentSymbol';
|
|
7973
7973
|
DocumentSymbolRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7974
7974
|
DocumentSymbolRequest.type = new messages_1.ProtocolRequestType(DocumentSymbolRequest.method);
|
|
7975
|
-
})(DocumentSymbolRequest || (exports
|
|
7975
|
+
})(DocumentSymbolRequest || (exports.DocumentSymbolRequest = DocumentSymbolRequest = {}));
|
|
7976
7976
|
/**
|
|
7977
7977
|
* A request to provide commands for the given text document and range.
|
|
7978
7978
|
*/
|
|
@@ -7981,7 +7981,7 @@ function requireProtocol () {
|
|
|
7981
7981
|
CodeActionRequest.method = 'textDocument/codeAction';
|
|
7982
7982
|
CodeActionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7983
7983
|
CodeActionRequest.type = new messages_1.ProtocolRequestType(CodeActionRequest.method);
|
|
7984
|
-
})(CodeActionRequest || (exports
|
|
7984
|
+
})(CodeActionRequest || (exports.CodeActionRequest = CodeActionRequest = {}));
|
|
7985
7985
|
/**
|
|
7986
7986
|
* Request to resolve additional information for a given code action.The request's
|
|
7987
7987
|
* parameter is of type {@link CodeAction} the response
|
|
@@ -7992,7 +7992,7 @@ function requireProtocol () {
|
|
|
7992
7992
|
CodeActionResolveRequest.method = 'codeAction/resolve';
|
|
7993
7993
|
CodeActionResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7994
7994
|
CodeActionResolveRequest.type = new messages_1.ProtocolRequestType(CodeActionResolveRequest.method);
|
|
7995
|
-
})(CodeActionResolveRequest || (exports
|
|
7995
|
+
})(CodeActionResolveRequest || (exports.CodeActionResolveRequest = CodeActionResolveRequest = {}));
|
|
7996
7996
|
/**
|
|
7997
7997
|
* A request to list project-wide symbols matching the query string given
|
|
7998
7998
|
* by the {@link WorkspaceSymbolParams}. The response is
|
|
@@ -8009,7 +8009,7 @@ function requireProtocol () {
|
|
|
8009
8009
|
WorkspaceSymbolRequest.method = 'workspace/symbol';
|
|
8010
8010
|
WorkspaceSymbolRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8011
8011
|
WorkspaceSymbolRequest.type = new messages_1.ProtocolRequestType(WorkspaceSymbolRequest.method);
|
|
8012
|
-
})(WorkspaceSymbolRequest || (exports
|
|
8012
|
+
})(WorkspaceSymbolRequest || (exports.WorkspaceSymbolRequest = WorkspaceSymbolRequest = {}));
|
|
8013
8013
|
/**
|
|
8014
8014
|
* A request to resolve the range inside the workspace
|
|
8015
8015
|
* symbol's location.
|
|
@@ -8021,7 +8021,7 @@ function requireProtocol () {
|
|
|
8021
8021
|
WorkspaceSymbolResolveRequest.method = 'workspaceSymbol/resolve';
|
|
8022
8022
|
WorkspaceSymbolResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8023
8023
|
WorkspaceSymbolResolveRequest.type = new messages_1.ProtocolRequestType(WorkspaceSymbolResolveRequest.method);
|
|
8024
|
-
})(WorkspaceSymbolResolveRequest || (exports
|
|
8024
|
+
})(WorkspaceSymbolResolveRequest || (exports.WorkspaceSymbolResolveRequest = WorkspaceSymbolResolveRequest = {}));
|
|
8025
8025
|
/**
|
|
8026
8026
|
* A request to provide code lens for the given text document.
|
|
8027
8027
|
*/
|
|
@@ -8030,7 +8030,7 @@ function requireProtocol () {
|
|
|
8030
8030
|
CodeLensRequest.method = 'textDocument/codeLens';
|
|
8031
8031
|
CodeLensRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8032
8032
|
CodeLensRequest.type = new messages_1.ProtocolRequestType(CodeLensRequest.method);
|
|
8033
|
-
})(CodeLensRequest || (exports
|
|
8033
|
+
})(CodeLensRequest || (exports.CodeLensRequest = CodeLensRequest = {}));
|
|
8034
8034
|
/**
|
|
8035
8035
|
* A request to resolve a command for a given code lens.
|
|
8036
8036
|
*/
|
|
@@ -8039,7 +8039,7 @@ function requireProtocol () {
|
|
|
8039
8039
|
CodeLensResolveRequest.method = 'codeLens/resolve';
|
|
8040
8040
|
CodeLensResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8041
8041
|
CodeLensResolveRequest.type = new messages_1.ProtocolRequestType(CodeLensResolveRequest.method);
|
|
8042
|
-
})(CodeLensResolveRequest || (exports
|
|
8042
|
+
})(CodeLensResolveRequest || (exports.CodeLensResolveRequest = CodeLensResolveRequest = {}));
|
|
8043
8043
|
/**
|
|
8044
8044
|
* A request to refresh all code actions
|
|
8045
8045
|
*
|
|
@@ -8050,7 +8050,7 @@ function requireProtocol () {
|
|
|
8050
8050
|
CodeLensRefreshRequest.method = `workspace/codeLens/refresh`;
|
|
8051
8051
|
CodeLensRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
8052
8052
|
CodeLensRefreshRequest.type = new messages_1.ProtocolRequestType0(CodeLensRefreshRequest.method);
|
|
8053
|
-
})(CodeLensRefreshRequest || (exports
|
|
8053
|
+
})(CodeLensRefreshRequest || (exports.CodeLensRefreshRequest = CodeLensRefreshRequest = {}));
|
|
8054
8054
|
/**
|
|
8055
8055
|
* A request to provide document links
|
|
8056
8056
|
*/
|
|
@@ -8059,7 +8059,7 @@ function requireProtocol () {
|
|
|
8059
8059
|
DocumentLinkRequest.method = 'textDocument/documentLink';
|
|
8060
8060
|
DocumentLinkRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8061
8061
|
DocumentLinkRequest.type = new messages_1.ProtocolRequestType(DocumentLinkRequest.method);
|
|
8062
|
-
})(DocumentLinkRequest || (exports
|
|
8062
|
+
})(DocumentLinkRequest || (exports.DocumentLinkRequest = DocumentLinkRequest = {}));
|
|
8063
8063
|
/**
|
|
8064
8064
|
* Request to resolve additional information for a given document link. The request's
|
|
8065
8065
|
* parameter is of type {@link DocumentLink} the response
|
|
@@ -8070,7 +8070,7 @@ function requireProtocol () {
|
|
|
8070
8070
|
DocumentLinkResolveRequest.method = 'documentLink/resolve';
|
|
8071
8071
|
DocumentLinkResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8072
8072
|
DocumentLinkResolveRequest.type = new messages_1.ProtocolRequestType(DocumentLinkResolveRequest.method);
|
|
8073
|
-
})(DocumentLinkResolveRequest || (exports
|
|
8073
|
+
})(DocumentLinkResolveRequest || (exports.DocumentLinkResolveRequest = DocumentLinkResolveRequest = {}));
|
|
8074
8074
|
/**
|
|
8075
8075
|
* A request to format a whole document.
|
|
8076
8076
|
*/
|
|
@@ -8079,7 +8079,7 @@ function requireProtocol () {
|
|
|
8079
8079
|
DocumentFormattingRequest.method = 'textDocument/formatting';
|
|
8080
8080
|
DocumentFormattingRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8081
8081
|
DocumentFormattingRequest.type = new messages_1.ProtocolRequestType(DocumentFormattingRequest.method);
|
|
8082
|
-
})(DocumentFormattingRequest || (exports
|
|
8082
|
+
})(DocumentFormattingRequest || (exports.DocumentFormattingRequest = DocumentFormattingRequest = {}));
|
|
8083
8083
|
/**
|
|
8084
8084
|
* A request to format a range in a document.
|
|
8085
8085
|
*/
|
|
@@ -8088,7 +8088,7 @@ function requireProtocol () {
|
|
|
8088
8088
|
DocumentRangeFormattingRequest.method = 'textDocument/rangeFormatting';
|
|
8089
8089
|
DocumentRangeFormattingRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8090
8090
|
DocumentRangeFormattingRequest.type = new messages_1.ProtocolRequestType(DocumentRangeFormattingRequest.method);
|
|
8091
|
-
})(DocumentRangeFormattingRequest || (exports
|
|
8091
|
+
})(DocumentRangeFormattingRequest || (exports.DocumentRangeFormattingRequest = DocumentRangeFormattingRequest = {}));
|
|
8092
8092
|
/**
|
|
8093
8093
|
* A request to format ranges in a document.
|
|
8094
8094
|
*
|
|
@@ -8100,7 +8100,7 @@ function requireProtocol () {
|
|
|
8100
8100
|
DocumentRangesFormattingRequest.method = 'textDocument/rangesFormatting';
|
|
8101
8101
|
DocumentRangesFormattingRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8102
8102
|
DocumentRangesFormattingRequest.type = new messages_1.ProtocolRequestType(DocumentRangesFormattingRequest.method);
|
|
8103
|
-
})(DocumentRangesFormattingRequest || (exports
|
|
8103
|
+
})(DocumentRangesFormattingRequest || (exports.DocumentRangesFormattingRequest = DocumentRangesFormattingRequest = {}));
|
|
8104
8104
|
/**
|
|
8105
8105
|
* A request to format a document on type.
|
|
8106
8106
|
*/
|
|
@@ -8109,7 +8109,7 @@ function requireProtocol () {
|
|
|
8109
8109
|
DocumentOnTypeFormattingRequest.method = 'textDocument/onTypeFormatting';
|
|
8110
8110
|
DocumentOnTypeFormattingRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8111
8111
|
DocumentOnTypeFormattingRequest.type = new messages_1.ProtocolRequestType(DocumentOnTypeFormattingRequest.method);
|
|
8112
|
-
})(DocumentOnTypeFormattingRequest || (exports
|
|
8112
|
+
})(DocumentOnTypeFormattingRequest || (exports.DocumentOnTypeFormattingRequest = DocumentOnTypeFormattingRequest = {}));
|
|
8113
8113
|
//---- Rename ----------------------------------------------
|
|
8114
8114
|
var PrepareSupportDefaultBehavior;
|
|
8115
8115
|
(function (PrepareSupportDefaultBehavior) {
|
|
@@ -8118,7 +8118,7 @@ function requireProtocol () {
|
|
|
8118
8118
|
* according the to language's syntax rule.
|
|
8119
8119
|
*/
|
|
8120
8120
|
PrepareSupportDefaultBehavior.Identifier = 1;
|
|
8121
|
-
})(PrepareSupportDefaultBehavior || (exports
|
|
8121
|
+
})(PrepareSupportDefaultBehavior || (exports.PrepareSupportDefaultBehavior = PrepareSupportDefaultBehavior = {}));
|
|
8122
8122
|
/**
|
|
8123
8123
|
* A request to rename a symbol.
|
|
8124
8124
|
*/
|
|
@@ -8127,7 +8127,7 @@ function requireProtocol () {
|
|
|
8127
8127
|
RenameRequest.method = 'textDocument/rename';
|
|
8128
8128
|
RenameRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8129
8129
|
RenameRequest.type = new messages_1.ProtocolRequestType(RenameRequest.method);
|
|
8130
|
-
})(RenameRequest || (exports
|
|
8130
|
+
})(RenameRequest || (exports.RenameRequest = RenameRequest = {}));
|
|
8131
8131
|
/**
|
|
8132
8132
|
* A request to test and perform the setup necessary for a rename.
|
|
8133
8133
|
*
|
|
@@ -8138,7 +8138,7 @@ function requireProtocol () {
|
|
|
8138
8138
|
PrepareRenameRequest.method = 'textDocument/prepareRename';
|
|
8139
8139
|
PrepareRenameRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8140
8140
|
PrepareRenameRequest.type = new messages_1.ProtocolRequestType(PrepareRenameRequest.method);
|
|
8141
|
-
})(PrepareRenameRequest || (exports
|
|
8141
|
+
})(PrepareRenameRequest || (exports.PrepareRenameRequest = PrepareRenameRequest = {}));
|
|
8142
8142
|
/**
|
|
8143
8143
|
* A request send from the client to the server to execute a command. The request might return
|
|
8144
8144
|
* a workspace edit which the client will apply to the workspace.
|
|
@@ -8148,7 +8148,7 @@ function requireProtocol () {
|
|
|
8148
8148
|
ExecuteCommandRequest.method = 'workspace/executeCommand';
|
|
8149
8149
|
ExecuteCommandRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8150
8150
|
ExecuteCommandRequest.type = new messages_1.ProtocolRequestType(ExecuteCommandRequest.method);
|
|
8151
|
-
})(ExecuteCommandRequest || (exports
|
|
8151
|
+
})(ExecuteCommandRequest || (exports.ExecuteCommandRequest = ExecuteCommandRequest = {}));
|
|
8152
8152
|
/**
|
|
8153
8153
|
* A request sent from the server to the client to modified certain resources.
|
|
8154
8154
|
*/
|
|
@@ -8157,7 +8157,7 @@ function requireProtocol () {
|
|
|
8157
8157
|
ApplyWorkspaceEditRequest.method = 'workspace/applyEdit';
|
|
8158
8158
|
ApplyWorkspaceEditRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
8159
8159
|
ApplyWorkspaceEditRequest.type = new messages_1.ProtocolRequestType('workspace/applyEdit');
|
|
8160
|
-
})(ApplyWorkspaceEditRequest || (exports
|
|
8160
|
+
})(ApplyWorkspaceEditRequest || (exports.ApplyWorkspaceEditRequest = ApplyWorkspaceEditRequest = {}));
|
|
8161
8161
|
} (protocol));
|
|
8162
8162
|
return protocol;
|
|
8163
8163
|
}
|
|
@@ -8191,7 +8191,7 @@ var hasRequiredApi$1;
|
|
|
8191
8191
|
function requireApi$1 () {
|
|
8192
8192
|
if (hasRequiredApi$1) return api$1;
|
|
8193
8193
|
hasRequiredApi$1 = 1;
|
|
8194
|
-
(function (exports
|
|
8194
|
+
(function (exports) {
|
|
8195
8195
|
/* --------------------------------------------------------------------------------------------
|
|
8196
8196
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8197
8197
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
@@ -8207,17 +8207,17 @@ function requireApi$1 () {
|
|
|
8207
8207
|
if (k2 === undefined) k2 = k;
|
|
8208
8208
|
o[k2] = m[k];
|
|
8209
8209
|
}));
|
|
8210
|
-
var __exportStar = (api$1 && api$1.__exportStar) || function(m, exports
|
|
8211
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports
|
|
8210
|
+
var __exportStar = (api$1 && api$1.__exportStar) || function(m, exports) {
|
|
8211
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
8212
8212
|
};
|
|
8213
|
-
Object.defineProperty(exports
|
|
8214
|
-
exports
|
|
8215
|
-
__exportStar(requireMain$3(), exports
|
|
8216
|
-
__exportStar(requireMain$2(), exports
|
|
8217
|
-
__exportStar(requireMessages(), exports
|
|
8218
|
-
__exportStar(requireProtocol(), exports
|
|
8213
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8214
|
+
exports.LSPErrorCodes = exports.createProtocolConnection = void 0;
|
|
8215
|
+
__exportStar(requireMain$3(), exports);
|
|
8216
|
+
__exportStar(requireMain$2(), exports);
|
|
8217
|
+
__exportStar(requireMessages(), exports);
|
|
8218
|
+
__exportStar(requireProtocol(), exports);
|
|
8219
8219
|
var connection_1 = requireConnection();
|
|
8220
|
-
Object.defineProperty(exports
|
|
8220
|
+
Object.defineProperty(exports, "createProtocolConnection", { enumerable: true, get: function () { return connection_1.createProtocolConnection; } });
|
|
8221
8221
|
var LSPErrorCodes;
|
|
8222
8222
|
(function (LSPErrorCodes) {
|
|
8223
8223
|
/**
|
|
@@ -8267,7 +8267,7 @@ function requireApi$1 () {
|
|
|
8267
8267
|
* @since 3.16.0
|
|
8268
8268
|
*/
|
|
8269
8269
|
LSPErrorCodes.lspReservedErrorRangeEnd = -32800;
|
|
8270
|
-
})(LSPErrorCodes || (exports
|
|
8270
|
+
})(LSPErrorCodes || (exports.LSPErrorCodes = LSPErrorCodes = {}));
|
|
8271
8271
|
} (api$1));
|
|
8272
8272
|
return api$1;
|
|
8273
8273
|
}
|
|
@@ -8277,7 +8277,7 @@ var hasRequiredMain$1;
|
|
|
8277
8277
|
function requireMain$1 () {
|
|
8278
8278
|
if (hasRequiredMain$1) return main$2;
|
|
8279
8279
|
hasRequiredMain$1 = 1;
|
|
8280
|
-
(function (exports
|
|
8280
|
+
(function (exports) {
|
|
8281
8281
|
/* --------------------------------------------------------------------------------------------
|
|
8282
8282
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8283
8283
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
@@ -8293,18 +8293,18 @@ function requireMain$1 () {
|
|
|
8293
8293
|
if (k2 === undefined) k2 = k;
|
|
8294
8294
|
o[k2] = m[k];
|
|
8295
8295
|
}));
|
|
8296
|
-
var __exportStar = (main$2 && main$2.__exportStar) || function(m, exports
|
|
8297
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports
|
|
8296
|
+
var __exportStar = (main$2 && main$2.__exportStar) || function(m, exports) {
|
|
8297
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
8298
8298
|
};
|
|
8299
|
-
Object.defineProperty(exports
|
|
8300
|
-
exports
|
|
8299
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8300
|
+
exports.createProtocolConnection = void 0;
|
|
8301
8301
|
const node_1 = requireNode$1();
|
|
8302
|
-
__exportStar(requireNode$1(), exports
|
|
8303
|
-
__exportStar(requireApi$1(), exports
|
|
8302
|
+
__exportStar(requireNode$1(), exports);
|
|
8303
|
+
__exportStar(requireApi$1(), exports);
|
|
8304
8304
|
function createProtocolConnection(input, output, logger, options) {
|
|
8305
8305
|
return (0, node_1.createMessageConnection)(input, output, logger, options);
|
|
8306
8306
|
}
|
|
8307
|
-
exports
|
|
8307
|
+
exports.createProtocolConnection = createProtocolConnection;
|
|
8308
8308
|
} (main$2));
|
|
8309
8309
|
return main$2;
|
|
8310
8310
|
}
|
|
@@ -10747,7 +10747,7 @@ var hasRequiredApi;
|
|
|
10747
10747
|
function requireApi () {
|
|
10748
10748
|
if (hasRequiredApi) return api;
|
|
10749
10749
|
hasRequiredApi = 1;
|
|
10750
|
-
(function (exports
|
|
10750
|
+
(function (exports) {
|
|
10751
10751
|
/* --------------------------------------------------------------------------------------------
|
|
10752
10752
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
10753
10753
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
@@ -10763,27 +10763,27 @@ function requireApi () {
|
|
|
10763
10763
|
if (k2 === undefined) k2 = k;
|
|
10764
10764
|
o[k2] = m[k];
|
|
10765
10765
|
}));
|
|
10766
|
-
var __exportStar = (api && api.__exportStar) || function(m, exports
|
|
10767
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports
|
|
10766
|
+
var __exportStar = (api && api.__exportStar) || function(m, exports) {
|
|
10767
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
10768
10768
|
};
|
|
10769
|
-
Object.defineProperty(exports
|
|
10770
|
-
exports
|
|
10769
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10770
|
+
exports.ProposedFeatures = exports.NotebookDocuments = exports.TextDocuments = exports.SemanticTokensBuilder = void 0;
|
|
10771
10771
|
const semanticTokens_1 = requireSemanticTokens();
|
|
10772
|
-
Object.defineProperty(exports
|
|
10772
|
+
Object.defineProperty(exports, "SemanticTokensBuilder", { enumerable: true, get: function () { return semanticTokens_1.SemanticTokensBuilder; } });
|
|
10773
10773
|
const ic = requireInlineCompletion_proposed();
|
|
10774
|
-
__exportStar(requireMain$1(), exports
|
|
10774
|
+
__exportStar(requireMain$1(), exports);
|
|
10775
10775
|
const textDocuments_1 = requireTextDocuments();
|
|
10776
|
-
Object.defineProperty(exports
|
|
10776
|
+
Object.defineProperty(exports, "TextDocuments", { enumerable: true, get: function () { return textDocuments_1.TextDocuments; } });
|
|
10777
10777
|
const notebook_1 = requireNotebook();
|
|
10778
|
-
Object.defineProperty(exports
|
|
10779
|
-
__exportStar(requireServer(), exports
|
|
10778
|
+
Object.defineProperty(exports, "NotebookDocuments", { enumerable: true, get: function () { return notebook_1.NotebookDocuments; } });
|
|
10779
|
+
__exportStar(requireServer(), exports);
|
|
10780
10780
|
var ProposedFeatures;
|
|
10781
10781
|
(function (ProposedFeatures) {
|
|
10782
10782
|
ProposedFeatures.all = {
|
|
10783
10783
|
__brand: 'features',
|
|
10784
10784
|
languages: ic.InlineCompletionFeature
|
|
10785
10785
|
};
|
|
10786
|
-
})(ProposedFeatures || (exports
|
|
10786
|
+
})(ProposedFeatures || (exports.ProposedFeatures = ProposedFeatures = {}));
|
|
10787
10787
|
} (api));
|
|
10788
10788
|
return api;
|
|
10789
10789
|
}
|
|
@@ -10793,7 +10793,7 @@ var hasRequiredMain;
|
|
|
10793
10793
|
function requireMain () {
|
|
10794
10794
|
if (hasRequiredMain) return main$3;
|
|
10795
10795
|
hasRequiredMain = 1;
|
|
10796
|
-
(function (exports
|
|
10796
|
+
(function (exports) {
|
|
10797
10797
|
/* --------------------------------------------------------------------------------------------
|
|
10798
10798
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
10799
10799
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
@@ -10810,18 +10810,18 @@ function requireMain () {
|
|
|
10810
10810
|
if (k2 === undefined) k2 = k;
|
|
10811
10811
|
o[k2] = m[k];
|
|
10812
10812
|
}));
|
|
10813
|
-
var __exportStar = (main$3 && main$3.__exportStar) || function(m, exports
|
|
10814
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports
|
|
10813
|
+
var __exportStar = (main$3 && main$3.__exportStar) || function(m, exports) {
|
|
10814
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
10815
10815
|
};
|
|
10816
|
-
Object.defineProperty(exports
|
|
10817
|
-
exports
|
|
10816
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10817
|
+
exports.createConnection = exports.Files = void 0;
|
|
10818
10818
|
const node_util_1 = require$$0$2;
|
|
10819
10819
|
const Is = requireIs$2();
|
|
10820
10820
|
const server_1 = requireServer();
|
|
10821
10821
|
const fm = requireFiles();
|
|
10822
10822
|
const node_1 = requireNode();
|
|
10823
|
-
__exportStar(requireNode(), exports
|
|
10824
|
-
__exportStar(requireApi(), exports
|
|
10823
|
+
__exportStar(requireNode(), exports);
|
|
10824
|
+
__exportStar(requireApi(), exports);
|
|
10825
10825
|
var Files;
|
|
10826
10826
|
(function (Files) {
|
|
10827
10827
|
Files.uriToFilePath = fm.uriToFilePath;
|
|
@@ -10829,7 +10829,7 @@ function requireMain () {
|
|
|
10829
10829
|
Files.resolveGlobalYarnPath = fm.resolveGlobalYarnPath;
|
|
10830
10830
|
Files.resolve = fm.resolve;
|
|
10831
10831
|
Files.resolveModulePath = fm.resolveModulePath;
|
|
10832
|
-
})(Files || (exports
|
|
10832
|
+
})(Files || (exports.Files = Files = {}));
|
|
10833
10833
|
function endProtocolConnection() {
|
|
10834
10834
|
{
|
|
10835
10835
|
return;
|
|
@@ -10922,7 +10922,7 @@ function requireMain () {
|
|
|
10922
10922
|
}
|
|
10923
10923
|
return _createConnection(input, output, options, factories);
|
|
10924
10924
|
}
|
|
10925
|
-
exports
|
|
10925
|
+
exports.createConnection = createConnection;
|
|
10926
10926
|
function _createConnection(input, output, options, factories) {
|
|
10927
10927
|
let stdio = false;
|
|
10928
10928
|
if (!input && !output && process.argv.length > 2) {
|
|
@@ -11374,4 +11374,4 @@ function createAnalyserService(options) {
|
|
|
11374
11374
|
}
|
|
11375
11375
|
|
|
11376
11376
|
export { LogExceptions as L, createNormalisedTextDocumentConnection as a, createAnalyserService as c, isCodeFixData as i, logCaughtExpression as l, normalisedUri as n, requireMain as r };
|
|
11377
|
-
//# sourceMappingURL=analyser-service-
|
|
11377
|
+
//# sourceMappingURL=analyser-service-DRDPe9MV.js.map
|