@artel/artc 0.6.25239 → 0.6.25240

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.
Files changed (32) hide show
  1. package/build/Cli.js +3 -3
  2. package/build/api/Api.js +4 -2
  3. package/build/api/ApiNodeJS.js +3 -3
  4. package/build/api/ApiServices.js +55 -55
  5. package/build/{chunk-TPCKKHPK.js → chunk-7PUGFDV6.js} +1 -1
  6. package/build/{chunk-3VRPBHJN.js → chunk-TMFKLPML.js} +1270 -406
  7. package/build/{chunk-UOGTFZ6X.js → chunk-VCSRWNJI.js} +2 -2
  8. package/build/types/analysis/Analyzer.d.ts +19 -6
  9. package/build/types/analysis/DiagnosticCollector.d.ts +2 -1
  10. package/build/types/analysis/ModifierValidator.d.ts +2 -2
  11. package/build/types/analysis/TypeMemberImplementationChecker.d.ts +21 -0
  12. package/build/types/analysis/semantic-context/SemanticContextBasedEntityHidingMatcher.d.ts +9 -8
  13. package/build/types/common/SearchName.d.ts +1 -0
  14. package/build/types/diagnostic/DiagnosticCode.d.ts +23 -16
  15. package/build/types/emitter/Entities.d.ts +2 -0
  16. package/build/types/emitter/EntityMap.d.ts +2 -0
  17. package/build/types/entities/AliasTypeEntity.d.ts +2 -1
  18. package/build/types/entities/BaseEntityHidingMatcher.d.ts +11 -0
  19. package/build/types/entities/EntityHidingMatcherWithinTypeEntity.d.ts +10 -0
  20. package/build/types/entities/FunctionTypeEntity.d.ts +5 -3
  21. package/build/types/entities/PackageEntity.d.ts +3 -1
  22. package/build/types/entities/StructuredTypeEntity.d.ts +5 -3
  23. package/build/types/entities/TypeEntity.d.ts +2 -1
  24. package/build/types/entities/TypeExtensionEntity.d.ts +3 -1
  25. package/build/types/entities/TypeParameterEntity.d.ts +5 -2
  26. package/build/types/entities/VariantTypeEntity.d.ts +3 -1
  27. package/build/types/entities/index.d.ts +15 -3
  28. package/build/types/ts-interop/Entities.d.ts +15 -3
  29. package/build/types/ts-interop/TsInteropContext.d.ts +4 -2
  30. package/build/types/types/TypeMembers.d.ts +8 -1
  31. package/package.json +2 -2
  32. package/build/types/analysis/TypeMemberImplementationValidator.d.ts +0 -13
package/build/Cli.js CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CommandLineCompiler
4
- } from "./chunk-UOGTFZ6X.js";
5
- import "./chunk-TPCKKHPK.js";
4
+ } from "./chunk-VCSRWNJI.js";
5
+ import "./chunk-7PUGFDV6.js";
6
6
  import {
7
7
  __async
8
- } from "./chunk-3VRPBHJN.js";
8
+ } from "./chunk-TMFKLPML.js";
9
9
 
10
10
  // source/Cli.ts
