@algorandfoundation/puya-ts 1.2.0-beta.6 → 1.2.0-beta.8

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