@artel/artc 0.6.26003 → 0.6.26005
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/Cli.js +3 -3
- package/build/api/Api.js +2 -2
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +61 -61
- package/build/{chunk-C4H2M62O.js → chunk-K7RYBIKG.js} +1 -1
- package/build/{chunk-MN7XRSIB.js → chunk-KJOZ6YIN.js} +81 -60
- package/build/{chunk-F6GHQA36.js → chunk-SA27SWNJ.js} +2 -2
- package/build/types/common/HelperPhrases.d.ts +2 -1
- package/build/types/project/FileSystemTree.d.ts +2 -2
- package/build/types/services/source-generation/SourceGenerationService.d.ts +2 -2
- package/build/types/services/workspace/ClientTrackedSourceFiles.d.ts +5 -5
- package/build/types/services/workspace/CompilationController.d.ts +3 -3
- package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +4 -4
- package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +4 -4
- package/build/types/services/workspace/Workspace.d.ts +3 -3
- package/build/types/services/workspace/WorkspaceFiles.d.ts +7 -7
- package/package.json +2 -2
package/build/Cli.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
CommandLineCompiler
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-SA27SWNJ.js";
|
|
5
|
+
import "./chunk-K7RYBIKG.js";
|
|
6
6
|
import {
|
|
7
7
|
__async
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KJOZ6YIN.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-
|
|
3
|
+
} from "../chunk-K7RYBIKG.js";
|
|
4
4
|
import {
|
|
5
5
|
AccessKind,
|
|
6
6
|
AccessedFunctionParameter,
|
|
@@ -348,7 +348,7 @@ import {
|
|
|
348
348
|
withoutQuotes,
|
|
349
349
|
withoutTemplateQuotes,
|
|
350
350
|
yieldTask
|
|
351
|
-
} from "../chunk-
|
|
351
|
+
} from "../chunk-KJOZ6YIN.js";
|
|
352
352
|
export {
|
|
353
353
|
AccessKind,
|
|
354
354
|
AccessedFunctionParameter,
|
package/build/api/ApiNodeJS.js
CHANGED
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
PhysicalFileSystem,
|
|
7
7
|
PhysicalTypeScriptLibrariesProvider,
|
|
8
8
|
PrintingDiagnosticAcceptor
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-SA27SWNJ.js";
|
|
10
|
+
import "../chunk-K7RYBIKG.js";
|
|
11
|
+
import "../chunk-KJOZ6YIN.js";
|
|
12
12
|
export {
|
|
13
13
|
CommandLineCompiler,
|
|
14
14
|
FileSystemUri,
|
package/build/api/ApiServices.js
CHANGED
|
@@ -183,7 +183,7 @@ import {
|
|
|
183
183
|
unwrapParenthesizedExpressions,
|
|
184
184
|
visitChildren,
|
|
185
185
|
yieldTask
|
|
186
|
-
} from "../chunk-
|
|
186
|
+
} from "../chunk-KJOZ6YIN.js";
|
|
187
187
|
|
|
188
188
|
// source/services/CustomRequests.ts
|
|
189
189
|
import * as ls from "vscode-languageserver";
|
|
@@ -9279,8 +9279,8 @@ var SignatureInfo = class {
|
|
|
9279
9279
|
import {
|
|
9280
9280
|
transaction as transaction6,
|
|
9281
9281
|
signal as signal7,
|
|
9282
|
-
|
|
9283
|
-
|
|
9282
|
+
RxMap as RxMap6,
|
|
9283
|
+
RxObject as RxObject7,
|
|
9284
9284
|
options as options6,
|
|
9285
9285
|
reaction as reaction6,
|
|
9286
9286
|
Reentrance as Reentrance3,
|
|
@@ -9288,11 +9288,11 @@ import {
|
|
|
9288
9288
|
} from "reactronic";
|
|
9289
9289
|
|
|
9290
9290
|
// source/services/workspace/ClientTrackedSourceFiles.ts
|
|
9291
|
-
import {
|
|
9292
|
-
var ClientTrackedSourceFiles = class extends
|
|
9291
|
+
import { RxMap, RxObject, signal, transaction, disposeRxObject } from "reactronic";
|
|
9292
|
+
var ClientTrackedSourceFiles = class extends RxObject {
|
|
9293
9293
|
constructor() {
|
|
9294
9294
|
super(...arguments);
|
|
9295
|
-
this.items = new
|
|
9295
|
+
this.items = new RxMap();
|
|
9296
9296
|
}
|
|
9297
9297
|
// @cached
|
|
9298
9298
|
get unsaved() {
|
|
@@ -9340,8 +9340,8 @@ var ClientTrackedSourceFiles = class extends SxObject {
|
|
|
9340
9340
|
return Query.toMap(this.items.entries(), (e) => e[0], (e) => e[1].createSnapshot());
|
|
9341
9341
|
}
|
|
9342
9342
|
dispose() {
|
|
9343
|
-
|
|
9344
|
-
|
|
9343
|
+
disposeRxObject(this.items);
|
|
9344
|
+
disposeRxObject(this);
|
|
9345
9345
|
}
|
|
9346
9346
|
};
|
|
9347
9347
|
__decorateClass([
|
|
@@ -9356,7 +9356,7 @@ __decorateClass([
|
|
|
9356
9356
|
__decorateClass([
|
|
9357
9357
|
transaction
|
|
9358
9358
|
], ClientTrackedSourceFiles.prototype, "close", 1);
|
|
9359
|
-
var ClientTrackedSourceFile = class extends
|
|
9359
|
+
var ClientTrackedSourceFile = class extends RxObject {
|
|
9360
9360
|
constructor(uri, text, version, isSaved) {
|
|
9361
9361
|
super();
|
|
9362
9362
|
this.uri = uri;
|
|
@@ -9368,7 +9368,7 @@ var ClientTrackedSourceFile = class extends SxObject {
|
|
|
9368
9368
|
return new ClientTrackedSourceFileSnapshot(this.uri, this.text, this.version, this.isSaved);
|
|
9369
9369
|
}
|
|
9370
9370
|
dispose() {
|
|
9371
|
-
|
|
9371
|
+
disposeRxObject(this);
|
|
9372
9372
|
}
|
|
9373
9373
|
};
|
|
9374
9374
|
__decorateClass([
|
|
@@ -9386,11 +9386,11 @@ var ClientTrackedSourceFileSnapshot = class {
|
|
|
9386
9386
|
// source/services/workspace/CompilationController.ts
|
|
9387
9387
|
import {
|
|
9388
9388
|
Indicator,
|
|
9389
|
-
|
|
9389
|
+
RxObject as RxObject2,
|
|
9390
9390
|
Reentrance,
|
|
9391
9391
|
Transaction,
|
|
9392
9392
|
transaction as transaction2,
|
|
9393
|
-
|
|
9393
|
+
disposeRxObject as disposeRxObject2,
|
|
9394
9394
|
manageReaction,
|
|
9395
9395
|
signal as signal2,
|
|
9396
9396
|
options,
|
|
@@ -9404,7 +9404,7 @@ var highPriorityDiagnosticsCollectionIndicator = Indicator.create(
|
|
|
9404
9404
|
100
|
|
9405
9405
|
);
|
|
9406
9406
|
var backgroundDiagnosticsCollectionThrottleTimeMs = 3e3;
|
|
9407
|
-
var CompilationController = class extends
|
|
9407
|
+
var CompilationController = class extends RxObject2 {
|
|
9408
9408
|
constructor(config) {
|
|
9409
9409
|
super();
|
|
9410
9410
|
this.isConfigurationsProcessingEnabled = false;
|
|
@@ -9524,7 +9524,7 @@ var CompilationController = class extends SxObject2 {
|
|
|
9524
9524
|
for (const controller of this.configurationControllerByPackageUri_.values()) {
|
|
9525
9525
|
controller.dispose();
|
|
9526
9526
|
}
|
|
9527
|
-
|
|
9527
|
+
disposeRxObject2(this);
|
|
9528
9528
|
}
|
|
9529
9529
|
reloadMainCompilation() {
|
|
9530
9530
|
return __async(this, null, function* () {
|
|
@@ -10054,7 +10054,7 @@ var DiagnosticsCollectionSummary = class {
|
|
|
10054
10054
|
this.hasErrors = hasErrors;
|
|
10055
10055
|
}
|
|
10056
10056
|
};
|
|
10057
|
-
var ConfigurationController = class extends
|
|
10057
|
+
var ConfigurationController = class extends RxObject2 {
|
|
10058
10058
|
constructor(rootDirectory, packageUri, mainCompilationController) {
|
|
10059
10059
|
super();
|
|
10060
10060
|
// private compilationState_: ReadonlyCompilationState | undefined = undefined
|
|
@@ -10100,7 +10100,7 @@ var ConfigurationController = class extends SxObject2 {
|
|
|
10100
10100
|
return this.convertedConfigurationVersion_ >= 0;
|
|
10101
10101
|
}
|
|
10102
10102
|
dispose() {
|
|
10103
|
-
|
|
10103
|
+
disposeRxObject2(this);
|
|
10104
10104
|
}
|
|
10105
10105
|
updateJsonConfigurationFile() {
|
|
10106
10106
|
this.rootDirectory.version;
|
|
@@ -10141,7 +10141,7 @@ var ConfigurationController = class extends SxObject2 {
|
|
|
10141
10141
|
// if (!this.mainCompilationController.isConfigurationsProcessingEnabled) {
|
|
10142
10142
|
// return
|
|
10143
10143
|
// }
|
|
10144
|
-
// // Вызов
|
|
10144
|
+
// // Вызов disposeRxObject устанавливает undefined в качестве значения всех полей.
|
|
10145
10145
|
// if (this.rootDirectory.isDisposed || this.rootDirectory.isDisposed === undefined) {
|
|
10146
10146
|
// return
|
|
10147
10147
|
// }
|
|
@@ -10369,29 +10369,29 @@ import {
|
|
|
10369
10369
|
transaction as transaction3,
|
|
10370
10370
|
Indicator as Indicator2,
|
|
10371
10371
|
runNonReactive as runNonReactive2,
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
|
|
10372
|
+
RxArray,
|
|
10373
|
+
RxMap as RxMap2,
|
|
10374
|
+
RxObject as RxObject3,
|
|
10375
10375
|
options as options2,
|
|
10376
10376
|
signal as signal3,
|
|
10377
10377
|
reaction as reaction2,
|
|
10378
10378
|
manageReaction as manageReaction2,
|
|
10379
|
-
|
|
10379
|
+
disposeRxObject as disposeRxObject3,
|
|
10380
10380
|
Transaction as Transaction2
|
|
10381
10381
|
} from "reactronic";
|
|
10382
|
-
var FileSystemTreeProviderBasedOnWatchedFileSystem = class extends
|
|
10382
|
+
var FileSystemTreeProviderBasedOnWatchedFileSystem = class extends RxObject3 {
|
|
10383
10383
|
// Используется в качестве множества.
|
|
10384
10384
|
constructor(fileSystem, notificationsPublisher, namesOfDirectoriesToIgnore, additionalUrisOfDirectoriesToLoad) {
|
|
10385
10385
|
super();
|
|
10386
10386
|
this.fileSystemTree = new FileSystemTree(true);
|
|
10387
|
-
this.loadedWorkspaceFolderByUri = new
|
|
10387
|
+
this.loadedWorkspaceFolderByUri = new RxMap2();
|
|
10388
10388
|
this.workspaceFolderUris = void 0;
|
|
10389
10389
|
this.trackedSourceFiles = void 0;
|
|
10390
10390
|
this.isInitialized = false;
|
|
10391
10391
|
this.lastCheckedWorkspaceFolderUris = new Array();
|
|
10392
10392
|
this.taskQueue = new TaskQueue();
|
|
10393
10393
|
this.lastCheckedTrackedSourceFileInfoVersionByUri = /* @__PURE__ */ new Map();
|
|
10394
|
-
this.loadedDirectoryUris = new
|
|
10394
|
+
this.loadedDirectoryUris = new RxMap2();
|
|
10395
10395
|
this.fileSystem = fileSystem;
|
|
10396
10396
|
this.notificationsPublisher = notificationsPublisher;
|
|
10397
10397
|
this.listener = this.onFileSystemUpdated.bind(this);
|
|
@@ -10412,10 +10412,10 @@ var FileSystemTreeProviderBasedOnWatchedFileSystem = class extends SxObject3 {
|
|
|
10412
10412
|
dispose() {
|
|
10413
10413
|
this.notificationsPublisher.removeListener(this.listener);
|
|
10414
10414
|
this.fileSystemTree.dispose();
|
|
10415
|
-
|
|
10415
|
+
disposeRxObject3(this.loadedWorkspaceFolderByUri);
|
|
10416
10416
|
this.taskQueue.dispose();
|
|
10417
|
-
|
|
10418
|
-
|
|
10417
|
+
disposeRxObject3(this.workspaceFolderUris);
|
|
10418
|
+
disposeRxObject3(this);
|
|
10419
10419
|
}
|
|
10420
10420
|
onTrackedSourceFilesUpdated() {
|
|
10421
10421
|
if (this.trackedSourceFiles === void 0) {
|
|
@@ -11018,10 +11018,10 @@ var FileSystemTreeUpdate_deleteDirectory = class {
|
|
|
11018
11018
|
return this.uri;
|
|
11019
11019
|
}
|
|
11020
11020
|
};
|
|
11021
|
-
var TaskQueue = class extends
|
|
11021
|
+
var TaskQueue = class extends RxObject3 {
|
|
11022
11022
|
constructor() {
|
|
11023
11023
|
super();
|
|
11024
|
-
this.tasks = new
|
|
11024
|
+
this.tasks = new RxArray();
|
|
11025
11025
|
this.currentTask = void 0;
|
|
11026
11026
|
this.processTasksIndicator = Indicator2.create("ProcessTasks", -1, -1, 1e3);
|
|
11027
11027
|
manageReaction2(this.processTasks).configure({ indicator: this.processTasksIndicator });
|
|
@@ -11032,8 +11032,8 @@ var TaskQueue = class extends SxObject3 {
|
|
|
11032
11032
|
this.tasks.push(task);
|
|
11033
11033
|
}
|
|
11034
11034
|
dispose() {
|
|
11035
|
-
|
|
11036
|
-
|
|
11035
|
+
disposeRxObject3(this.tasks);
|
|
11036
|
+
disposeRxObject3(this);
|
|
11037
11037
|
}
|
|
11038
11038
|
waitAllTasksProcessed(taskController) {
|
|
11039
11039
|
return __async(this, null, function* () {
|
|
@@ -11091,18 +11091,18 @@ __decorateClass([
|
|
|
11091
11091
|
|
|
11092
11092
|
// source/services/workspace/ManuallyUpdatedFileSystemTreeProvider.ts
|
|
11093
11093
|
import {
|
|
11094
|
-
|
|
11095
|
-
|
|
11094
|
+
RxMap as RxMap3,
|
|
11095
|
+
RxObject as RxObject4,
|
|
11096
11096
|
options as options3,
|
|
11097
11097
|
reaction as reaction3,
|
|
11098
11098
|
signal as signal4,
|
|
11099
|
-
|
|
11099
|
+
disposeRxObject as disposeRxObject4
|
|
11100
11100
|
} from "reactronic";
|
|
11101
|
-
var ManuallyUpdatedFileSystemTreeProvider = class extends
|
|
11101
|
+
var ManuallyUpdatedFileSystemTreeProvider = class extends RxObject4 {
|
|
11102
11102
|
constructor() {
|
|
11103
11103
|
super(...arguments);
|
|
11104
11104
|
this.fileSystemTree = new FileSystemTree(true, true);
|
|
11105
|
-
this.loadedWorkspaceFolderByUri = new
|
|
11105
|
+
this.loadedWorkspaceFolderByUri = new RxMap3();
|
|
11106
11106
|
this.workspaceFolderUris = void 0;
|
|
11107
11107
|
this.trackedSourceFiles = void 0;
|
|
11108
11108
|
this.lastCheckedTrackedSourceFileInfoByUri = /* @__PURE__ */ new Map();
|
|
@@ -11117,9 +11117,9 @@ var ManuallyUpdatedFileSystemTreeProvider = class extends SxObject4 {
|
|
|
11117
11117
|
}
|
|
11118
11118
|
dispose() {
|
|
11119
11119
|
this.fileSystemTree.dispose();
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11120
|
+
disposeRxObject4(this.loadedWorkspaceFolderByUri);
|
|
11121
|
+
disposeRxObject4(this.workspaceFolderUris);
|
|
11122
|
+
disposeRxObject4(this);
|
|
11123
11123
|
}
|
|
11124
11124
|
createOrUpdateSourceFile(uri, text) {
|
|
11125
11125
|
this.manuallyCreatedSourceFileTextByUri.set(uri.toString(), text);
|
|
@@ -11222,9 +11222,9 @@ __decorateClass([
|
|
|
11222
11222
|
|
|
11223
11223
|
// source/services/workspace/Workspace.ts
|
|
11224
11224
|
import {
|
|
11225
|
-
|
|
11226
|
-
|
|
11227
|
-
|
|
11225
|
+
RxArray as RxArray4,
|
|
11226
|
+
RxMap as RxMap5,
|
|
11227
|
+
RxObject as RxObject6,
|
|
11228
11228
|
Reentrance as Reentrance2,
|
|
11229
11229
|
Transaction as Transaction3,
|
|
11230
11230
|
transaction as transaction5,
|
|
@@ -11234,26 +11234,26 @@ import {
|
|
|
11234
11234
|
signal as signal6,
|
|
11235
11235
|
reaction as reaction5,
|
|
11236
11236
|
cache,
|
|
11237
|
-
|
|
11237
|
+
disposeRxObject as disposeRxObject6
|
|
11238
11238
|
} from "reactronic";
|
|
11239
11239
|
|
|
11240
11240
|
// source/services/workspace/WorkspaceFiles.ts
|
|
11241
11241
|
import {
|
|
11242
|
-
|
|
11243
|
-
|
|
11244
|
-
|
|
11242
|
+
RxArray as RxArray3,
|
|
11243
|
+
RxMap as RxMap4,
|
|
11244
|
+
RxObject as RxObject5,
|
|
11245
11245
|
options as options4,
|
|
11246
11246
|
signal as signal5,
|
|
11247
11247
|
reaction as reaction4,
|
|
11248
|
-
|
|
11248
|
+
disposeRxObject as disposeRxObject5,
|
|
11249
11249
|
transaction as transaction4
|
|
11250
11250
|
} from "reactronic";
|
|
11251
|
-
var WorkspaceFiles = class extends
|
|
11251
|
+
var WorkspaceFiles = class extends RxObject5 {
|
|
11252
11252
|
constructor(fileSystemTreeProvider) {
|
|
11253
11253
|
super();
|
|
11254
11254
|
this.trackedSourceFiles = new ClientTrackedSourceFiles();
|
|
11255
|
-
this.workspaceFolderUris = new
|
|
11256
|
-
this.workspaceFolderWithArtelProjectByUri = new
|
|
11255
|
+
this.workspaceFolderUris = new RxArray3();
|
|
11256
|
+
this.workspaceFolderWithArtelProjectByUri = new RxMap4();
|
|
11257
11257
|
this.fileSystemTreeProvider = fileSystemTreeProvider;
|
|
11258
11258
|
this.fileSystemTreeProvider.initialize(this.workspaceFolderUris, this.trackedSourceFiles);
|
|
11259
11259
|
}
|
|
@@ -11311,11 +11311,11 @@ var WorkspaceFiles = class extends SxObject5 {
|
|
|
11311
11311
|
});
|
|
11312
11312
|
}
|
|
11313
11313
|
dispose() {
|
|
11314
|
-
|
|
11315
|
-
|
|
11314
|
+
disposeRxObject5(this.workspaceFolderUris);
|
|
11315
|
+
disposeRxObject5(this.workspaceFolderWithArtelProjectByUri);
|
|
11316
11316
|
this.fileSystemTreeProvider.dispose();
|
|
11317
11317
|
this.trackedSourceFiles.dispose();
|
|
11318
|
-
|
|
11318
|
+
disposeRxObject5(this);
|
|
11319
11319
|
}
|
|
11320
11320
|
updateWorkspaceFolderWithArtelProjectByUri() {
|
|
11321
11321
|
this.isMissingConfigurationDirectoryAllowed;
|
|
@@ -11378,13 +11378,13 @@ __decorateClass([
|
|
|
11378
11378
|
], WorkspaceFiles.prototype, "updateWorkspaceFolderWithArtelProjectByUri", 1);
|
|
11379
11379
|
|
|
11380
11380
|
// source/services/workspace/Workspace.ts
|
|
11381
|
-
var _Workspace = class _Workspace extends
|
|
11381
|
+
var _Workspace = class _Workspace extends RxObject6 {
|
|
11382
11382
|
constructor(config) {
|
|
11383
11383
|
super();
|
|
11384
11384
|
this.isReadyToAcceptWorkspaceDiagnostics = false;
|
|
11385
|
-
this.compilationControllers_ = new
|
|
11385
|
+
this.compilationControllers_ = new RxArray4();
|
|
11386
11386
|
// ObservableMap используется в качестве Set'а.
|
|
11387
|
-
this.controllersWithOpenedFiles = new
|
|
11387
|
+
this.controllersWithOpenedFiles = new RxMap5();
|
|
11388
11388
|
this.atLeastOneFileOfCompilationHasBeenOpened = false;
|
|
11389
11389
|
this.standardPackageContents = new Cached();
|
|
11390
11390
|
this.tsInteropInputsCache = new TsInteropInputsCache();
|
|
@@ -11506,10 +11506,10 @@ var _Workspace = class _Workspace extends SxObject6 {
|
|
|
11506
11506
|
for (const controller of this.compilationControllers_.values()) {
|
|
11507
11507
|
controller.dispose();
|
|
11508
11508
|
}
|
|
11509
|
-
|
|
11510
|
-
|
|
11509
|
+
disposeRxObject6(this.compilationControllers_);
|
|
11510
|
+
disposeRxObject6(this.controllersWithOpenedFiles);
|
|
11511
11511
|
this.files.dispose();
|
|
11512
|
-
|
|
11512
|
+
disposeRxObject6(this);
|
|
11513
11513
|
}
|
|
11514
11514
|
updateCompilationControllers() {
|
|
11515
11515
|
const controllersToDelete = new Map(this.compilationControllerByUri);
|
|
@@ -12238,13 +12238,13 @@ var EntityToSyntax = class {
|
|
|
12238
12238
|
};
|
|
12239
12239
|
|
|
12240
12240
|
// source/services/source-generation/SourceGenerationService.ts
|
|
12241
|
-
var SourceGenerationService = class extends
|
|
12241
|
+
var SourceGenerationService = class extends RxObject7 {
|
|
12242
12242
|
constructor(trackedSourceFiles, tsLibrariesProvider, standardPackageContentsProviders) {
|
|
12243
12243
|
super();
|
|
12244
12244
|
this.trackedSourceFiles = trackedSourceFiles;
|
|
12245
12245
|
this.tsLibrariesProvider = tsLibrariesProvider;
|
|
12246
12246
|
this.standardPackageContentsProviders = standardPackageContentsProviders;
|
|
12247
|
-
this.generatedPackageStates = new
|
|
12247
|
+
this.generatedPackageStates = new RxMap6();
|
|
12248
12248
|
this.packagesToDeleteAfterFileIsClosed = new Array();
|
|
12249
12249
|
this.nextId = 0;
|
|
12250
12250
|
}
|
|
@@ -764,7 +764,7 @@ var UniqueWithComparatorQuery = class extends Query {
|
|
|
764
764
|
};
|
|
765
765
|
|
|
766
766
|
// source/common/Constants.ts
|
|
767
|
-
var ArtelVersion = true ? "0.6.
|
|
767
|
+
var ArtelVersion = true ? "0.6.26005" : "";
|
|
768
768
|
var ArtelSourceFileExtensions = [".\u0430\u0440\u0442", ".\u0430\u0440\u0442\u0435\u043B\u044C", ".art", ".artel", ".\u0430\u0440\u0442\u043C", ".\u0430\u0440\u0442\u0435\u043B\u044C\u043C", ".artm", ".artelm"];
|
|
769
769
|
var ArtelSourceFileExtensionSet = new Set(ArtelSourceFileExtensions);
|
|
770
770
|
var ArtelSourceAndConfigurationFileExtensionSet = new Set(ArtelSourceFileExtensionSet).add(".json");
|
|
@@ -1241,6 +1241,7 @@ var HelperPhraseKind = /* @__PURE__ */ ((HelperPhraseKind3) => {
|
|
|
1241
1241
|
HelperPhraseKind3[HelperPhraseKind3["InvokeMethodName"] = 9] = "InvokeMethodName";
|
|
1242
1242
|
HelperPhraseKind3[HelperPhraseKind3["EmptyUnionType"] = 10] = "EmptyUnionType";
|
|
1243
1243
|
HelperPhraseKind3[HelperPhraseKind3["Stub"] = 11] = "Stub";
|
|
1244
|
+
HelperPhraseKind3[HelperPhraseKind3["NoExport"] = 12] = "NoExport";
|
|
1244
1245
|
return HelperPhraseKind3;
|
|
1245
1246
|
})(HelperPhraseKind || {});
|
|
1246
1247
|
var russianHelperPhrases = {
|
|
@@ -1255,7 +1256,8 @@ var russianHelperPhrases = {
|
|
|
1255
1256
|
[8 /* EnumeratorMethodName */]: "\u043F\u0435\u0440\u0435\u0431\u043E\u0440",
|
|
1256
1257
|
[9 /* InvokeMethodName */]: "\u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C",
|
|
1257
1258
|
[10 /* EmptyUnionType */]: "\u043F\u0443\u0441\u0442\u043E\u0439 \u0441\u043E\u044E\u0437\u043D\u044B\u0439 \u0442\u0438\u043F",
|
|
1258
|
-
[11 /* Stub */]: "\u0437\u0430\u0433\u043B\u0443\u0448\u043A\u0430"
|
|
1259
|
+
[11 /* Stub */]: "\u0437\u0430\u0433\u043B\u0443\u0448\u043A\u0430",
|
|
1260
|
+
[12 /* NoExport */]: "\u043D\u0435\u0442 \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0430"
|
|
1259
1261
|
};
|
|
1260
1262
|
var englishHelperPhrases = {
|
|
1261
1263
|
[0 /* Unresolved */]: "unresolved",
|
|
@@ -1269,7 +1271,8 @@ var englishHelperPhrases = {
|
|
|
1269
1271
|
[8 /* EnumeratorMethodName */]: "enumerator",
|
|
1270
1272
|
[9 /* InvokeMethodName */]: "invoke",
|
|
1271
1273
|
[10 /* EmptyUnionType */]: "empty union type",
|
|
1272
|
-
[11 /* Stub */]: "stub"
|
|
1274
|
+
[11 /* Stub */]: "stub",
|
|
1275
|
+
[12 /* NoExport */]: "no export"
|
|
1273
1276
|
};
|
|
1274
1277
|
var helperPhrases = {
|
|
1275
1278
|
[1 /* Ru */]: russianHelperPhrases,
|
|
@@ -7350,15 +7353,16 @@ var Scanner = class _Scanner {
|
|
|
7350
7353
|
const savedToken = this.token;
|
|
7351
7354
|
const savedCurrentPosition = this.currentPosition;
|
|
7352
7355
|
const savedBraceBalance = this.braceBalance;
|
|
7353
|
-
|
|
7354
|
-
|
|
7355
|
-
|
|
7356
|
+
const savedTextTemplateBraceBalanceStack = this.textTemplateBraceBalanceStack;
|
|
7357
|
+
const savedTextTemplateBraceBalanceStackLength = this.textTemplateBraceBalanceStack.length;
|
|
7358
|
+
if (savedTextTemplateBraceBalanceStackLength > 0) {
|
|
7359
|
+
this.textTemplateBraceBalanceStack = this.textTemplateBraceBalanceStack.slice();
|
|
7356
7360
|
}
|
|
7357
7361
|
const result = callback();
|
|
7358
7362
|
this.token = savedToken;
|
|
7359
7363
|
this.currentPosition = savedCurrentPosition;
|
|
7360
7364
|
this.braceBalance = savedBraceBalance;
|
|
7361
|
-
if (
|
|
7365
|
+
if (savedTextTemplateBraceBalanceStackLength > 0) {
|
|
7362
7366
|
this.textTemplateBraceBalanceStack = savedTextTemplateBraceBalanceStack;
|
|
7363
7367
|
} else {
|
|
7364
7368
|
this.textTemplateBraceBalanceStack.length = 0;
|
|
@@ -7369,16 +7373,17 @@ var Scanner = class _Scanner {
|
|
|
7369
7373
|
const savedToken = this.token;
|
|
7370
7374
|
const savedCurrentPosition = this.currentPosition;
|
|
7371
7375
|
const savedBraceBalance = this.braceBalance;
|
|
7372
|
-
|
|
7373
|
-
|
|
7374
|
-
|
|
7376
|
+
const savedTextTemplateBraceBalanceStack = this.textTemplateBraceBalanceStack;
|
|
7377
|
+
const savedTextTemplateBraceBalanceStackLength = this.textTemplateBraceBalanceStack.length;
|
|
7378
|
+
if (savedTextTemplateBraceBalanceStackLength > 0) {
|
|
7379
|
+
this.textTemplateBraceBalanceStack = this.textTemplateBraceBalanceStack.slice();
|
|
7375
7380
|
}
|
|
7376
7381
|
const result = callback();
|
|
7377
7382
|
if (result === void 0) {
|
|
7378
7383
|
this.token = savedToken;
|
|
7379
7384
|
this.currentPosition = savedCurrentPosition;
|
|
7380
7385
|
this.braceBalance = savedBraceBalance;
|
|
7381
|
-
if (
|
|
7386
|
+
if (savedTextTemplateBraceBalanceStackLength > 0) {
|
|
7382
7387
|
this.textTemplateBraceBalanceStack = savedTextTemplateBraceBalanceStack;
|
|
7383
7388
|
} else {
|
|
7384
7389
|
this.textTemplateBraceBalanceStack.length = 0;
|
|
@@ -16040,8 +16045,8 @@ var FileSystemTree_exports = {};
|
|
|
16040
16045
|
__export(FileSystemTree_exports, {
|
|
16041
16046
|
FileSystemTree: () => FileSystemTree
|
|
16042
16047
|
});
|
|
16043
|
-
import { transaction,
|
|
16044
|
-
var FileSystemTree = class extends
|
|
16048
|
+
import { transaction, disposeRxObject, signal, RxObject } from "reactronic";
|
|
16049
|
+
var FileSystemTree = class extends RxObject {
|
|
16045
16050
|
constructor(handleInconsistentRequestsWithoutErrors = false, deleteEmptyDirectories = false) {
|
|
16046
16051
|
super();
|
|
16047
16052
|
this.rootsByScheme = /* @__PURE__ */ new Map();
|
|
@@ -16153,7 +16158,7 @@ var FileSystemTree = class extends SxObject {
|
|
|
16153
16158
|
root.dispose();
|
|
16154
16159
|
}
|
|
16155
16160
|
}
|
|
16156
|
-
|
|
16161
|
+
disposeRxObject(this);
|
|
16157
16162
|
}
|
|
16158
16163
|
getOrCreateDirectoryWithAllAncestors(uri) {
|
|
16159
16164
|
let rootByAuthority = this.rootsByScheme.get(uri.scheme);
|
|
@@ -16274,7 +16279,7 @@ __decorateClass([
|
|
|
16274
16279
|
__decorateClass([
|
|
16275
16280
|
transaction
|
|
16276
16281
|
], FileSystemTree.prototype, "addOrUpdateFile", 1);
|
|
16277
|
-
var DirectoryInternal = class extends
|
|
16282
|
+
var DirectoryInternal = class extends RxObject {
|
|
16278
16283
|
constructor(uri, name, parent) {
|
|
16279
16284
|
super();
|
|
16280
16285
|
this.kind = "directory";
|
|
@@ -16328,7 +16333,7 @@ var DirectoryInternal = class extends SxObject {
|
|
|
16328
16333
|
child.dispose();
|
|
16329
16334
|
}
|
|
16330
16335
|
this.isDisposed_ = true;
|
|
16331
|
-
|
|
16336
|
+
disposeRxObject(this);
|
|
16332
16337
|
}
|
|
16333
16338
|
};
|
|
16334
16339
|
__decorateClass([
|
|
@@ -16352,7 +16357,7 @@ __decorateClass([
|
|
|
16352
16357
|
__decorateClass([
|
|
16353
16358
|
transaction
|
|
16354
16359
|
], DirectoryInternal.prototype, "deleteChild", 1);
|
|
16355
|
-
var FileInternal = class extends
|
|
16360
|
+
var FileInternal = class extends RxObject {
|
|
16356
16361
|
constructor(uri, name, text, parent) {
|
|
16357
16362
|
super();
|
|
16358
16363
|
this.kind = "file";
|
|
@@ -16388,7 +16393,7 @@ var FileInternal = class extends SxObject {
|
|
|
16388
16393
|
}
|
|
16389
16394
|
dispose() {
|
|
16390
16395
|
this.isDisposed_ = true;
|
|
16391
|
-
|
|
16396
|
+
disposeRxObject(this);
|
|
16392
16397
|
}
|
|
16393
16398
|
};
|
|
16394
16399
|
__decorateClass([
|
|
@@ -16885,47 +16890,71 @@ var TextParser = class {
|
|
|
16885
16890
|
return void 0;
|
|
16886
16891
|
}
|
|
16887
16892
|
lookAhead(callback) {
|
|
16888
|
-
const
|
|
16889
|
-
const
|
|
16890
|
-
const
|
|
16891
|
-
const savedDiagnostics = this.diagnostics;
|
|
16892
|
-
const savedDiagnosticStartPositions = this.diagnosticStartPositions;
|
|
16893
|
+
const savedCurrentToken = this.currentToken;
|
|
16894
|
+
const savedCurrentTokenOrKeyword = this.currentTokenOrKeyword_;
|
|
16895
|
+
const savedHasPrecedingLineBreak = this.hasPrecedingLineBreak;
|
|
16893
16896
|
const savedSkippedTokenOrKeywords = this.skippedTokenOrKeywords;
|
|
16897
|
+
const savedSkippedTokenOrKeywordsLength = this.skippedTokenOrKeywords.length;
|
|
16898
|
+
if (savedSkippedTokenOrKeywordsLength > 0) {
|
|
16899
|
+
this.skippedTokenOrKeywords = this.skippedTokenOrKeywords.slice();
|
|
16900
|
+
}
|
|
16894
16901
|
const savedLookingAhead = this.lookingAhead;
|
|
16895
|
-
this.diagnostics = [];
|
|
16896
|
-
this.diagnosticStartPositions = /* @__PURE__ */ new Set();
|
|
16897
|
-
this.skippedTokenOrKeywords = this.skippedTokenOrKeywords.slice();
|
|
16898
16902
|
this.lookingAhead = true;
|
|
16899
16903
|
const result = this.scanner.lookAhead(callback);
|
|
16900
|
-
this.currentToken =
|
|
16901
|
-
this.currentTokenOrKeyword_ =
|
|
16902
|
-
this.hasPrecedingLineBreak =
|
|
16903
|
-
|
|
16904
|
-
|
|
16905
|
-
|
|
16904
|
+
this.currentToken = savedCurrentToken;
|
|
16905
|
+
this.currentTokenOrKeyword_ = savedCurrentTokenOrKeyword;
|
|
16906
|
+
this.hasPrecedingLineBreak = savedHasPrecedingLineBreak;
|
|
16907
|
+
if (savedSkippedTokenOrKeywordsLength > 0) {
|
|
16908
|
+
this.skippedTokenOrKeywords = savedSkippedTokenOrKeywords;
|
|
16909
|
+
} else {
|
|
16910
|
+
this.skippedTokenOrKeywords.length = 0;
|
|
16911
|
+
}
|
|
16906
16912
|
this.lookingAhead = savedLookingAhead;
|
|
16907
16913
|
return result;
|
|
16908
16914
|
}
|
|
16909
16915
|
tryParse(callback) {
|
|
16910
|
-
const
|
|
16911
|
-
const
|
|
16912
|
-
const
|
|
16913
|
-
const
|
|
16914
|
-
const savedDiagnosticStartPositions = this.diagnosticStartPositions;
|
|
16916
|
+
const savedCurrentToken = this.currentToken;
|
|
16917
|
+
const savedCurrentTokenOrKeyword = this.currentTokenOrKeyword_;
|
|
16918
|
+
const savedHasPrecedingLineBreak = this.hasPrecedingLineBreak;
|
|
16919
|
+
const savedDiagnostics = this.diagnostics;
|
|
16915
16920
|
const savedSkippedTokenOrKeywords = this.skippedTokenOrKeywords;
|
|
16921
|
+
const savedSkippedTokenOrKeywordsLength = this.skippedTokenOrKeywords.length;
|
|
16922
|
+
if (savedSkippedTokenOrKeywordsLength > 0) {
|
|
16923
|
+
this.skippedTokenOrKeywords = this.skippedTokenOrKeywords.slice();
|
|
16924
|
+
}
|
|
16925
|
+
const savedDiagnosticsLength = this.diagnostics.length;
|
|
16926
|
+
if (!this.lookingAhead && savedDiagnosticsLength > 0) {
|
|
16927
|
+
this.diagnostics = this.diagnostics.slice();
|
|
16928
|
+
}
|
|
16929
|
+
const savedDiagnosticStartPositions = this.diagnosticStartPositions;
|
|
16930
|
+
const savedDiagnosticStartPositionsSize = this.diagnosticStartPositions.size;
|
|
16931
|
+
if (!this.lookingAhead && savedDiagnosticStartPositionsSize > 0) {
|
|
16932
|
+
this.diagnosticStartPositions = new Set(this.diagnosticStartPositions);
|
|
16933
|
+
}
|
|
16916
16934
|
const savedLookingAhead = this.lookingAhead;
|
|
16917
|
-
this.diagnostics = this.diagnostics.slice();
|
|
16918
|
-
this.diagnosticStartPositions = new Set(this.diagnosticStartPositions);
|
|
16919
|
-
this.skippedTokenOrKeywords = this.skippedTokenOrKeywords.slice();
|
|
16920
16935
|
const result = this.scanner.tryScan(callback);
|
|
16921
16936
|
if (result === void 0) {
|
|
16922
|
-
this.currentToken =
|
|
16923
|
-
this.currentTokenOrKeyword_ =
|
|
16924
|
-
this.hasPrecedingLineBreak =
|
|
16925
|
-
|
|
16926
|
-
|
|
16927
|
-
|
|
16937
|
+
this.currentToken = savedCurrentToken;
|
|
16938
|
+
this.currentTokenOrKeyword_ = savedCurrentTokenOrKeyword;
|
|
16939
|
+
this.hasPrecedingLineBreak = savedHasPrecedingLineBreak;
|
|
16940
|
+
if (savedSkippedTokenOrKeywordsLength > 0) {
|
|
16941
|
+
this.skippedTokenOrKeywords = savedSkippedTokenOrKeywords;
|
|
16942
|
+
} else {
|
|
16943
|
+
this.skippedTokenOrKeywords.length = 0;
|
|
16944
|
+
}
|
|
16928
16945
|
this.lookingAhead = savedLookingAhead;
|
|
16946
|
+
if (!this.lookingAhead) {
|
|
16947
|
+
if (savedDiagnosticsLength > 0) {
|
|
16948
|
+
this.diagnostics = savedDiagnostics;
|
|
16949
|
+
} else {
|
|
16950
|
+
this.diagnostics.length = 0;
|
|
16951
|
+
}
|
|
16952
|
+
if (savedDiagnosticStartPositionsSize > 0) {
|
|
16953
|
+
this.diagnosticStartPositions = savedDiagnosticStartPositions;
|
|
16954
|
+
} else {
|
|
16955
|
+
this.diagnosticStartPositions.clear();
|
|
16956
|
+
}
|
|
16957
|
+
}
|
|
16929
16958
|
}
|
|
16930
16959
|
return result;
|
|
16931
16960
|
}
|
|
@@ -17874,18 +17903,6 @@ var StatementParser = class _StatementParser {
|
|
|
17874
17903
|
);
|
|
17875
17904
|
return new ForStatementVariableDeclaration(name, this.parser.rangeFrom(declarationStart));
|
|
17876
17905
|
}
|
|
17877
|
-
tryParseFunctionBlockExpression() {
|
|
17878
|
-
let result;
|
|
17879
|
-
if (!this.parser.expressionParser.isStartOfExpression(false)) {
|
|
17880
|
-
result = void 0;
|
|
17881
|
-
} else {
|
|
17882
|
-
result = this.parser.tryParse(() => {
|
|
17883
|
-
const expression = this.parser.expressionParser.parseExpression(false);
|
|
17884
|
-
return this.parser.isToken(22 /* CloseBrace */) ? expression : void 0;
|
|
17885
|
-
});
|
|
17886
|
-
}
|
|
17887
|
-
return result;
|
|
17888
|
-
}
|
|
17889
17906
|
canParseOptionalExpression(isFollowedByStatementBlock) {
|
|
17890
17907
|
if (!this.parser.expressionParser.isStartOfExpression(isFollowedByStatementBlock)) {
|
|
17891
17908
|
return false;
|
|
@@ -26470,7 +26487,7 @@ var TsPackageEntityForSymbolsWithUnknownOrigin = class {
|
|
|
26470
26487
|
this.kind = 12 /* Package */;
|
|
26471
26488
|
}
|
|
26472
26489
|
getName() {
|
|
26473
|
-
return PackageName2.parse("
|
|
26490
|
+
return PackageName2.parse("_");
|
|
26474
26491
|
}
|
|
26475
26492
|
getLocale() {
|
|
26476
26493
|
return 0 /* En */;
|
|
@@ -57724,7 +57741,11 @@ var DisplayService = class {
|
|
|
57724
57741
|
return newPackageName.isSome() ? this.displayName(newPackageName.unwrap()) : "";
|
|
57725
57742
|
}
|
|
57726
57743
|
const nameSegments = container.entity.getName().segments.map((s) => this.displayName(s));
|
|
57727
|
-
|
|
57744
|
+
let result = nameSegments.join(".");
|
|
57745
|
+
if (this.analyzer !== void 0 && container.entity.getOriginalEntity() === this.analyzer.tsInterop.packageForSymbolsWithUnknownOrigin) {
|
|
57746
|
+
result = `/* ${LocalizationHelper.localizeHelperPhrase(12 /* NoExport */, this.locale)} */ ${result}`;
|
|
57747
|
+
}
|
|
57748
|
+
return result;
|
|
57728
57749
|
}
|
|
57729
57750
|
default:
|
|
57730
57751
|
Debug.never(container);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Compiler
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K7RYBIKG.js";
|
|
4
4
|
import {
|
|
5
5
|
ArtelVersion,
|
|
6
6
|
Cached,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
__async,
|
|
16
16
|
performanceMeasurementStageNames,
|
|
17
17
|
performanceMeasurementStages
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KJOZ6YIN.js";
|
|
19
19
|
|
|
20
20
|
// source/executor/FileSystemUri.ts
|
|
21
21
|
import { platform } from "os";
|
|
@@ -11,6 +11,7 @@ export declare const enum HelperPhraseKind {
|
|
|
11
11
|
EnumeratorMethodName = 8,
|
|
12
12
|
InvokeMethodName = 9,
|
|
13
13
|
EmptyUnionType = 10,
|
|
14
|
-
Stub = 11
|
|
14
|
+
Stub = 11,
|
|
15
|
+
NoExport = 12
|
|
15
16
|
}
|
|
16
17
|
export declare function getHelperPhrase(kind: HelperPhraseKind, locale: PackageLocale): string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RxObject } from 'reactronic';
|
|
2
2
|
import { Uri } from '../common/index.js';
|
|
3
|
-
export declare class FileSystemTree extends
|
|
3
|
+
export declare class FileSystemTree extends RxObject implements ReadonlyFileSystemTree {
|
|
4
4
|
private readonly handleInconsistentRequestsWithoutErrors;
|
|
5
5
|
private readonly deleteEmptyDirectories;
|
|
6
6
|
private readonly rootsByScheme;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RxObject } from 'reactronic';
|
|
2
2
|
import { Analyzer } from '../../analysis/Analyzer.js';
|
|
3
3
|
import { TaskController } from '../../common/index.js';
|
|
4
4
|
import type { Entity } from '../../entities/index.js';
|
|
@@ -6,7 +6,7 @@ import { PackageContent } from '../../project/PackageContent.js';
|
|
|
6
6
|
import { TypeScriptLibrariesProvider } from '../../ts-interop/TsLibrariesProvider.js';
|
|
7
7
|
import { SourceLocation } from '../Types.js';
|
|
8
8
|
import { CompilationController, ReadonlyClientTrackedSourceFiles } from '../workspace/index.js';
|
|
9
|
-
export declare class SourceGenerationService extends
|
|
9
|
+
export declare class SourceGenerationService extends RxObject {
|
|
10
10
|
private readonly trackedSourceFiles;
|
|
11
11
|
private readonly tsLibrariesProvider;
|
|
12
12
|
private readonly standardPackageContentsProviders;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RxMap, RxObject } from 'reactronic';
|
|
2
2
|
import { Uri } from '../../common/index.js';
|
|
3
|
-
export declare class ClientTrackedSourceFiles extends
|
|
4
|
-
readonly items:
|
|
3
|
+
export declare class ClientTrackedSourceFiles extends RxObject implements ReadonlyClientTrackedSourceFiles {
|
|
4
|
+
readonly items: RxMap<string, ClientTrackedSourceFile>;
|
|
5
5
|
get unsaved(): Map<string, ClientTrackedSourceFile>;
|
|
6
6
|
track(uri: Uri, text: string, version: number): ClientTrackedSourceFile | undefined;
|
|
7
7
|
update(uri: Uri, text: string, version: number): ClientTrackedSourceFile | undefined;
|
|
@@ -13,11 +13,11 @@ export declare class ClientTrackedSourceFiles extends SxObject implements Readon
|
|
|
13
13
|
dispose(): void;
|
|
14
14
|
}
|
|
15
15
|
export interface ReadonlyClientTrackedSourceFiles {
|
|
16
|
-
readonly items:
|
|
16
|
+
readonly items: RxMap<string, ReadonlyClientTrackedSourceFile>;
|
|
17
17
|
readonly unsaved: Map<string, ReadonlyClientTrackedSourceFile>;
|
|
18
18
|
createItemsSnapshot(): Map<string, ClientTrackedSourceFileSnapshot>;
|
|
19
19
|
}
|
|
20
|
-
export declare class ClientTrackedSourceFile extends
|
|
20
|
+
export declare class ClientTrackedSourceFile extends RxObject {
|
|
21
21
|
readonly uri: Uri;
|
|
22
22
|
text: string;
|
|
23
23
|
version: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Indicator,
|
|
1
|
+
import { Indicator, RxObject } from 'reactronic';
|
|
2
2
|
import { Analyzer, TsInteropInputs } from '../../analysis/index.js';
|
|
3
3
|
import { TaskController, Uri } from '../../common/index.js';
|
|
4
4
|
import { Diagnostic } from '../../diagnostic/Diagnostic.js';
|
|
@@ -6,7 +6,7 @@ import { ConvertedConfiguration, ProgramPackageConfiguration, SourceFile, fsTree
|
|
|
6
6
|
import { PackageContent } from '../../project/PackageContent.js';
|
|
7
7
|
import { TypeScriptLibrariesProvider } from '../../ts-interop/TsLibrariesProvider.js';
|
|
8
8
|
import { ReadonlyClientTrackedSourceFiles } from './ClientTrackedSourceFiles.js';
|
|
9
|
-
export declare class CompilationController extends
|
|
9
|
+
export declare class CompilationController extends RxObject {
|
|
10
10
|
readonly mainCompilationReloadIndicator: Indicator;
|
|
11
11
|
readonly configurationControllersUpdateIndictor: Indicator;
|
|
12
12
|
private readonly mainAnalyzerChangedIndicator;
|
|
@@ -103,7 +103,7 @@ export declare class DiagnosticsCollectionSummary {
|
|
|
103
103
|
readonly hasErrors: boolean;
|
|
104
104
|
constructor(hasErrors: boolean);
|
|
105
105
|
}
|
|
106
|
-
declare class ConfigurationController extends
|
|
106
|
+
declare class ConfigurationController extends RxObject {
|
|
107
107
|
readonly packageUri: Uri;
|
|
108
108
|
readonly processingIndicator: Indicator;
|
|
109
109
|
readonly rootDirectory: fsTree.Directory;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RxArray, RxMap, RxObject } from 'reactronic';
|
|
2
2
|
import { TaskController, Uri } from '../../common/index.js';
|
|
3
3
|
import * as fsTree from '../../project/FileSystemTree.js';
|
|
4
4
|
import { ReadonlyClientTrackedSourceFiles } from './ClientTrackedSourceFiles.js';
|
|
5
5
|
import { FileSystemTreeProvider } from './WorkspaceFiles.js';
|
|
6
6
|
import type { WorkspaceFileSystem } from './WorkspaceFileSystem.js';
|
|
7
|
-
export declare class FileSystemTreeProviderBasedOnWatchedFileSystem extends
|
|
7
|
+
export declare class FileSystemTreeProviderBasedOnWatchedFileSystem extends RxObject implements FileSystemTreeProvider {
|
|
8
8
|
readonly fileSystemTree: fsTree.FileSystemTree;
|
|
9
|
-
readonly loadedWorkspaceFolderByUri:
|
|
9
|
+
readonly loadedWorkspaceFolderByUri: RxMap<string, fsTree.Directory>;
|
|
10
10
|
private readonly fileSystem;
|
|
11
11
|
private readonly notificationsPublisher;
|
|
12
12
|
private readonly listener;
|
|
@@ -24,7 +24,7 @@ export declare class FileSystemTreeProviderBasedOnWatchedFileSystem extends SxOb
|
|
|
24
24
|
private readonly lastCheckedTrackedSourceFileInfoVersionByUri;
|
|
25
25
|
private readonly loadedDirectoryUris;
|
|
26
26
|
constructor(fileSystem: WorkspaceFileSystem, notificationsPublisher: FileSystemUpdateNotificationsPublisher, namesOfDirectoriesToIgnore?: string[], additionalUrisOfDirectoriesToLoad?: readonly Uri[]);
|
|
27
|
-
initialize(workspaceFolderUris:
|
|
27
|
+
initialize(workspaceFolderUris: RxArray<Uri>, trackedSourceFiles: ReadonlyClientTrackedSourceFiles): void;
|
|
28
28
|
waitLoaded(taskController: TaskController | undefined): Promise<void>;
|
|
29
29
|
dispose(): void;
|
|
30
30
|
protected onTrackedSourceFilesUpdated(): void;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RxArray, RxMap, RxObject } from 'reactronic';
|
|
2
2
|
import { Uri } from '../../common/Uri.js';
|
|
3
3
|
import * as fsTree from '../../project/FileSystemTree.js';
|
|
4
4
|
import { ReadonlyClientTrackedSourceFiles } from './ClientTrackedSourceFiles.js';
|
|
5
5
|
import { FileSystemTreeProvider } from './WorkspaceFiles.js';
|
|
6
6
|
import { TaskController } from '../../common/TaskController.js';
|
|
7
|
-
export declare class ManuallyUpdatedFileSystemTreeProvider extends
|
|
7
|
+
export declare class ManuallyUpdatedFileSystemTreeProvider extends RxObject implements FileSystemTreeProvider {
|
|
8
8
|
readonly fileSystemTree: fsTree.FileSystemTree;
|
|
9
|
-
readonly loadedWorkspaceFolderByUri:
|
|
9
|
+
readonly loadedWorkspaceFolderByUri: RxMap<string, fsTree.Directory>;
|
|
10
10
|
private workspaceFolderUris;
|
|
11
11
|
private trackedSourceFiles;
|
|
12
12
|
private readonly lastCheckedTrackedSourceFileInfoByUri;
|
|
13
13
|
private readonly manuallyCreatedSourceFileTextByUri;
|
|
14
|
-
initialize(workspaceFolderUris:
|
|
14
|
+
initialize(workspaceFolderUris: RxArray<Uri>, trackedSourceFiles: ReadonlyClientTrackedSourceFiles): void;
|
|
15
15
|
waitLoaded(_taskController: TaskController | undefined): Promise<void>;
|
|
16
16
|
dispose(): void;
|
|
17
17
|
createOrUpdateSourceFile(uri: Uri, text: string): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RxMap, RxObject } from 'reactronic';
|
|
2
2
|
import { Analyzer } from '../../analysis/index.js';
|
|
3
3
|
import { TaskController, Uri } from '../../common/index.js';
|
|
4
4
|
import * as fsTree from '../../project/FileSystemTree.js';
|
|
@@ -8,7 +8,7 @@ import { TypeScriptLibrariesProvider } from '../../ts-interop/TsLibrariesProvide
|
|
|
8
8
|
import { ReadonlyClientTrackedSourceFiles } from './ClientTrackedSourceFiles.js';
|
|
9
9
|
import { CompilationController, DiagnosticsCollectedInBackgroundHandler, RawPackageConfigurationsChangedHandler } from './CompilationController.js';
|
|
10
10
|
import { FileSystemTreeProvider } from './WorkspaceFiles.js';
|
|
11
|
-
export declare class Workspace extends
|
|
11
|
+
export declare class Workspace extends RxObject {
|
|
12
12
|
isReadyToAcceptWorkspaceDiagnostics: boolean;
|
|
13
13
|
private readonly config;
|
|
14
14
|
private readonly compilationControllers_;
|
|
@@ -19,7 +19,7 @@ export declare class Workspace extends SxObject {
|
|
|
19
19
|
private readonly tsInteropInputsCache;
|
|
20
20
|
get compilationControllers(): readonly CompilationController[];
|
|
21
21
|
get trackedSourceFiles(): ReadonlyClientTrackedSourceFiles;
|
|
22
|
-
get loadedWorkspaceFolderByUri():
|
|
22
|
+
get loadedWorkspaceFolderByUri(): RxMap<string, fsTree.Directory>;
|
|
23
23
|
get workspaceFolderUris(): readonly Uri[];
|
|
24
24
|
private get compilationControllerByUri();
|
|
25
25
|
private constructor();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RxArray, RxMap, RxObject } from 'reactronic';
|
|
2
2
|
import { Uri, TaskController } from '../../common/index.js';
|
|
3
3
|
import * as fsTree from '../../project/FileSystemTree.js';
|
|
4
4
|
import { ClientTrackedSourceFiles, ReadonlyClientTrackedSourceFiles } from './ClientTrackedSourceFiles.js';
|
|
5
|
-
export declare class WorkspaceFiles extends
|
|
5
|
+
export declare class WorkspaceFiles extends RxObject {
|
|
6
6
|
readonly trackedSourceFiles: ClientTrackedSourceFiles;
|
|
7
|
-
readonly workspaceFolderUris:
|
|
8
|
-
readonly workspaceFolderWithArtelProjectByUri:
|
|
7
|
+
readonly workspaceFolderUris: RxArray<Uri>;
|
|
8
|
+
readonly workspaceFolderWithArtelProjectByUri: RxMap<string, fsTree.Directory>;
|
|
9
9
|
private readonly fileSystemTreeProvider;
|
|
10
10
|
get fileSystemTree(): fsTree.ReadonlyFileSystemTree;
|
|
11
11
|
get isMissingConfigurationDirectoryAllowed(): boolean;
|
|
12
|
-
get loadedWorkspaceFolderByUri():
|
|
12
|
+
get loadedWorkspaceFolderByUri(): RxMap<string, fsTree.Directory>;
|
|
13
13
|
constructor(fileSystemTreeProvider: FileSystemTreeProvider);
|
|
14
14
|
addWorkspaceFolders(uris: readonly Uri[]): void;
|
|
15
15
|
removeWorkspaceFolders(uris: readonly Uri[]): void;
|
|
@@ -25,11 +25,11 @@ export declare class WorkspaceFiles extends SxObject {
|
|
|
25
25
|
}
|
|
26
26
|
export interface FileSystemTreeProvider {
|
|
27
27
|
readonly fileSystemTree: fsTree.ReadonlyFileSystemTree;
|
|
28
|
-
readonly loadedWorkspaceFolderByUri:
|
|
28
|
+
readonly loadedWorkspaceFolderByUri: RxMap<string, fsTree.Directory>;
|
|
29
29
|
/**
|
|
30
30
|
* Должен быть вызван до вызова всех остальных методов.
|
|
31
31
|
*/
|
|
32
|
-
initialize(workspaceFolderUris:
|
|
32
|
+
initialize(workspaceFolderUris: RxArray<Uri>, trackedSourceFiles: ReadonlyClientTrackedSourceFiles): void;
|
|
33
33
|
waitLoaded(taskController: TaskController | undefined): Promise<void>;
|
|
34
34
|
dispose(): void;
|
|
35
35
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artel/artc",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.26005",
|
|
4
4
|
"description": "Артель Компилятор | Artel Compiler",
|
|
5
5
|
"author": "Nezaboodka Team <contact@nezaboodka.com>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@babel/types": "7.27.3",
|
|
45
45
|
"@vscode/l10n": "0.0.18",
|
|
46
46
|
"jsonc-parser": "3.3.1",
|
|
47
|
-
"reactronic": "
|
|
47
|
+
"reactronic": "0.95.25048",
|
|
48
48
|
"typescript": "5.8.2",
|
|
49
49
|
"vscode-json-languageservice": "5.4.2",
|
|
50
50
|
"vscode-languageserver": "9.0.1",
|