11
11
  function main() {
package/build/api/Api.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Compiler
3
- } from "../chunk-TPCKKHPK.js";
3
+ } from "../chunk-7PUGFDV6.js";
4
4
  import {
5
5
  AccessKind,
6
6
  AccessedFunctionValueParameter,
@@ -66,6 +66,7 @@ import {
66
66
  DirectoryEntry,
67
67
  Emitter,
68
68
  EmitterPackage,
69
+ EntityContext,
69
70
  EntityHidingLevel_file,
70
71
  EntityHidingLevel_package,
71
72
  EntityHidingLevel_type,
@@ -322,7 +323,7 @@ import {
322
323
  withoutQuotes,
323
324
  withoutTemplateQuotes,
324
325
  yieldExecution
325
- } from "../chunk-3VRPBHJN.js";
326
+ } from "../chunk-TMFKLPML.js";
326
327
  export {
327
328
  AccessKind,
328
329
  AccessedFunctionValueParameter,
@@ -389,6 +390,7 @@ export {
389
390
  DirectoryEntry,
390
391
  Emitter,
391
392
  EmitterPackage,
393
+ EntityContext,
392
394
  EntityHidingLevel_file,
393
395
  EntityHidingLevel_package,
394
396
  EntityHidingLevel_type,
@@ -6,9 +6,9 @@ import {
6
6
  PhysicalFileSystem,
7
7
  PhysicalTypeScriptLibrariesProvider,
8
8
  PrintingDiagnosticAcceptor
9
- } from "../chunk-UOGTFZ6X.js";
10
- import "../chunk-TPCKKHPK.js";
11
- import "../chunk-3VRPBHJN.js";
9
+ } from "../chunk-VCSRWNJI.js";
10
+ import "../chunk-7PUGFDV6.js";
11
+ import "../chunk-TMFKLPML.js";
12
12
  export {
13
13
  CommandLineCompiler,
14
14
  FileSystemUri,
@@ -182,7 +182,7 @@ import {
182
182
  unwrapParenthesizedExpressions,
183
183
  visitChildren,
184
184
  yieldExecution
185
- } from "../chunk-3VRPBHJN.js";
185
+ } from "../chunk-TMFKLPML.js";
186
186
 
187
187
  // source/services/CustomCommand.ts
188
188
  import * as ls from "vscode-languageserver";
@@ -267,7 +267,7 @@ function cast(value) {
267
267
  }
268
268
 
269
269
  // source/services/LanguageServer.ts
270
- import { atomicBlock as atomicBlock6, atomicRun as atomicRun3 } from "reactronic";
270
+ import { atomic as atomic6, runAtomically as runAtomically3 } from "reactronic";
271
271
  import * as ls3 from "vscode-languageserver";
272
272
  import { TextDocument } from "vscode-languageserver-textdocument";
273
273
  import { URI as URI2 } from "vscode-uri";
@@ -9448,10 +9448,10 @@ var SignatureInfo = class {
9448
9448
  };
9449
9449
 
9450
9450
  // source/services/source-generation/SourceGenerationService.ts
9451
- import { atomicRun as atomicRun2, TriggeringMap as TriggeringMap6, TriggeringObject as TriggeringObject7, reaction as reaction6, Transaction as Transaction4 } from "reactronic";
9451
+ import { runAtomically as runAtomically2, TriggeringMap as TriggeringMap6, TriggeringObject as TriggeringObject7, reaction as reaction6, Transaction as Transaction4 } from "reactronic";
9452
9452
 
9453
9453
  // source/services/workspace/ClientTrackedSourceFiles.ts
9454
- import { TriggeringMap, TriggeringObject, trigger, ReactiveSystem, atomicBlock } from "reactronic";
9454
+ import { TriggeringMap, TriggeringObject, trigger, ReactiveSystem, atomic } from "reactronic";
9455
9455
  var ClientTrackedSourceFiles = class extends TriggeringObject {
9456
9456
  constructor() {
9457
9457
  super(...arguments);
@@ -9508,16 +9508,16 @@ var ClientTrackedSourceFiles = class extends TriggeringObject {
9508
9508
  }
9509
9509
  };
9510
9510
  __decorateClass([
9511
- atomicBlock
9511
+ atomic
9512
9512
  ], ClientTrackedSourceFiles.prototype, "track", 1);
9513
9513
  __decorateClass([
9514
- atomicBlock
9514
+ atomic
9515
9515
  ], ClientTrackedSourceFiles.prototype, "update", 1);
9516
9516
  __decorateClass([
9517
- atomicBlock
9517
+ atomic
9518
9518
  ], ClientTrackedSourceFiles.prototype, "save", 1);
9519
9519
  __decorateClass([
9520
- atomicBlock
9520
+ atomic
9521
9521
  ], ClientTrackedSourceFiles.prototype, "close", 1);
9522
9522
  var ClientTrackedSourceFile = class extends TriggeringObject {
9523
9523
  constructor(uri, text, version, isSaved) {
@@ -9553,8 +9553,8 @@ import {
9553
9553
  ReactiveSystem as ReactiveSystem2,
9554
9554
  Reentrance,
9555
9555
  Transaction,
9556
- atomicBlock as atomicBlock2,
9557
- nonReactiveRun,
9556
+ atomic as atomic2,
9557
+ runNonReactively,
9558
9558
  options,
9559
9559
  reaction,
9560
9560
  trigger as trigger2
@@ -9689,7 +9689,7 @@ var CompilationController = class extends TriggeringObject2 {
9689
9689
  // Включаем логирование только при первой загрузке.
9690
9690
  additionalPackageContents: this.config.additionalPackageContents
9691
9691
  };
9692
- const loadResult = yield nonReactiveRun(() => __async(this, null, function* () {
9692
+ const loadResult = yield runNonReactively(() => __async(this, null, function* () {
9693
9693
  return yield CompilationLoader.loadFromFileSystemTree(
9694
9694
  this._rootDirectory,
9695
9695
  this._fileSystemTree,
@@ -9738,7 +9738,7 @@ var CompilationController = class extends TriggeringObject2 {
9738
9738
  child.text;
9739
9739
  break;
9740
9740
  case "directory":
9741
- if (nonReactiveRun(() => CompilationLoader.isConfigurationDirectory(child))) {
9741
+ if (runNonReactively(() => CompilationLoader.isConfigurationDirectory(child))) {
9742
9742
  child.version;
9743
9743
  } else {
9744
9744
  subscribeToFileSystemRecursively(child);
@@ -9862,7 +9862,7 @@ var CompilationController = class extends TriggeringObject2 {
9862
9862
  }
9863
9863
  updateConfigurationControllers() {
9864
9864
  subscribeToFileSystemRecursively(this._rootDirectory);
9865
- const configurationDirectories = nonReactiveRun(() => this.findConfigurationDirectories());
9865
+ const configurationDirectories = runNonReactively(() => this.findConfigurationDirectories());
9866
9866
  const preservedControllerByPackageUri = /* @__PURE__ */ new Map();
9867
9867
  const addedConfigurationDirectoryByPackageUri = /* @__PURE__ */ new Map();
9868
9868
  const deletedConfigurationControllerByPackageUri = new Map(this._configurationControllerByPackageUri);
@@ -9901,7 +9901,7 @@ var CompilationController = class extends TriggeringObject2 {
9901
9901
  directory.version;
9902
9902
  for (const child of directory.getChildren()) {
9903
9903
  if (child.kind === "directory") {
9904
- if (!nonReactiveRun(() => CompilationLoader.isConfigurationDirectory(child))) {
9904
+ if (!runNonReactively(() => CompilationLoader.isConfigurationDirectory(child))) {
9905
9905
  subscribeToFileSystemRecursively(child);
9906
9906
  }
9907
9907
  }
@@ -9933,8 +9933,8 @@ var CompilationController = class extends TriggeringObject2 {
9933
9933
  if (currentTransaction.isCanceled) {
9934
9934
  return;
9935
9935
  }
9936
- const trackedSourceFiles = nonReactiveRun(() => this.config.trackedSourceFiles.createItemsSnapshot());
9937
- const compilationState = nonReactiveRun(() => this._mainCompilationState);
9936
+ const trackedSourceFiles = runNonReactively(() => this.config.trackedSourceFiles.createItemsSnapshot());
9937
+ const compilationState = runNonReactively(() => this._mainCompilationState);
9938
9938
  if (compilationState === void 0) {
9939
9939
  return;
9940
9940
  }
@@ -10087,7 +10087,7 @@ __decorateClass([
10087
10087
  trigger2(false)
10088
10088
  ], CompilationController.prototype, "_configurationsOfPackagesOutsideProject", 2);
10089
10089
  __decorateClass([
10090
- atomicBlock2
10090
+ atomic2
10091
10091
  ], CompilationController.prototype, "notifyReportedSourceFileDiagnostics", 1);
10092
10092
  __decorateClass([
10093
10093
  reaction,
@@ -10175,11 +10175,11 @@ var ReadonlyCompilationState = class {
10175
10175
  }
10176
10176
  };
10177
10177
  __decorateClass([
10178
- atomicBlock2,
10178
+ atomic2,
10179
10179
  options({ reentrance: Reentrance.runSideBySide, indicator: highPriorityDiagnosticsCollectionIndicator })
10180
10180
  ], ReadonlyCompilationState.prototype, "collectSourceFileDiagnosticsWithHighPriority", 1);
10181
10181
  __decorateClass([
10182
- atomicBlock2,
10182
+ atomic2,
10183
10183
  options({ reentrance: Reentrance.runSideBySide })
10184
10184
  ], ReadonlyCompilationState.prototype, "collectSourceFileDiagnosticsWithLowPriority", 1);
10185
10185
  var DiagnosticsCollectionSummary = class {
@@ -10281,7 +10281,7 @@ var ConfigurationController = class extends TriggeringObject2 {
10281
10281
  // subscribeToFileSystemRecursively(this.rootDirectory)
10282
10282
  // const currentTransaction = Transaction.current
10283
10283
  // const cancellationToken = new GenericCancellationToken(() => currentTransaction.isCanceled)
10284
- // const compilation = await nonReactiveRun(async () =>
10284
+ // const compilation = await runNonReactively(async () =>
10285
10285
  // await PackageConfigurationInterpreter.loadConfigurationCompilation(this.rootDirectory, undefined,
10286
10286
  // this._compilationState?.analyzer.compilation, cancellationToken),
10287
10287
  // )
@@ -10299,7 +10299,7 @@ var ConfigurationController = class extends TriggeringObject2 {
10299
10299
  // child.text // подписка
10300
10300
  // break
10301
10301
  // case 'directory':
10302
- // if (nonReactiveRun(() => CompilationLoader.isPackageConfigurationDirectory(directory))) {
10302
+ // if (runNonReactively(() => CompilationLoader.isPackageConfigurationDirectory(directory))) {
10303
10303
  // // Для папки с конфигурацией подписываемся только на изменение её содержимого.
10304
10304
  // // Если она не будет содержать ни одного файла - перестанет считаться конфигурационной папкой.
10305
10305
  // // Вложенные файлы не являются частью главной компиляции, поэтому на них не нужно подписываться.
@@ -10325,7 +10325,7 @@ var ConfigurationController = class extends TriggeringObject2 {
10325
10325
  // const compilationState = this._compilationState
10326
10326
  // const currentTransaction = Transaction.current
10327
10327
  // const cancellationToken = new GenericCancellationToken(() => currentTransaction.isCanceled)
10328
- // const trackedSourceFileByUri = nonReactiveRun(() =>
10328
+ // const trackedSourceFileByUri = runNonReactively(() =>
10329
10329
  // this._mainCompilationController.config.trackedSourceFiles.createItemsSnapshot(),
10330
10330
  // )
10331
10331
  // const diagnosticsOfSourceFilesPromises =
@@ -10365,7 +10365,7 @@ var ConfigurationController = class extends TriggeringObject2 {
10365
10365
  // if (this._diagnosticsChangedIndicator.isBusy) {
10366
10366
  // return
10367
10367
  // }
10368
- // const diagnostics = nonReactiveRun(() => this._configurationDiagnostics)
10368
+ // const diagnostics = runNonReactively(() => this._configurationDiagnostics)
10369
10369
  // if (diagnostics === undefined) {
10370
10370
  // return
10371
10371
  // }
@@ -10402,7 +10402,7 @@ var ConfigurationController = class extends TriggeringObject2 {
10402
10402
  // }
10403
10403
  // else {
10404
10404
  // const analyzer = this._compilationState.analyzer
10405
- // const result = await nonReactiveRun(async () =>
10405
+ // const result = await runNonReactively(async () =>
10406
10406
  // await PackageConfigurationInterpreter.compileAndExecuteConfiguration(analyzer, undefined),
10407
10407
  // )
10408
10408
  // if (!Transaction.current.isCanceled) {
@@ -10499,9 +10499,9 @@ var TsInteropInputsCache = class {
10499
10499
 
10500
10500
  // source/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.ts
10501
10501
  import {
10502
- atomicBlock as atomicBlock3,
10502
+ atomic as atomic3,
10503
10503
  Indicator as Indicator2,
10504
- nonReactiveRun as nonReactiveRun2,
10504
+ runNonReactively as runNonReactively2,
10505
10505
  TriggeringArray,
10506
10506
  TriggeringMap as TriggeringMap2,
10507
10507
  TriggeringObject as TriggeringObject3,
@@ -10640,7 +10640,7 @@ var FileSystemTreeProviderBasedOnWatchedFileSystem = class extends TriggeringObj
10640
10640
  if (!this._isInitialized) {
10641
10641
  return;
10642
10642
  }
10643
- nonReactiveRun2(() => {
10643
+ runNonReactively2(() => {
10644
10644
  const additionalUrisOfDirectoriesToLoad = this._additionalUrisOfDirectoriesToLoad;
10645
10645
  if (additionalUrisOfDirectoriesToLoad === void 0) {
10646
10646
  return;
@@ -11062,19 +11062,19 @@ __decorateClass([
11062
11062
  reaction2
11063
11063
  ], FileSystemTreeProviderBasedOnWatchedFileSystem.prototype, "loadAdditionalDirectories", 1);
11064
11064
  __decorateClass([
11065
- atomicBlock3
11065
+ atomic3
11066
11066
  ], FileSystemTreeProviderBasedOnWatchedFileSystem.prototype, "addWorkspaceFoldersWorker", 1);
11067
11067
  __decorateClass([
11068
- atomicBlock3
11068
+ atomic3
11069
11069
  ], FileSystemTreeProviderBasedOnWatchedFileSystem.prototype, "removeWorkspaceFoldersWorker", 1);
11070
11070
  __decorateClass([
11071
- atomicBlock3
11071
+ atomic3
11072
11072
  ], FileSystemTreeProviderBasedOnWatchedFileSystem.prototype, "onFileSystemTreeUpdatedWorker", 1);
11073
11073
  __decorateClass([
11074
- atomicBlock3
11074
+ atomic3
11075
11075
  ], FileSystemTreeProviderBasedOnWatchedFileSystem.prototype, "stopTrackingSourceFile", 1);
11076
11076
  __decorateClass([
11077
- atomicBlock3
11077
+ atomic3
11078
11078
  ], FileSystemTreeProviderBasedOnWatchedFileSystem.prototype, "updateFileSystemTree", 1);
11079
11079
  var SimpleFileSystemUpdateNotificationsPublisher = class {
11080
11080
  constructor() {
@@ -11212,7 +11212,7 @@ __decorateClass([
11212
11212
  trigger3(false)
11213
11213
  ], TaskQueue.prototype, "_tasks", 2);
11214
11214
  __decorateClass([
11215
- atomicBlock3
11215
+ atomic3
11216
11216
  ], TaskQueue.prototype, "addTask", 1);
11217
11217
  __decorateClass([
11218
11218
  reaction2
@@ -11353,10 +11353,10 @@ import {
11353
11353
  ReactiveSystem as ReactiveSystem6,
11354
11354
  Reentrance as Reentrance2,
11355
11355
  Transaction as Transaction3,
11356
- atomicBlock as atomicBlock5,
11357
- atomicRun,
11356
+ atomic as atomic5,
11357
+ runAtomically,
11358
11358
  cache,
11359
- nonReactiveRun as nonReactiveRun3,
11359
+ runNonReactively as runNonReactively3,
11360
11360
  options as options5,
11361
11361
  reaction as reaction5,
11362
11362
  trigger as trigger6
@@ -11371,7 +11371,7 @@ import {
11371
11371
  trigger as trigger5,
11372
11372
  reaction as reaction4,
11373
11373
  ReactiveSystem as ReactiveSystem5,
11374
- atomicBlock as atomicBlock4
11374
+ atomic as atomic4
11375
11375
  } from "reactronic";
11376
11376
  var WorkspaceFiles = class extends TriggeringObject5 {
11377
11377
  constructor(fileSystemTreeProvider) {
@@ -11486,16 +11486,16 @@ __decorateClass([
11486
11486
  trigger5(false)
11487
11487
  ], WorkspaceFiles.prototype, "_fileSystemTreeProvider", 2);
11488
11488
  __decorateClass([
11489
- atomicBlock4
11489
+ atomic4
11490
11490
  ], WorkspaceFiles.prototype, "addWorkspaceFolders", 1);
11491
11491
  __decorateClass([
11492
- atomicBlock4
11492
+ atomic4
11493
11493
  ], WorkspaceFiles.prototype, "removeWorkspaceFolders", 1);
11494
11494
  __decorateClass([
11495
- atomicBlock4
11495
+ atomic4
11496
11496
  ], WorkspaceFiles.prototype, "trackSourceFile", 1);
11497
11497
  __decorateClass([
11498
- atomicBlock4
11498
+ atomic4
11499
11499
  ], WorkspaceFiles.prototype, "updateTrackedSourceFile", 1);
11500
11500
  __decorateClass([
11501
11501
  reaction4,
@@ -11533,7 +11533,7 @@ var _Workspace = class _Workspace extends TriggeringObject6 {
11533
11533
  }
11534
11534
  static create(config) {
11535
11535
  return __async(this, null, function* () {
11536
- return yield atomicRun(() => __async(this, null, function* () {
11536
+ return yield runAtomically(() => __async(this, null, function* () {
11537
11537
  const configInternal = {
11538
11538
  fileSystemTreeProvider: config.fileSystemTreeProvider,
11539
11539
  tsLibrariesProvider: config.tsLibrariesProvider,
@@ -11670,7 +11670,7 @@ var _Workspace = class _Workspace extends TriggeringObject6 {
11670
11670
  }
11671
11671
  const controllerToLoad = this.getControllerToLoad();
11672
11672
  if (controllerToLoad !== void 0) {
11673
- if (!nonReactiveRun3(() => controllerToLoad.isConfigurationsProcessingEnabled)) {
11673
+ if (!runNonReactively3(() => controllerToLoad.isConfigurationsProcessingEnabled)) {
11674
11674
  yield new Promise((r) => setTimeout(r, 50));
11675
11675
  if (Transaction3.current.isCanceled) {
11676
11676
  return;
@@ -11797,7 +11797,7 @@ __decorateClass([
11797
11797
  cache
11798
11798
  ], _Workspace.prototype, "compilationControllerByUri", 1);
11799
11799
  __decorateClass([
11800
- atomicBlock5
11800
+ atomic5
11801
11801
  ], _Workspace.prototype, "notifyClosedTextDocument", 1);
11802
11802
  __decorateClass([
11803
11803
  reaction5,
@@ -12339,7 +12339,7 @@ var SourceGenerationService = class extends TriggeringObject7 {
12339
12339
  return void 0;
12340
12340
  }
12341
12341
  const compilationController = generatedPackageState.compilationController;
12342
- atomicRun2(() => compilationController.isConfigurationsProcessingEnabled = true);
12342
+ runAtomically2(() => compilationController.isConfigurationsProcessingEnabled = true);
12343
12343
  yield compilationController.waitFullyLoaded();
12344
12344
  const compilationState = compilationController.mainCompilationState;
12345
12345
  if (compilationState?.analyzer.compilation.mainPackage === void 0) {
@@ -12407,7 +12407,7 @@ var SourceGenerationService = class extends TriggeringObject7 {
12407
12407
  const code = new SyntaxToCode(node, { keywordsLocale: packageLocale }).convert();
12408
12408
  const generatedPackageUri = new Uri(GeneratedSourceFileScheme, "", [key]);
12409
12409
  const generatedFileUri = generatedPackageUri.append(`${packageEntity.getName().toString()}.art`);
12410
- const fileSystemTree = atomicRun2(() => new FileSystemTree());
12410
+ const fileSystemTree = runAtomically2(() => new FileSystemTree());
12411
12411
  const packageDirectory = fileSystemTree.addDirectory(generatedPackageUri);
12412
12412
  fileSystemTree.addFile(generatedFileUri, code);
12413
12413
  const systemPackageLocale = localizationContext?.getTranslationLocale(analyzer.systemPackage) ?? analyzer.systemPackage.getLocale();
@@ -12430,10 +12430,10 @@ var SourceGenerationService = class extends TriggeringObject7 {
12430
12430
  getTreatRootAsPackageIfConfigIsMissing: () => true,
12431
12431
  additionalPackageContents: standardPackageContents
12432
12432
  };
12433
- const controller = atomicRun2(() => new CompilationController(controllerConfig));
12433
+ const controller = runAtomically2(() => new CompilationController(controllerConfig));
12434
12434
  result = new GeneratedPackageState(controller, generatedFileUri);
12435
12435
  this.setDeleteGeneratedPackageTimeout(key, result, deleteGeneratedPackageTimeoutMs);
12436
- atomicRun2(() => this._generatedPackageStates.set(key, result));
12436
+ runAtomically2(() => this._generatedPackageStates.set(key, result));
12437
12437
  }
12438
12438
  return result;
12439
12439
  });
@@ -12954,7 +12954,7 @@ var LanguageServer = class {
12954
12954
  if (builtInStandardPackagesUri !== void 0) {
12955
12955
  additionalUrisOfDirectoriesToLoad.push(builtInStandardPackagesUri);
12956
12956
  }
12957
- fileSystemTreeProvider = atomicRun3(
12957
+ fileSystemTreeProvider = runAtomically3(
12958
12958
  () => new FileSystemTreeProviderBasedOnWatchedFileSystem(
12959
12959
  fileSystem,
12960
12960
  publisher,
@@ -12965,7 +12965,7 @@ var LanguageServer = class {
12965
12965
  break;
12966
12966
  }
12967
12967
  case "client-to-server-requests": {
12968
- this._manuallyUpdatedFileSystemTreeProvider = atomicRun3(() => new ManuallyUpdatedFileSystemTreeProvider());
12968
+ this._manuallyUpdatedFileSystemTreeProvider = runAtomically3(() => new ManuallyUpdatedFileSystemTreeProvider());
12969
12969
  fileSystemTreeProvider = this._manuallyUpdatedFileSystemTreeProvider;
12970
12970
  break;
12971
12971
  }
@@ -12985,9 +12985,9 @@ var LanguageServer = class {
12985
12985
  builtInStandardPackagesUri,
12986
12986
  additionalPackageContents: this._config.additionalPackageContents
12987
12987
  };
12988
- this._workspace = yield atomicRun3(() => Workspace.create(config));
12988
+ this._workspace = yield runAtomically3(() => Workspace.create(config));
12989
12989
  this._workspace.addWorkspaceFolders(workspaceFolderUris);
12990
- this._sourceGenerationService = atomicRun3(() => new SourceGenerationService(
12990
+ this._sourceGenerationService = runAtomically3(() => new SourceGenerationService(
12991
12991
  this._workspace.trackedSourceFiles,
12992
12992
  this._config.tsLibrariesProvider,
12993
12993
  (token) => __async(this, null, function* () {
@@ -13167,13 +13167,13 @@ var LanguageServer = class {
13167
13167
  onWorkspaceDiagnostic(params, token) {
13168
13168
  return __async(this, null, function* () {
13169
13169
  this._workspaceDiagnosticsPartialResultToken = params.partialResultToken;
13170
- atomicRun3(() => this._workspace.isReadyToAcceptWorkspaceDiagnostics = true);
13170
+ runAtomically3(() => this._workspace.isReadyToAcceptWorkspaceDiagnostics = true);
13171
13171
  while (!token.isCancellationRequested) {
13172
13172
  yield new Promise((r) => setTimeout(r, 1e3));
13173
13173
  }
13174
13174
  if (this._workspaceDiagnosticsPartialResultToken === params.partialResultToken) {
13175
13175
  this._workspaceDiagnosticsPartialResultToken = void 0;
13176
- atomicRun3(() => this._workspace.isReadyToAcceptWorkspaceDiagnostics = false);
13176
+ runAtomically3(() => this._workspace.isReadyToAcceptWorkspaceDiagnostics = false);
13177
13177
  }
13178
13178
  throw new CancelledError();
13179
13179
  });
@@ -14069,7 +14069,7 @@ ${e}`);
14069
14069
  }
14070
14070
  };
14071
14071
  __decorateClass([
14072
- atomicBlock6
14072
+ atomic6
14073
14073
  ], LanguageServer.prototype, "onDidChangeWorkspaceFolders", 1);
14074
14074
  var FileSystemSynchronizationMode;
14075
14075
  ((FileSystemSynchronizationMode2) => {
@@ -10,7 +10,7 @@ import {
10
10
  WellKnownDeclarationsLoadError,
11
11
  __async,
12
12
  createTsInteropInputsForCompilation
13
- } from "./chunk-3VRPBHJN.js";
13
+ } from "./chunk-TMFKLPML.js";
14
14
 
15
15
  // source/executor/Compiler.ts
16
16
  var Compiler = class {