@artel/artc 0.6.25283 → 0.6.25285
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 +26 -14
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +828 -700
- package/build/{chunk-2Q4QKW7T.js → chunk-IQ4WP3GU.js} +20378 -18371
- package/build/{chunk-MJ2ZVHII.js → chunk-NYUW7OAM.js} +1 -1
- package/build/{chunk-7RAZAZE6.js → chunk-YQATIDSS.js} +2 -2
- package/build/types/analysis/AccessibilityCheck.d.ts +20 -0
- package/build/types/analysis/Analyzer.d.ts +16 -8
- package/build/types/analysis/BaseMemberConflictsValidator.d.ts +2 -4
- package/build/types/analysis/ConstructorCallResolver.d.ts +3 -4
- package/build/types/analysis/MemberAccessExpressionMeaning.d.ts +2 -1
- package/build/types/analysis/ModifierValidator.d.ts +17 -15
- package/build/types/analysis/NodeTypeUtils.d.ts +3 -3
- package/build/types/analysis/PackageMemberLookup.d.ts +11 -4
- package/build/types/analysis/ReachabilityChecker.d.ts +27 -0
- package/build/types/analysis/ReductionSourceMemberFinder.d.ts +20 -0
- package/build/types/analysis/ReservedNameDictionary.d.ts +14 -0
- package/build/types/analysis/SourceFileAnalyzer.d.ts +3 -0
- package/build/types/analysis/TypeArgumentInferrer.d.ts +1 -0
- package/build/types/analysis/TypeMemberLookup.d.ts +36 -22
- package/build/types/analysis/Utils.d.ts +2 -0
- package/build/types/analysis/WellKnownDeclarations.d.ts +11 -7
- package/build/types/analysis/control-flow/GraphBuilder.d.ts +4 -1
- package/build/types/analysis/semantic-context/FieldWithInitializerSemanticContext.d.ts +4 -2
- package/build/types/analysis/semantic-context/SemanticContextBase.d.ts +6 -5
- package/build/types/analysis/semantic-context/SemanticContextValidatingNameConflicts.d.ts +2 -2
- package/build/types/analysis/semantic-context/SemanticContextWithParent.d.ts +2 -0
- package/build/types/analysis/semantic-context/SourceFileSemanticContext.d.ts +9 -4
- package/build/types/analysis/semantic-context/SubprogramBodyAndParametersSemanticContext.d.ts +5 -5
- package/build/types/analysis/semantic-context/SubprogramSemanticContext.d.ts +2 -2
- package/build/types/analysis/semantic-context/TypeSemanticContext.d.ts +14 -11
- package/build/types/api/Api.d.ts +1 -1
- package/build/types/common/LocalizationHelper.d.ts +2 -2
- package/build/types/common/index.d.ts +0 -1
- package/build/types/diagnostic/DiagnosticCode.d.ts +154 -141
- package/build/types/emitter/Entities.d.ts +5 -4
- package/build/types/emitter/EntityMap.d.ts +4 -0
- package/build/types/emitter/IrBuilder.d.ts +1 -0
- package/build/types/entities/Entity.d.ts +9 -6
- package/build/types/entities/EntityHiding.d.ts +1 -4
- package/build/types/entities/EntityLocalizationContext.d.ts +3 -2
- package/build/types/entities/TypeEntity.d.ts +4 -3
- package/build/types/entities/index.d.ts +0 -2
- package/build/types/entities/interfaces/AliasTypeEntity.d.ts +2 -2
- package/build/types/entities/interfaces/ConstructorEntity.d.ts +3 -1
- package/build/types/entities/interfaces/DereferenceOperatorEntity.d.ts +2 -1
- package/build/types/entities/interfaces/DestructorEntity.d.ts +4 -1
- package/build/types/entities/interfaces/FunctionEntity.d.ts +3 -1
- package/build/types/entities/interfaces/IndexerEntity.d.ts +2 -1
- package/build/types/entities/interfaces/OperatorEntity.d.ts +3 -1
- package/build/types/entities/interfaces/ReducedTypeEntity.d.ts +99 -0
- package/build/types/entities/interfaces/TypeParameterEntity.d.ts +2 -2
- package/build/types/entities/interfaces/VariableEntity.d.ts +2 -1
- package/build/types/entities/interfaces/index.d.ts +1 -0
- package/build/types/entities/intrinsic/IntrinsicConstructorEntity.d.ts +3 -1
- package/build/types/entities/intrinsic/IntrinsicFunctionEntity.d.ts +2 -1
- package/build/types/entities/intrinsic/IntrinsicVariableEntity.d.ts +2 -1
- package/build/types/entities/source/SourceConstructorEntity.d.ts +6 -2
- package/build/types/entities/source/SourceDereferenceOperatorEntity.d.ts +3 -1
- package/build/types/entities/source/SourceDestructorEntity.d.ts +6 -1
- package/build/types/entities/source/SourceFunctionEntity.d.ts +5 -1
- package/build/types/entities/source/SourceIndexerEntity.d.ts +3 -1
- package/build/types/entities/source/SourceOperatorEntity.d.ts +5 -1
- package/build/types/entities/source/SourceReducedTypeEntity.d.ts +44 -0
- package/build/types/entities/source/SourceVariableEntity.d.ts +7 -1
- package/build/types/entities/source/index.d.ts +1 -0
- package/build/types/entities/translated/TranslatedConstructorEntity.d.ts +9 -4
- package/build/types/entities/translated/TranslatedDereferenceOperatorEntity.d.ts +3 -1
- package/build/types/entities/translated/TranslatedDestructorEntity.d.ts +4 -1
- package/build/types/entities/translated/TranslatedFunctionEntity.d.ts +3 -1
- package/build/types/entities/translated/TranslatedIndexerEntity.d.ts +3 -1
- package/build/types/entities/translated/TranslatedOperatorEntity.d.ts +3 -1
- package/build/types/entities/translated/TranslatedReducedTypeEntity.d.ts +59 -0
- package/build/types/entities/translated/TranslatedVariableEntity.d.ts +3 -1
- package/build/types/entities/translated/index.d.ts +1 -0
- package/build/types/project/SourceFile.d.ts +3 -1
- package/build/types/services/CompletionService.d.ts +5 -4
- package/build/types/services/DisplayService.d.ts +70 -3
- package/build/types/services/TranslationService.d.ts +1 -1
- package/build/types/services/source-generation/EntityToSyntax.d.ts +4 -0
- package/build/types/tree/KeywordKind.d.ts +57 -56
- package/build/types/tree/NodeKind.d.ts +142 -140
- package/build/types/tree/Nodes.d.ts +51 -11
- package/build/types/tree/SyntaxFactory.d.ts +2 -0
- package/build/types/tree/SyntaxToCode.d.ts +1 -0
- package/build/types/ts-interop/Entities.d.ts +10 -1
- package/build/types/ts-interop/TsPackageMembersCreator.d.ts +1 -1
- package/build/types/types/ReducedType.d.ts +24 -0
- package/build/types/types/Type.d.ts +2 -1
- package/build/types/types/TypeFactory.d.ts +3 -2
- package/build/types/types/index.d.ts +1 -0
- package/package.json +1 -1
- package/build/types/analysis/semantic-context/SemanticContextBasedEntityHidingMatcher.d.ts +0 -14
- package/build/types/entities/BaseEntityHidingMatcher.d.ts +0 -11
- package/build/types/entities/EntityHidingMatcherWithinTypeEntity.d.ts +0 -10
- package/build/types/parser/ReservedIdentifierDictionary.d.ts +0 -11
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-YQATIDSS.js";
|
|
5
|
+
import "./chunk-NYUW7OAM.js";
|
|
6
6
|
import {
|
|
7
7
|
__async
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IQ4WP3GU.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-NYUW7OAM.js";
|
|
4
4
|
import {
|
|
5
5
|
AccessKind,
|
|
6
6
|
AccessedFunctionParameter,
|
|
@@ -22,7 +22,6 @@ import {
|
|
|
22
22
|
ArtelVersion,
|
|
23
23
|
BackingSpecialVariableEntityInfo,
|
|
24
24
|
BaseAspectTypes,
|
|
25
|
-
BaseEntityHidingMatcher,
|
|
26
25
|
BaseObjectType,
|
|
27
26
|
BinaryExpressionOperatorClassificationResult,
|
|
28
27
|
BoundTypeMemberLookup,
|
|
@@ -45,6 +44,7 @@ import {
|
|
|
45
44
|
CycleFreeBaseAspectTypesResolutionResult,
|
|
46
45
|
CycleFreeBaseObjectTypeResolutionResult,
|
|
47
46
|
CycleFreeConstraintResolutionResult,
|
|
47
|
+
CycleFreeReductionSourceResolutionResult,
|
|
48
48
|
Debug,
|
|
49
49
|
DeclaredTypeMemberEntities,
|
|
50
50
|
DefaultConstructorEntity,
|
|
@@ -75,7 +75,6 @@ import {
|
|
|
75
75
|
EntityHidingLevel_package,
|
|
76
76
|
EntityHidingLevel_type,
|
|
77
77
|
EntityHidingLevel_typeHierarchy,
|
|
78
|
-
EntityHidingMatcherWithinTypeEntity,
|
|
79
78
|
EntityKind,
|
|
80
79
|
EntityLocalizationContext,
|
|
81
80
|
EntityNaming_anonymous,
|
|
@@ -152,6 +151,7 @@ import {
|
|
|
152
151
|
OriginalAliasedType,
|
|
153
152
|
OriginalBaseAspectTypes,
|
|
154
153
|
OriginalBaseObjectType,
|
|
154
|
+
OriginalReductionSource,
|
|
155
155
|
OriginalTypeParameterConstraint,
|
|
156
156
|
OverriddenAndShadowedMembers,
|
|
157
157
|
PackageAliasTypeDeclarationEntity,
|
|
@@ -168,7 +168,9 @@ import {
|
|
|
168
168
|
PackageImportLocaleConfig,
|
|
169
169
|
PackageLocale,
|
|
170
170
|
PackageMemberLookup,
|
|
171
|
+
PackageMemberLookupContext,
|
|
171
172
|
PackageName2 as PackageName,
|
|
173
|
+
PackageReducedTypeDeclarationEntity,
|
|
172
174
|
PackageStructuredTypeDeclarationEntity,
|
|
173
175
|
PackageVariableDeclarationEntity,
|
|
174
176
|
PackageVariableGetterDeclarationEntity,
|
|
@@ -180,16 +182,18 @@ import {
|
|
|
180
182
|
PerformanceMeasurementStage,
|
|
181
183
|
PlatformKind,
|
|
182
184
|
Position,
|
|
185
|
+
PreservedReducedTypeEntityMemberInfo,
|
|
183
186
|
ProgramPackage,
|
|
184
187
|
ProgramPackageConfiguration,
|
|
185
188
|
Query,
|
|
186
189
|
Range,
|
|
187
190
|
RecursiveCachedValueEvaluationError,
|
|
188
191
|
RecursiveLazyValueEvaluationError,
|
|
192
|
+
ReductionSource,
|
|
189
193
|
RequiredJsLibraryConfig,
|
|
190
194
|
RequiredJsLibraryConfigs,
|
|
191
195
|
RequiredPackageConfig,
|
|
192
|
-
|
|
196
|
+
ReservedNameKind,
|
|
193
197
|
ResolvedPackageImport,
|
|
194
198
|
Result,
|
|
195
199
|
ResultSpecialVariableEntityInfo,
|
|
@@ -240,6 +244,7 @@ import {
|
|
|
240
244
|
TypeEntityMembers,
|
|
241
245
|
TypeMemberEntity,
|
|
242
246
|
TypeMemberLookup,
|
|
247
|
+
TypeMemberLookupContext,
|
|
243
248
|
TypeMemberLookupOptions,
|
|
244
249
|
TypeParameterConstraint,
|
|
245
250
|
TypeWithMembersOrExtensionEntity,
|
|
@@ -255,7 +260,6 @@ import {
|
|
|
255
260
|
WellKnownDeclarationsLoadError,
|
|
256
261
|
camelCaseToKebabCasePreservingKeyEquality,
|
|
257
262
|
collectRequiredJsLibraryConfigs,
|
|
258
|
-
configureL10n,
|
|
259
263
|
createDeclaredModifierFlags,
|
|
260
264
|
createDefaultPackageConfiguration,
|
|
261
265
|
createNonEmptyArray,
|
|
@@ -281,6 +285,7 @@ import {
|
|
|
281
285
|
getUnescapedTextFromTextToken,
|
|
282
286
|
getUserLocale,
|
|
283
287
|
invalidJavaScriptIdentifierCharsRegExp,
|
|
288
|
+
isAccessorEntity,
|
|
284
289
|
isAnonymousTypeEntity,
|
|
285
290
|
isBinaryOperator,
|
|
286
291
|
isComputedVariableEntity,
|
|
@@ -320,9 +325,9 @@ import {
|
|
|
320
325
|
parseLatinHexInteger,
|
|
321
326
|
performanceMeasurementStageNames,
|
|
322
327
|
performanceMeasurementStages,
|
|
323
|
-
reservedIdentifiersByLocale,
|
|
324
|
-
reservedIdentifiersKindByValue,
|
|
325
328
|
reservedJavaScriptIdentifiers,
|
|
329
|
+
reservedNameKindByNameKey,
|
|
330
|
+
reservedNamesByLocale,
|
|
326
331
|
semantic_context_exports,
|
|
327
332
|
setUserLocale,
|
|
328
333
|
tokenTextByOperatorKind,
|
|
@@ -331,6 +336,7 @@ import {
|
|
|
331
336
|
tryParseLocale,
|
|
332
337
|
types_exports,
|
|
333
338
|
unaliasType,
|
|
339
|
+
unaliasTypeAndGetReductionSource,
|
|
334
340
|
unescapeText,
|
|
335
341
|
unwrapParenthesizedExpressions,
|
|
336
342
|
validJavaScriptIdentifierStartRegExp,
|
|
@@ -340,7 +346,7 @@ import {
|
|
|
340
346
|
withoutQuotes,
|
|
341
347
|
withoutTemplateQuotes,
|
|
342
348
|
yieldTask
|
|
343
|
-
} from "../chunk-
|
|
349
|
+
} from "../chunk-IQ4WP3GU.js";
|
|
344
350
|
export {
|
|
345
351
|
AccessKind,
|
|
346
352
|
AccessedFunctionParameter,
|
|
@@ -362,7 +368,6 @@ export {
|
|
|
362
368
|
ArtelVersion,
|
|
363
369
|
BackingSpecialVariableEntityInfo,
|
|
364
370
|
BaseAspectTypes,
|
|
365
|
-
BaseEntityHidingMatcher,
|
|
366
371
|
BaseObjectType,
|
|
367
372
|
BinaryExpressionOperatorClassificationResult,
|
|
368
373
|
BoundTypeMemberLookup,
|
|
@@ -386,6 +391,7 @@ export {
|
|
|
386
391
|
CycleFreeBaseAspectTypesResolutionResult,
|
|
387
392
|
CycleFreeBaseObjectTypeResolutionResult,
|
|
388
393
|
CycleFreeConstraintResolutionResult,
|
|
394
|
+
CycleFreeReductionSourceResolutionResult,
|
|
389
395
|
Debug,
|
|
390
396
|
DeclaredTypeMemberEntities,
|
|
391
397
|
DefaultConstructorEntity,
|
|
@@ -416,7 +422,6 @@ export {
|
|
|
416
422
|
EntityHidingLevel_package,
|
|
417
423
|
EntityHidingLevel_type,
|
|
418
424
|
EntityHidingLevel_typeHierarchy,
|
|
419
|
-
EntityHidingMatcherWithinTypeEntity,
|
|
420
425
|
EntityKind,
|
|
421
426
|
EntityLocalizationContext,
|
|
422
427
|
EntityNaming_anonymous,
|
|
@@ -492,6 +497,7 @@ export {
|
|
|
492
497
|
OriginalAliasedType,
|
|
493
498
|
OriginalBaseAspectTypes,
|
|
494
499
|
OriginalBaseObjectType,
|
|
500
|
+
OriginalReductionSource,
|
|
495
501
|
OriginalTypeParameterConstraint,
|
|
496
502
|
OverriddenAndShadowedMembers,
|
|
497
503
|
PackageAliasTypeDeclarationEntity,
|
|
@@ -505,7 +511,9 @@ export {
|
|
|
505
511
|
PackageImportLocaleConfig,
|
|
506
512
|
PackageLocale,
|
|
507
513
|
PackageMemberLookup,
|
|
514
|
+
PackageMemberLookupContext,
|
|
508
515
|
PackageName,
|
|
516
|
+
PackageReducedTypeDeclarationEntity,
|
|
509
517
|
PackageStructuredTypeDeclarationEntity,
|
|
510
518
|
PackageVariableDeclarationEntity,
|
|
511
519
|
PackageVariableGetterDeclarationEntity,
|
|
@@ -517,16 +525,18 @@ export {
|
|
|
517
525
|
PerformanceMeasurementStage,
|
|
518
526
|
PlatformKind,
|
|
519
527
|
Position,
|
|
528
|
+
PreservedReducedTypeEntityMemberInfo,
|
|
520
529
|
ProgramPackage,
|
|
521
530
|
ProgramPackageConfiguration,
|
|
522
531
|
Query,
|
|
523
532
|
Range,
|
|
524
533
|
RecursiveCachedValueEvaluationError,
|
|
525
534
|
RecursiveLazyValueEvaluationError,
|
|
535
|
+
ReductionSource,
|
|
526
536
|
RequiredJsLibraryConfig,
|
|
527
537
|
RequiredJsLibraryConfigs,
|
|
528
538
|
RequiredPackageConfig,
|
|
529
|
-
|
|
539
|
+
ReservedNameKind,
|
|
530
540
|
ResolvedPackageImport,
|
|
531
541
|
Result,
|
|
532
542
|
ResultSpecialVariableEntityInfo,
|
|
@@ -577,6 +587,7 @@ export {
|
|
|
577
587
|
TypeEntityMembers,
|
|
578
588
|
TypeMemberEntity,
|
|
579
589
|
TypeMemberLookup,
|
|
590
|
+
TypeMemberLookupContext,
|
|
580
591
|
TypeMemberLookupOptions,
|
|
581
592
|
TypeParameterConstraint,
|
|
582
593
|
TypeWithMembersOrExtensionEntity,
|
|
@@ -594,7 +605,6 @@ export {
|
|
|
594
605
|
collectRequiredJsLibraryConfigs,
|
|
595
606
|
PackageConfigurationEn_exports as config,
|
|
596
607
|
PackageConfigurationRu_exports as configRu,
|
|
597
|
-
configureL10n,
|
|
598
608
|
createDeclaredModifierFlags,
|
|
599
609
|
createDefaultPackageConfiguration,
|
|
600
610
|
createNonEmptyArray,
|
|
@@ -621,6 +631,7 @@ export {
|
|
|
621
631
|
getUnescapedTextFromTextToken,
|
|
622
632
|
getUserLocale,
|
|
623
633
|
invalidJavaScriptIdentifierCharsRegExp,
|
|
634
|
+
isAccessorEntity,
|
|
624
635
|
isAnonymousTypeEntity,
|
|
625
636
|
isBinaryOperator,
|
|
626
637
|
isComputedVariableEntity,
|
|
@@ -661,9 +672,9 @@ export {
|
|
|
661
672
|
parseLatinHexInteger,
|
|
662
673
|
performanceMeasurementStageNames,
|
|
663
674
|
performanceMeasurementStages,
|
|
664
|
-
reservedIdentifiersByLocale,
|
|
665
|
-
reservedIdentifiersKindByValue,
|
|
666
675
|
reservedJavaScriptIdentifiers,
|
|
676
|
+
reservedNameKindByNameKey,
|
|
677
|
+
reservedNamesByLocale,
|
|
667
678
|
semantic_context_exports as semanticContext,
|
|
668
679
|
setUserLocale,
|
|
669
680
|
tokenTextByOperatorKind,
|
|
@@ -672,6 +683,7 @@ export {
|
|
|
672
683
|
tryParseLocale,
|
|
673
684
|
types_exports as type,
|
|
674
685
|
unaliasType,
|
|
686
|
+
unaliasTypeAndGetReductionSource,
|
|
675
687
|
unescapeText,
|
|
676
688
|
unwrapParenthesizedExpressions,
|
|
677
689
|
validJavaScriptIdentifierStartRegExp,
|
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-YQATIDSS.js";
|
|
10
|
+
import "../chunk-NYUW7OAM.js";
|
|
11
|
+
import "../chunk-IQ4WP3GU.js";
|
|
12
12
|
export {
|
|
13
13
|
CommandLineCompiler,
|
|
14
14
|
FileSystemUri,
|