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