@artel/artc 0.6.25217 → 0.6.25219
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 +16 -66
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +930 -888
- package/build/{chunk-HN3XZZQX.js → chunk-AIY75NR5.js} +5 -4
- package/build/{chunk-TXAEJ2GI.js → chunk-IYSH7MAQ.js} +10562 -10629
- package/build/{chunk-CMPXXHBQ.js → chunk-QLTGS2V2.js} +13 -5
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +4 -26
- package/build/types/analysis/Analyzer.d.ts +27 -69
- package/build/types/analysis/{CallArgumentToParameterMatchResult.d.ts → ArgumentToParameterMatchResult.d.ts} +7 -7
- package/build/types/analysis/{CallArgumentsToParametersMatcher.d.ts → ArgumentsToParametersMatcher.d.ts} +14 -14
- package/build/types/analysis/ConstructorOverloadResolver.d.ts +1 -1
- package/build/types/analysis/DereferenceExpressionMeaning.d.ts +3 -3
- package/build/types/analysis/DiagnosticCollector.d.ts +2 -0
- package/build/types/analysis/FindModifier.d.ts +2 -0
- package/build/types/analysis/IdentifierExpressionMeaning.d.ts +14 -12
- package/build/types/analysis/LocalizationContext.d.ts +4 -5
- package/build/types/analysis/Lookup.d.ts +8 -7
- package/build/types/analysis/ModifierFlags.d.ts +16 -0
- package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +0 -1
- package/build/types/analysis/NodeTypeUtils.d.ts +1 -0
- package/build/types/analysis/OperationOverloadResolver.d.ts +2 -2
- package/build/types/analysis/OverloadResolver.d.ts +4 -4
- package/build/types/analysis/PackageMemberLookup.d.ts +5 -6
- package/build/types/analysis/PropertyAccessExpressionMeaning.d.ts +18 -16
- package/build/types/analysis/Scope.d.ts +21 -116
- package/build/types/analysis/SemanticContext.d.ts +23 -13
- package/build/types/analysis/SemanticContextBuilder.d.ts +1 -1
- package/build/types/analysis/SourceFileMembers.d.ts +12 -99
- package/build/types/analysis/TagMeaning.d.ts +57 -9
- package/build/types/analysis/Tags.d.ts +18 -6
- package/build/types/analysis/TypeMemberLookup.d.ts +15 -15
- package/build/types/analysis/TypeOverloadResolver.d.ts +1 -1
- package/build/types/analysis/Utils.d.ts +4 -3
- package/build/types/analysis/WellKnownDeclarations.d.ts +1 -0
- package/build/types/analysis/index.d.ts +1 -1
- package/build/types/api/Api.d.ts +2 -6
- package/build/types/diagnostic/DiagnosticCode.d.ts +21 -17
- package/build/types/emitter/{EmitterGeneratedDeclarationKind.d.ts → EmitPhaseName.d.ts} +1 -44
- package/build/types/emitter/EmitterContext.d.ts +4 -1
- package/build/types/emitter/Entities.d.ts +52 -16
- package/build/types/emitter/EntityMap.d.ts +1 -3
- package/build/types/emitter/IrBuilder.d.ts +6 -2
- package/build/types/emitter/IrToJs.d.ts +6 -5
- package/build/types/emitter/Transformer.d.ts +20 -12
- package/build/types/emitter/ir/EmitOptions.d.ts +163 -0
- package/build/types/emitter/ir/Nodes.d.ts +215 -179
- package/build/types/emitter/ir/index.d.ts +1 -2
- package/build/types/emitter/ir/types.d.ts +4 -4
- package/build/types/entities/AliasTypeEntity.d.ts +8 -4
- package/build/types/entities/ConstructorEntity.d.ts +2 -0
- package/build/types/entities/DereferenceOperatorEntity.d.ts +5 -3
- package/build/types/entities/DestructorEntity.d.ts +2 -0
- package/build/types/entities/GetterEntity.d.ts +8 -0
- package/build/types/entities/IndexerEntity.d.ts +5 -3
- package/build/types/entities/MethodEntity.d.ts +9 -5
- package/build/types/entities/MethodTypeEntity.d.ts +10 -5
- package/build/types/entities/OperatorEntity.d.ts +5 -3
- package/build/types/entities/PackageEntity.d.ts +3 -3
- package/build/types/entities/PackageMembers.d.ts +4 -90
- package/build/types/entities/SetterEntity.d.ts +8 -0
- package/build/types/entities/StructuredTypeEntity.d.ts +11 -6
- package/build/types/entities/TypeEntity.d.ts +15 -0
- package/build/types/entities/TypeExtensionEntity.d.ts +2 -0
- package/build/types/entities/TypeParameterEntity.d.ts +11 -6
- package/build/types/entities/VariableEntity.d.ts +50 -41
- package/build/types/entities/VariantTypeEntity.d.ts +10 -11
- package/build/types/entities/index.d.ts +17 -25
- package/build/types/executor/Compiler.d.ts +1 -0
- package/build/types/executor/NodeCompiler.d.ts +1 -0
- package/build/types/parser/CharacterCodes.d.ts +8 -0
- package/build/types/parser/ReservedIdentifierDictionary.d.ts +1 -2
- package/build/types/project/FileSystemTree.d.ts +2 -2
- package/build/types/services/CompletionService.d.ts +4 -1
- package/build/types/services/DisplayService.d.ts +18 -2
- package/build/types/services/NodeSemanticInfo.d.ts +7 -5
- package/build/types/services/signature-help/SignatureWithValueParameters.d.ts +7 -21
- package/build/types/services/signature-help/TypeParameterSignatureHelpProvider.d.ts +1 -0
- package/build/types/services/source-generation/EntityToSyntax.d.ts +1 -1
- 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/build/types/tree/KeywordKind.d.ts +37 -37
- package/build/types/tree/NodeKind.d.ts +10 -12
- package/build/types/tree/green/Nodes.d.ts +57 -84
- package/build/types/tree/green/SyntaxFactory.d.ts +4 -5
- package/build/types/tree/green/SyntaxToCode.d.ts +1 -2
- package/build/types/tree/red/Nodes.d.ts +67 -97
- package/build/types/ts-interop/Entities.d.ts +51 -28
- package/build/types/ts-interop/TsPackageMembersCreator.d.ts +0 -1
- package/build/types/types/TypeMembers.d.ts +9 -0
- package/package.json +2 -2
- package/build/types/analysis/DereferencedVariableAccess.d.ts +0 -14
- package/build/types/analysis/IndexedAccess.d.ts +0 -14
- package/build/types/analysis/VariableAccess.d.ts +0 -14
- package/build/types/analysis/VariantLookup.d.ts +0 -20
- package/build/types/emitter/ir/LoweringOptions.d.ts +0 -36
- package/build/types/emitter/ir/LoweringState.d.ts +0 -49
- package/build/types/entities/VariantEntity.d.ts +0 -31
- package/build/types/entities/Variants.d.ts +0 -10
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-QLTGS2V2.js";
|
5
|
+
import "./chunk-AIY75NR5.js";
|
6
6
|
import {
|
7
7
|
__async
|
8
|
-
} from "./chunk-
|
8
|
+
} from "./chunk-IYSH7MAQ.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-AIY75NR5.js";
|
4
4
|
import {
|
5
5
|
AccessKind,
|
6
6
|
AccessedMethodValueParameter,
|
@@ -27,6 +27,7 @@ import {
|
|
27
27
|
BoundTypeMemberLookup,
|
28
28
|
Cached,
|
29
29
|
CancelledError,
|
30
|
+
CatchClauseSemanticContext,
|
30
31
|
CharacterCodes,
|
31
32
|
Compilation,
|
32
33
|
CompilationKind,
|
@@ -51,7 +52,6 @@ import {
|
|
51
52
|
DefaultTsLibDeclarationsFileName,
|
52
53
|
DefinitionKind,
|
53
54
|
Delayed,
|
54
|
-
DereferencedVariableAccess_exports,
|
55
55
|
DestructorSemanticContext,
|
56
56
|
Diagnostic,
|
57
57
|
DiagnosticCode,
|
@@ -133,14 +133,9 @@ import {
|
|
133
133
|
MethodValueParameterSemanticContext,
|
134
134
|
Name,
|
135
135
|
NameFlags,
|
136
|
-
NamedDeclaration_method,
|
137
|
-
NamedDeclaration_packageAlias,
|
138
|
-
NamedDeclaration_type,
|
139
|
-
NamedDeclaration_variable,
|
140
136
|
NestedMethodDeclarationEntity,
|
141
137
|
NodeModulesDirectoryName,
|
142
138
|
NodeTypeUtils,
|
143
|
-
OnErrorClauseSemanticContext,
|
144
139
|
OperatorDeclarationEntity,
|
145
140
|
OperatorKind,
|
146
141
|
OperatorSemanticContext,
|
@@ -166,8 +161,6 @@ import {
|
|
166
161
|
PackageVariableGetterDeclarationEntity,
|
167
162
|
PackageVariableSetterDeclarationEntity,
|
168
163
|
PackageVariantTypeDeclarationEntity,
|
169
|
-
ParamObjectMemberSpecialVariableEntityInfo,
|
170
|
-
ParamSpecialVariableEntityInfo,
|
171
164
|
ParameterDeclarationEntity,
|
172
165
|
ParameterVariableEntityContainer,
|
173
166
|
Parser,
|
@@ -185,11 +178,9 @@ import {
|
|
185
178
|
ReservedIdentifierKind,
|
186
179
|
Result,
|
187
180
|
ResultSpecialVariableEntityInfo,
|
188
|
-
RunStatementClausesInfo,
|
189
181
|
Scanner,
|
190
182
|
ScopeChain,
|
191
183
|
SearchName,
|
192
|
-
SetterParameterDeclarationEntity,
|
193
184
|
SetterSemanticContext,
|
194
185
|
SourceFile2 as SourceFile,
|
195
186
|
SourceFileMembers,
|
@@ -206,11 +197,12 @@ import {
|
|
206
197
|
SubstitutedMethod_typeMember,
|
207
198
|
SubstitutionApplicationMode,
|
208
199
|
SyntacticAccessKind,
|
209
|
-
Tag2 as Tag,
|
210
200
|
TagArgument_boolean,
|
211
201
|
TagArgument_invalid,
|
212
202
|
TagArgument_numeric,
|
213
203
|
TagArgument_string,
|
204
|
+
TagMethod,
|
205
|
+
TagType,
|
214
206
|
TargetPlatformConfig,
|
215
207
|
TargetTypeHint,
|
216
208
|
TextFile,
|
@@ -223,24 +215,20 @@ import {
|
|
223
215
|
TranslatedTypeEntityMembers,
|
224
216
|
TranslatedTypeParameter,
|
225
217
|
TranslatedValueParameter,
|
226
|
-
TranslatedVariant,
|
227
|
-
TranslatedVariants,
|
228
218
|
Translation,
|
229
219
|
TranslationPackage,
|
230
220
|
TranslationPackageConfiguration,
|
231
221
|
TraversalController,
|
232
222
|
TreeQuery,
|
223
|
+
TryStatementClausesInfo,
|
233
224
|
TsInteropInputs,
|
234
225
|
TypeBodySemanticContext,
|
235
226
|
TypeConstructorDeclarationEntity,
|
236
|
-
TypeDeclaration_alias2 as TypeDeclaration_alias,
|
237
|
-
TypeDeclaration_method2 as TypeDeclaration_method,
|
238
|
-
TypeDeclaration_structured2 as TypeDeclaration_structured,
|
239
|
-
TypeDeclaration_variant2 as TypeDeclaration_variant,
|
240
227
|
TypeDereferenceOperatorDeclarationEntity,
|
241
228
|
TypeDereferencedVariableGetterDeclarationEntity,
|
242
229
|
TypeDereferencedVariableSetterDeclarationEntity,
|
243
230
|
TypeDestructorDeclarationEntity,
|
231
|
+
TypeEntityKind,
|
244
232
|
TypeExtensionBodySemanticContext,
|
245
233
|
TypeIndexedGetterDeclarationEntity,
|
246
234
|
TypeIndexedSetterDeclarationEntity,
|
@@ -262,17 +250,15 @@ import {
|
|
262
250
|
Uri,
|
263
251
|
UrisRelativityKind,
|
264
252
|
ValueSpecialVariableEntityInfo,
|
265
|
-
VariableAccess_exports,
|
266
253
|
VariableToInitialize,
|
267
254
|
VariantDeclarationEntity,
|
268
|
-
VariantLookup,
|
269
255
|
WellKnownDeclarations,
|
270
256
|
WellKnownDeclarationsLoadError,
|
271
257
|
WithDiagnostics_error,
|
272
258
|
WithDiagnostics_ok,
|
273
|
-
__export,
|
274
259
|
camelCaseToKebabCasePreservingKeyEquality,
|
275
260
|
collectRequiredJsLibraryConfigs,
|
261
|
+
createDeclaredModifierFlags,
|
276
262
|
createDefaultPackageConfiguration,
|
277
263
|
createNonEmptyArray,
|
278
264
|
createPackageContentsFromFSTree,
|
@@ -293,11 +279,8 @@ import {
|
|
293
279
|
getUserLocale,
|
294
280
|
green_exports,
|
295
281
|
invalidJavaScriptIdentifierCharsRegExp,
|
296
|
-
isAnonymousTypeEntity,
|
297
282
|
isBinaryOperator,
|
298
283
|
isComputedVariableEntity,
|
299
|
-
isEntityContainingTypeParameter,
|
300
|
-
isEntityContainingValueParameter,
|
301
284
|
isEntityWithTags,
|
302
285
|
isJavaScriptIdentifier,
|
303
286
|
isNamedTypeEntity,
|
@@ -312,6 +295,7 @@ import {
|
|
312
295
|
isTypeEntityWithMembers,
|
313
296
|
isTypeMemberEntity,
|
314
297
|
isUnaryOperator,
|
298
|
+
isVariantTypeDeclaration,
|
315
299
|
javaScriptIdentifierRegExp,
|
316
300
|
kebabCaseToCamelCase,
|
317
301
|
keywordKindByOperatorKind,
|
@@ -344,25 +328,7 @@ import {
|
|
344
328
|
withoutQuotes,
|
345
329
|
withoutTemplateQuotes,
|
346
330
|
yieldExecution
|
347
|
-
} from "../chunk-
|
348
|
-
|
349
|
-
// source/analysis/IndexedAccess.ts
|
350
|
-
var IndexedAccess_exports = {};
|
351
|
-
__export(IndexedAccess_exports, {
|
352
|
-
create: () => create
|
353
|
-
});
|
354
|
-
function create(indexerEntity, accessKind) {
|
355
|
-
switch (accessKind) {
|
356
|
-
case 0 /* Get */:
|
357
|
-
return { kind: accessKind, getAccessor: indexerEntity.getGetter() };
|
358
|
-
case 1 /* Set */:
|
359
|
-
return { kind: accessKind, setAccessor: indexerEntity.getSetter() };
|
360
|
-
case 2 /* GetSet */:
|
361
|
-
return { kind: accessKind, getAccessor: indexerEntity.getGetter(), setAccessor: indexerEntity.getSetter() };
|
362
|
-
default:
|
363
|
-
Debug.never(accessKind);
|
364
|
-
}
|
365
|
-
}
|
331
|
+
} from "../chunk-IYSH7MAQ.js";
|
366
332
|
export {
|
367
333
|
AccessKind,
|
368
334
|
AccessedMethodValueParameter,
|
@@ -389,6 +355,7 @@ export {
|
|
389
355
|
BoundTypeMemberLookup,
|
390
356
|
Cached,
|
391
357
|
CancelledError,
|
358
|
+
CatchClauseSemanticContext,
|
392
359
|
CharacterCodes,
|
393
360
|
Compilation,
|
394
361
|
CompilationKind,
|
@@ -494,14 +461,9 @@ export {
|
|
494
461
|
MethodValueParameterSemanticContext,
|
495
462
|
Name,
|
496
463
|
NameFlags,
|
497
|
-
NamedDeclaration_method,
|
498
|
-
NamedDeclaration_packageAlias,
|
499
|
-
NamedDeclaration_type,
|
500
|
-
NamedDeclaration_variable,
|
501
464
|
NestedMethodDeclarationEntity,
|
502
465
|
NodeModulesDirectoryName,
|
503
466
|
NodeTypeUtils,
|
504
|
-
OnErrorClauseSemanticContext,
|
505
467
|
OperatorDeclarationEntity,
|
506
468
|
OperatorKind,
|
507
469
|
OperatorSemanticContext,
|
@@ -524,8 +486,6 @@ export {
|
|
524
486
|
PackageVariableGetterDeclarationEntity,
|
525
487
|
PackageVariableSetterDeclarationEntity,
|
526
488
|
PackageVariantTypeDeclarationEntity,
|
527
|
-
ParamObjectMemberSpecialVariableEntityInfo,
|
528
|
-
ParamSpecialVariableEntityInfo,
|
529
489
|
ParameterDeclarationEntity,
|
530
490
|
ParameterVariableEntityContainer,
|
531
491
|
Parser,
|
@@ -543,12 +503,10 @@ export {
|
|
543
503
|
ReservedIdentifierKind,
|
544
504
|
Result,
|
545
505
|
ResultSpecialVariableEntityInfo,
|
546
|
-
RunStatementClausesInfo,
|
547
506
|
Scanner,
|
548
507
|
TokenKind as ScannerTokenKind,
|
549
508
|
ScopeChain,
|
550
509
|
SearchName,
|
551
|
-
SetterParameterDeclarationEntity,
|
552
510
|
SetterSemanticContext,
|
553
511
|
SourceFile,
|
554
512
|
SourceFileMembers,
|
@@ -565,11 +523,12 @@ export {
|
|
565
523
|
SubstitutedMethod_typeMember,
|
566
524
|
SubstitutionApplicationMode,
|
567
525
|
SyntacticAccessKind,
|
568
|
-
Tag,
|
569
526
|
TagArgument_boolean,
|
570
527
|
TagArgument_invalid,
|
571
528
|
TagArgument_numeric,
|
572
529
|
TagArgument_string,
|
530
|
+
TagMethod,
|
531
|
+
TagType,
|
573
532
|
TargetPlatformConfig,
|
574
533
|
TargetTypeHint,
|
575
534
|
TextFile,
|
@@ -581,24 +540,20 @@ export {
|
|
581
540
|
TranslatedTypeEntityMembers,
|
582
541
|
TranslatedTypeParameter,
|
583
542
|
TranslatedValueParameter,
|
584
|
-
TranslatedVariant,
|
585
|
-
TranslatedVariants,
|
586
543
|
Translation,
|
587
544
|
TranslationPackage,
|
588
545
|
TranslationPackageConfiguration,
|
589
546
|
TraversalController,
|
590
547
|
TreeQuery,
|
548
|
+
TryStatementClausesInfo,
|
591
549
|
TsInteropInputs,
|
592
550
|
TypeBodySemanticContext,
|
593
551
|
TypeConstructorDeclarationEntity,
|
594
|
-
TypeDeclaration_alias,
|
595
|
-
TypeDeclaration_method,
|
596
|
-
TypeDeclaration_structured,
|
597
|
-
TypeDeclaration_variant,
|
598
552
|
TypeDereferenceOperatorDeclarationEntity,
|
599
553
|
TypeDereferencedVariableGetterDeclarationEntity,
|
600
554
|
TypeDereferencedVariableSetterDeclarationEntity,
|
601
555
|
TypeDestructorDeclarationEntity,
|
556
|
+
TypeEntityKind,
|
602
557
|
TypeExtensionBodySemanticContext,
|
603
558
|
TypeIndexedGetterDeclarationEntity,
|
604
559
|
TypeIndexedSetterDeclarationEntity,
|
@@ -622,7 +577,6 @@ export {
|
|
622
577
|
ValueSpecialVariableEntityInfo,
|
623
578
|
VariableToInitialize,
|
624
579
|
VariantDeclarationEntity,
|
625
|
-
VariantLookup,
|
626
580
|
WellKnownDeclarations,
|
627
581
|
WellKnownDeclarationsLoadError,
|
628
582
|
WithDiagnostics_error,
|
@@ -631,11 +585,11 @@ export {
|
|
631
585
|
collectRequiredJsLibraryConfigs,
|
632
586
|
PackageConfigurationEn_exports as config,
|
633
587
|
PackageConfigurationRu_exports as configRu,
|
588
|
+
createDeclaredModifierFlags,
|
634
589
|
createDefaultPackageConfiguration,
|
635
590
|
createNonEmptyArray,
|
636
591
|
createPackageContentsFromFSTree,
|
637
592
|
createTsInteropInputsForCompilation,
|
638
|
-
DereferencedVariableAccess_exports as dereferencedVariableAccess,
|
639
593
|
entityToStringDecorator,
|
640
594
|
findModifier,
|
641
595
|
findTag,
|
@@ -652,13 +606,9 @@ export {
|
|
652
606
|
getUnescapedTextFromTextToken,
|
653
607
|
getUserLocale,
|
654
608
|
green_exports as green,
|
655
|
-
IndexedAccess_exports as indexedAccess,
|
656
609
|
invalidJavaScriptIdentifierCharsRegExp,
|
657
|
-
isAnonymousTypeEntity,
|
658
610
|
isBinaryOperator,
|
659
611
|
isComputedVariableEntity,
|
660
|
-
isEntityContainingTypeParameter,
|
661
|
-
isEntityContainingValueParameter,
|
662
612
|
isEntityWithTags,
|
663
613
|
isJavaScriptIdentifier,
|
664
614
|
isNamedTypeEntity,
|
@@ -673,6 +623,7 @@ export {
|
|
673
623
|
isTypeEntityWithMembers,
|
674
624
|
isTypeMemberEntity,
|
675
625
|
isUnaryOperator,
|
626
|
+
isVariantTypeDeclaration,
|
676
627
|
javaScriptIdentifierRegExp,
|
677
628
|
kebabCaseToCamelCase,
|
678
629
|
keywordKindByOperatorKind,
|
@@ -701,7 +652,6 @@ export {
|
|
701
652
|
unescapeText,
|
702
653
|
unwrapParenthesizedExpressions,
|
703
654
|
validJavaScriptIdentifierStartRegExp,
|
704
|
-
VariableAccess_exports as variableAccess,
|
705
655
|
visitChildren,
|
706
656
|
visitChildrenRecursively,
|
707
657
|
withoutQuotes,
|
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-QLTGS2V2.js";
|
10
|
+
import "../chunk-AIY75NR5.js";
|
11
|
+
import "../chunk-IYSH7MAQ.js";
|
12
12
|
export {
|
13
13
|
CommandLineCompiler,
|
14
14
|
FileSystemUri,
|