@artel/artc 0.6.25277 → 0.6.25279
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 +14 -20
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +609 -565
- package/build/{chunk-QK3TWMY2.js → chunk-65GDIOT3.js} +20 -24
- package/build/{chunk-DKZTCPRN.js → chunk-C4HHHOM5.js} +15 -15
- package/build/{chunk-EVYL6VFM.js → chunk-HPU7DXMO.js} +2235 -1500
- package/build/types/analysis/AccessedFunction.d.ts +3 -3
- package/build/types/analysis/AnalyzedTextTranslationPackage.d.ts +2 -2
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +11 -8
- package/build/types/analysis/Analyzer.d.ts +23 -19
- package/build/types/analysis/DeclarationsUsageCounter.d.ts +2 -2
- package/build/types/analysis/{DiagnosticCollector.d.ts → SourceFileAnalyzer.d.ts} +4 -5
- package/build/types/analysis/SourcePackageDependencyGraph.d.ts +2 -2
- package/build/types/analysis/SubstitutedFunction.d.ts +3 -3
- package/build/types/analysis/TranslatedEntityNameConflictsValidator.d.ts +28 -0
- package/build/types/analysis/Translation.d.ts +1 -2
- package/build/types/analysis/UserDefinableBinaryOperatorResolver.d.ts +1 -1
- package/build/types/analysis/UserDefinableUnaryOperatorResolver.d.ts +1 -1
- package/build/types/analysis/index.d.ts +1 -1
- package/build/types/analysis/semantic-context/Declarations.d.ts +3 -3
- package/build/types/analysis/semantic-context/SemanticContextBase.d.ts +2 -2
- package/build/types/api/Api.d.ts +1 -1
- package/build/types/api/ApiServices.d.ts +1 -1
- package/build/types/common/TaskController.d.ts +14 -0
- package/build/types/common/TreeTraversal.d.ts +10 -9
- package/build/types/common/index.d.ts +1 -5
- package/build/types/diagnostic/DiagnosticCode.d.ts +5 -1
- package/build/types/{common → diagnostic}/WithDiagnostics.d.ts +1 -1
- package/build/types/emitter/Emitter.d.ts +3 -3
- package/build/types/emitter/EmitterContext.d.ts +1 -1
- package/build/types/emitter/EntityMap.d.ts +1 -1
- package/build/types/entities/Entity.d.ts +3 -1
- package/build/types/entities/EntityNaming.d.ts +2 -0
- package/build/types/entities/interfaces/FunctionEntity.d.ts +19 -6
- package/build/types/entities/interfaces/TypeParameterEntity.d.ts +2 -2
- package/build/types/entities/intrinsic/IntrinsicFunctionEntity.d.ts +3 -1
- package/build/types/entities/source/SourceFunctionEntity.d.ts +86 -5
- package/build/types/entities/source/SourceVariableEntity.d.ts +3 -1
- package/build/types/entities/translated/TranslatedAliasTypeEntity.d.ts +0 -1
- package/build/types/entities/translated/TranslatedConstructorEntity.d.ts +1 -1
- package/build/types/entities/translated/TranslatedFunctionEntity.d.ts +29 -14
- package/build/types/entities/translated/TranslatedFunctionTypeEntity.d.ts +0 -1
- package/build/types/entities/translated/TranslatedIndexerEntity.d.ts +19 -9
- package/build/types/entities/translated/TranslatedOperatorEntity.d.ts +21 -10
- package/build/types/entities/translated/TranslatedPackageEntity.d.ts +0 -2
- package/build/types/entities/translated/TranslatedStructuredTypeEntity.d.ts +0 -1
- package/build/types/entities/translated/TranslatedVariantTypeEntity.d.ts +0 -1
- package/build/types/executor/Compiler.d.ts +6 -6
- package/build/types/executor/NodeCompiler.d.ts +6 -6
- package/build/types/project/CompilationLoader.d.ts +5 -5
- package/build/types/project/FileSystemTree.d.ts +1 -1
- package/build/types/project/PackageContentCreator.d.ts +2 -1
- package/build/types/services/{CustomCommand.d.ts → CustomRequests.d.ts} +20 -51
- package/build/types/services/DefinitionService.d.ts +2 -2
- package/build/types/services/DeleteBlockFromScriptService.d.ts +6 -0
- package/build/types/services/DisplayService.d.ts +22 -7
- package/build/types/services/DocumentHighlightsService.d.ts +2 -2
- package/build/types/services/LanguageServer.d.ts +4 -3
- package/build/types/services/NodeSemanticInfo.d.ts +1 -6
- package/build/types/services/ReferencesService.d.ts +3 -3
- package/build/types/services/RenameService.d.ts +2 -2
- package/build/types/services/SemanticTokensService.d.ts +4 -4
- package/build/types/services/source-generation/SourceGenerationService.d.ts +6 -5
- package/build/types/services/workspace/CompilationController.d.ts +7 -5
- package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +2 -2
- package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +2 -2
- package/build/types/services/workspace/Workspace.d.ts +3 -5
- package/build/types/services/workspace/WorkspaceFiles.d.ts +3 -3
- package/build/types/ts-interop/Entities.d.ts +3 -0
- package/package.json +1 -1
- package/build/types/common/Delayed.d.ts +0 -7
- package/build/types/common/ThrottledCancellationToken.d.ts +0 -17
- package/build/types/common/YieldExecution.d.ts +0 -1
- /package/build/types/{common → analysis}/TreeQuery.d.ts +0 -0
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-65GDIOT3.js";
|
|
5
|
+
import "./chunk-C4HHHOM5.js";
|
|
6
6
|
import {
|
|
7
7
|
__async
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HPU7DXMO.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-C4HHHOM5.js";
|
|
4
4
|
import {
|
|
5
5
|
AccessKind,
|
|
6
6
|
AccessedFunctionParameter,
|
|
@@ -57,7 +57,6 @@ import {
|
|
|
57
57
|
DefaultNamesOfDirectoriesToIgnore,
|
|
58
58
|
DefaultTsLibDeclarationsFileName,
|
|
59
59
|
DefinitionKind,
|
|
60
|
-
Delayed,
|
|
61
60
|
DereferenceOperatorDeclarationEntity,
|
|
62
61
|
DereferencedVariableGetterDeclarationEntity,
|
|
63
62
|
DereferencedVariableSetterDeclarationEntity,
|
|
@@ -65,7 +64,6 @@ import {
|
|
|
65
64
|
Diagnostic,
|
|
66
65
|
DiagnosticAcceptorWithArgumentFactory,
|
|
67
66
|
DiagnosticCode,
|
|
68
|
-
DiagnosticCollector,
|
|
69
67
|
DiagnosticData,
|
|
70
68
|
DiagnosticFlags,
|
|
71
69
|
DiagnosticKind,
|
|
@@ -98,6 +96,8 @@ import {
|
|
|
98
96
|
FileSystemTree_exports,
|
|
99
97
|
ForStatementElementVariableDeclarationEntity,
|
|
100
98
|
ForStatementIndexVariableDeclarationEntity,
|
|
99
|
+
FunctionBlockLiteralEntity,
|
|
100
|
+
FunctionLiteralEntity,
|
|
101
101
|
FunctionLiteralParameterDeclarationEntity,
|
|
102
102
|
GeneratedSourceFileScheme,
|
|
103
103
|
GenericCancellationToken,
|
|
@@ -200,6 +200,7 @@ import {
|
|
|
200
200
|
SignatureComparisonOptions,
|
|
201
201
|
SourceAnonymousStructuredTypeDeclarationData,
|
|
202
202
|
SourceFile2 as SourceFile,
|
|
203
|
+
SourceFileAnalyzer,
|
|
203
204
|
SourceFileMembers,
|
|
204
205
|
SourceMapMode,
|
|
205
206
|
SourcePackageDependencyGraph,
|
|
@@ -221,12 +222,12 @@ import {
|
|
|
221
222
|
TagFunction,
|
|
222
223
|
TagType,
|
|
223
224
|
TargetPlatformConfig,
|
|
225
|
+
TaskController,
|
|
224
226
|
TextFile,
|
|
225
227
|
TextTranslationDeclarationEntity,
|
|
226
228
|
TextTranslationPackage,
|
|
227
229
|
TextTranslationPackageConfiguration,
|
|
228
230
|
TextTranslationPackageEntityInfo,
|
|
229
|
-
ThrottledCancellationToken,
|
|
230
231
|
Token2 as Token,
|
|
231
232
|
TokenKind,
|
|
232
233
|
Translation,
|
|
@@ -234,7 +235,6 @@ import {
|
|
|
234
235
|
TranslationPackageConfiguration,
|
|
235
236
|
TranslationTextTemplateParameterEntity,
|
|
236
237
|
TraversalController,
|
|
237
|
-
TreeQuery,
|
|
238
238
|
TsInteropInputs,
|
|
239
239
|
TypeAssignabilityFlags,
|
|
240
240
|
TypeEntity,
|
|
@@ -243,7 +243,6 @@ import {
|
|
|
243
243
|
TypeMemberEntity,
|
|
244
244
|
TypeMemberLookup,
|
|
245
245
|
TypeMemberLookupOptions,
|
|
246
|
-
TypeMemberQuery,
|
|
247
246
|
TypeParameterConstraint,
|
|
248
247
|
TypeWithMembersOrExtensionEntity,
|
|
249
248
|
UnfinishedIntrinsicAnonymousFunctionTypeEntity,
|
|
@@ -256,8 +255,6 @@ import {
|
|
|
256
255
|
VariableToInitialize,
|
|
257
256
|
VariantDeclarationEntity,
|
|
258
257
|
WellKnownDeclarationsLoadError,
|
|
259
|
-
WithDiagnostics_error,
|
|
260
|
-
WithDiagnostics_ok,
|
|
261
258
|
camelCaseToKebabCasePreservingKeyEquality,
|
|
262
259
|
collectRequiredJsLibraryConfigs,
|
|
263
260
|
createDeclaredModifierFlags,
|
|
@@ -290,6 +287,7 @@ import {
|
|
|
290
287
|
isEntityWithTypeParameters,
|
|
291
288
|
isJavaScriptIdentifier,
|
|
292
289
|
isLocalizableEntity,
|
|
290
|
+
isNamedFunctionEntity,
|
|
293
291
|
isNamedPackageMemberEntity,
|
|
294
292
|
isNamedTypeEntity,
|
|
295
293
|
isNamedTypeMemberEntity,
|
|
@@ -328,7 +326,6 @@ import {
|
|
|
328
326
|
setUserLocale,
|
|
329
327
|
tokenTextByOperatorKind,
|
|
330
328
|
traverseTree,
|
|
331
|
-
traverseTreeWithCancellationToken,
|
|
332
329
|
tree_exports,
|
|
333
330
|
tryParseLocale,
|
|
334
331
|
types_exports,
|
|
@@ -341,8 +338,8 @@ import {
|
|
|
341
338
|
withoutCommentQuotes,
|
|
342
339
|
withoutQuotes,
|
|
343
340
|
withoutTemplateQuotes,
|
|
344
|
-
|
|
345
|
-
} from "../chunk-
|
|
341
|
+
yieldTask
|
|
342
|
+
} from "../chunk-HPU7DXMO.js";
|
|
346
343
|
export {
|
|
347
344
|
AccessKind,
|
|
348
345
|
AccessedFunctionParameter,
|
|
@@ -400,7 +397,6 @@ export {
|
|
|
400
397
|
DefaultNamesOfDirectoriesToIgnore,
|
|
401
398
|
DefaultTsLibDeclarationsFileName,
|
|
402
399
|
DefinitionKind,
|
|
403
|
-
Delayed,
|
|
404
400
|
DereferenceOperatorDeclarationEntity,
|
|
405
401
|
DereferencedVariableGetterDeclarationEntity,
|
|
406
402
|
DereferencedVariableSetterDeclarationEntity,
|
|
@@ -408,7 +404,6 @@ export {
|
|
|
408
404
|
Diagnostic,
|
|
409
405
|
DiagnosticAcceptorWithArgumentFactory,
|
|
410
406
|
DiagnosticCode,
|
|
411
|
-
DiagnosticCollector,
|
|
412
407
|
DiagnosticData,
|
|
413
408
|
DiagnosticFlags,
|
|
414
409
|
DiagnosticKind,
|
|
@@ -440,6 +435,8 @@ export {
|
|
|
440
435
|
FieldSetterDeclarationEntity,
|
|
441
436
|
ForStatementElementVariableDeclarationEntity,
|
|
442
437
|
ForStatementIndexVariableDeclarationEntity,
|
|
438
|
+
FunctionBlockLiteralEntity,
|
|
439
|
+
FunctionLiteralEntity,
|
|
443
440
|
FunctionLiteralParameterDeclarationEntity,
|
|
444
441
|
GeneratedSourceFileScheme,
|
|
445
442
|
GenericCancellationToken,
|
|
@@ -540,6 +537,7 @@ export {
|
|
|
540
537
|
SignatureComparisonOptions,
|
|
541
538
|
SourceAnonymousStructuredTypeDeclarationData,
|
|
542
539
|
SourceFile,
|
|
540
|
+
SourceFileAnalyzer,
|
|
543
541
|
SourceFileMembers,
|
|
544
542
|
SourceMapMode,
|
|
545
543
|
SourcePackageDependencyGraph,
|
|
@@ -561,19 +559,18 @@ export {
|
|
|
561
559
|
TagFunction,
|
|
562
560
|
TagType,
|
|
563
561
|
TargetPlatformConfig,
|
|
562
|
+
TaskController,
|
|
564
563
|
TextFile,
|
|
565
564
|
TextTranslationDeclarationEntity,
|
|
566
565
|
TextTranslationPackage,
|
|
567
566
|
TextTranslationPackageConfiguration,
|
|
568
567
|
TextTranslationPackageEntityInfo,
|
|
569
|
-
ThrottledCancellationToken,
|
|
570
568
|
Token,
|
|
571
569
|
Translation,
|
|
572
570
|
TranslationPackage,
|
|
573
571
|
TranslationPackageConfiguration,
|
|
574
572
|
TranslationTextTemplateParameterEntity,
|
|
575
573
|
TraversalController,
|
|
576
|
-
TreeQuery,
|
|
577
574
|
TsInteropInputs,
|
|
578
575
|
TypeAssignabilityFlags,
|
|
579
576
|
TypeEntity,
|
|
@@ -582,7 +579,6 @@ export {
|
|
|
582
579
|
TypeMemberEntity,
|
|
583
580
|
TypeMemberLookup,
|
|
584
581
|
TypeMemberLookupOptions,
|
|
585
|
-
TypeMemberQuery,
|
|
586
582
|
TypeParameterConstraint,
|
|
587
583
|
TypeWithMembersOrExtensionEntity,
|
|
588
584
|
UnfinishedIntrinsicAnonymousFunctionTypeEntity,
|
|
@@ -595,8 +591,6 @@ export {
|
|
|
595
591
|
VariableToInitialize,
|
|
596
592
|
VariantDeclarationEntity,
|
|
597
593
|
WellKnownDeclarationsLoadError,
|
|
598
|
-
WithDiagnostics_error,
|
|
599
|
-
WithDiagnostics_ok,
|
|
600
594
|
camelCaseToKebabCasePreservingKeyEquality,
|
|
601
595
|
collectRequiredJsLibraryConfigs,
|
|
602
596
|
PackageConfigurationEn_exports as config,
|
|
@@ -632,6 +626,7 @@ export {
|
|
|
632
626
|
isEntityWithTypeParameters,
|
|
633
627
|
isJavaScriptIdentifier,
|
|
634
628
|
isLocalizableEntity,
|
|
629
|
+
isNamedFunctionEntity,
|
|
635
630
|
isNamedPackageMemberEntity,
|
|
636
631
|
isNamedTypeEntity,
|
|
637
632
|
isNamedTypeMemberEntity,
|
|
@@ -671,7 +666,6 @@ export {
|
|
|
671
666
|
setUserLocale,
|
|
672
667
|
tokenTextByOperatorKind,
|
|
673
668
|
traverseTree,
|
|
674
|
-
traverseTreeWithCancellationToken,
|
|
675
669
|
tree_exports as tree,
|
|
676
670
|
tryParseLocale,
|
|
677
671
|
types_exports as type,
|
|
@@ -684,5 +678,5 @@ export {
|
|
|
684
678
|
withoutCommentQuotes,
|
|
685
679
|
withoutQuotes,
|
|
686
680
|
withoutTemplateQuotes,
|
|
687
|
-
|
|
681
|
+
yieldTask
|
|
688
682
|
};
|
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-65GDIOT3.js";
|
|
10
|
+
import "../chunk-C4HHHOM5.js";
|
|
11
|
+
import "../chunk-HPU7DXMO.js";
|
|
12
12
|
export {
|
|
13
13
|
CommandLineCompiler,
|
|
14
14
|
FileSystemUri,
|