@artel/artc 0.6.25207 → 0.6.25209
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 +36 -20
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +9923 -9250
- package/build/{chunk-FYWHIGGV.js → chunk-4EDLYSNW.js} +11 -8
- package/build/{chunk-F6DF37J3.js → chunk-5SWGY25I.js} +39172 -46399
- package/build/{chunk-OORYH37I.js → chunk-GKEW2LBL.js} +27 -14
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +14 -10
- package/build/types/analysis/Analyzer.d.ts +27 -11
- package/build/types/analysis/AutotypeCallExpressionMeaning.d.ts +17 -1
- package/build/types/analysis/BaseExpressionMeaning.d.ts +17 -1
- package/build/types/analysis/CallExpressionMeaning.d.ts +17 -1
- package/build/types/analysis/DereferenceExpressionMeaning.d.ts +6 -1
- package/build/types/analysis/DereferencedVariableAccess.d.ts +14 -0
- package/build/types/analysis/DiagnosticCollector.d.ts +3 -0
- package/build/types/analysis/IdentifierExpressionMeaning.d.ts +2 -5
- package/build/types/analysis/IndexedAccess.d.ts +14 -0
- package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +6 -3
- package/build/types/analysis/ObjectExpressionMeaning.d.ts +19 -3
- package/build/types/analysis/PropertyAccessExpressionMeaning.d.ts +2 -4
- package/build/types/analysis/SemanticContext.d.ts +4 -4
- package/build/types/analysis/VariableAccess.d.ts +6 -2
- package/build/types/analysis/WellKnownDeclarations.d.ts +1 -0
- package/build/types/analysis/index.d.ts +4 -2
- package/build/types/api/Api.d.ts +2 -2
- package/build/types/common/AccessKind.d.ts +2 -1
- package/build/types/common/Constants.d.ts +1 -1
- package/build/types/common/JavaScriptIdentifier.d.ts +6 -0
- package/build/types/common/Logger.d.ts +1 -0
- package/build/types/common/Name.d.ts +18 -21
- package/build/types/common/Query.d.ts +6 -1
- package/build/types/common/TreeQuery.d.ts +0 -2
- package/build/types/common/index.d.ts +2 -1
- package/build/types/emitter/Emitter.d.ts +50 -16
- package/build/types/emitter/EmitterContext.d.ts +42 -337
- package/build/types/emitter/EmitterGeneratedDeclarationKind.d.ts +55 -17
- package/build/types/emitter/Entities.d.ts +144 -0
- package/build/types/emitter/EntityMap.d.ts +45 -0
- package/build/types/emitter/ExpressionTransformationResult.d.ts +1 -1
- package/build/types/emitter/GeneralLowering.d.ts +4 -68
- package/build/types/emitter/Internal.d.ts +0 -1
- package/build/types/emitter/IrBuilder.d.ts +27 -17
- package/build/types/emitter/IrToJs.d.ts +17 -11
- package/build/types/emitter/StatementTransformationResult.d.ts +5 -2
- package/build/types/emitter/Transformer.d.ts +21 -93
- package/build/types/emitter/ir/AccessedEntities.d.ts +5 -11
- package/build/types/emitter/ir/ComputedAccess.d.ts +19 -0
- package/build/types/emitter/ir/LoweringState.d.ts +25 -0
- package/build/types/emitter/ir/Nodes.d.ts +531 -1109
- package/build/types/emitter/ir/index.d.ts +3 -1
- package/build/types/emitter/ir/types.d.ts +6 -7
- package/build/types/entities/BinaryOperatorEntity.d.ts +3 -0
- package/build/types/entities/ConstructorEntity.d.ts +17 -21
- package/build/types/entities/PackageMembers.d.ts +2 -2
- package/build/types/entities/TypeEntityMembers.d.ts +2 -2
- package/build/types/entities/UnaryOperatorEntity.d.ts +3 -0
- package/build/types/entities/Variants.d.ts +2 -2
- package/build/types/entities/index.d.ts +4 -2
- package/build/types/executor/Compiler.d.ts +6 -1
- package/build/types/executor/NodeCompiler.d.ts +7 -3
- package/build/types/parser/Scanner.d.ts +1 -0
- package/build/types/project/CompilationLoader.d.ts +17 -22
- package/build/types/project/PackageContent.d.ts +16 -0
- package/build/types/project/PackageContentCreator.d.ts +3 -0
- package/build/types/project/SourceFile.d.ts +1 -1
- package/build/types/project/SourcePackage.d.ts +3 -3
- package/build/types/project/configuration/ConfigurationConverter.d.ts +2 -3
- package/build/types/project/configuration/ConfigurationTranslator.d.ts +23 -0
- package/build/types/project/configuration/PackageConfigurationInterpreter.d.ts +1 -27
- package/build/types/project/index.d.ts +3 -1
- package/build/types/services/AddPropertyAssignmentService.d.ts +2 -2
- package/build/types/services/CodeActionsService.d.ts +22 -0
- package/build/types/services/DefinitionService.d.ts +2 -2
- package/build/types/services/LanguageServer.d.ts +11 -2
- package/build/types/services/NodeSemanticInfo.d.ts +13 -7
- package/build/types/services/ReferencesService.d.ts +1 -3
- package/build/types/services/TranslationsGenerationService.d.ts +7 -0
- package/build/types/services/Types.d.ts +10 -0
- package/build/types/services/source-generation/SourceGenerationService.d.ts +6 -4
- package/build/types/services/workspace/CompilationController.d.ts +4 -3
- package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +5 -2
- package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +1 -1
- package/build/types/services/workspace/Workspace.d.ts +6 -2
- package/build/types/services/workspace/WorkspaceFiles.d.ts +2 -2
- package/build/types/tree/KeywordKind.d.ts +47 -46
- package/build/types/tree/green/SyntaxToCode.d.ts +4 -3
- package/build/types/ts-interop/TsInteropContext.d.ts +2 -2
- package/build/types/ts-interop/TsPackageMembersCreator.d.ts +3 -3
- package/build/types/ts-interop/Utils.d.ts +39 -33
- package/package.json +6 -6
- package/build/types/analysis/IndexerAccess.d.ts +0 -10
- package/build/types/emitter/EmitterPackage.d.ts +0 -60
- package/build/types/emitter/EntityNameProviders.d.ts +0 -33
- package/build/types/generated/BuiltInSystemPackages.d.ts +0 -3
- package/build/types/old/Executor.d.ts +0 -14
- package/build/types/old/JavaScriptEmittingVisitor.d.ts +0 -1
- package/build/types/old/NzonParser.d.ts +0 -1
- package/build/types/old/NzonScanner.d.ts +0 -1
- package/build/types/old/NzonSyntax.d.ts +0 -1
- package/build/types/old/RemoteWorkspaceFileSystem.d.ts +0 -1
- /package/build/types/{old/JavaScriptEmitter.d.ts → emitter/EmitterContextOld.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-GKEW2LBL.js";
|
5
|
+
import "./chunk-4EDLYSNW.js";
|
6
6
|
import {
|
7
7
|
__async
|
8
|
-
} from "./chunk-
|
8
|
+
} from "./chunk-5SWGY25I.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-4EDLYSNW.js";
|
4
4
|
import {
|
5
5
|
AccessKind,
|
6
6
|
AccessedMethodValueParameter,
|
@@ -25,7 +25,6 @@ import {
|
|
25
25
|
BaseAspectTypes,
|
26
26
|
BaseObjectType,
|
27
27
|
BinaryOperatorKind,
|
28
|
-
BuiltInSystemPackagesScheme,
|
29
28
|
Cached,
|
30
29
|
CancelledError,
|
31
30
|
CharacterCodes,
|
@@ -39,17 +38,20 @@ import {
|
|
39
38
|
ConfigurationDirectoryNameSet,
|
40
39
|
ConfigurationDirectoryNamesByLocale,
|
41
40
|
ConfigurationFileParser,
|
41
|
+
ConstructorParameterInitializingFieldInfo,
|
42
42
|
ConstructorSemanticContext,
|
43
43
|
Debug,
|
44
44
|
DeclaredTypeMemberEntities,
|
45
45
|
DefaultConstructorEntity,
|
46
46
|
DefaultConstructorEntityInfo,
|
47
|
+
DefaultConstructorParameterForBaseConstructorInfo,
|
47
48
|
DefaultDialect,
|
48
49
|
DefaultLocale,
|
49
50
|
DefaultNamesOfDirectoriesToIgnore,
|
50
51
|
DefaultTsLibDeclarationsFileName,
|
51
52
|
DefinitionKind,
|
52
53
|
Delayed,
|
54
|
+
DereferencedVariableAccess_exports,
|
53
55
|
DestructorSemanticContext,
|
54
56
|
Diagnostic,
|
55
57
|
DiagnosticCode,
|
@@ -60,6 +62,7 @@ import {
|
|
60
62
|
DiagnosticLocation,
|
61
63
|
DirectoryEntry,
|
62
64
|
Emitter,
|
65
|
+
EmitterPackage,
|
63
66
|
EntityHidingLevel_file,
|
64
67
|
EntityHidingLevel_package,
|
65
68
|
EntityHidingLevel_type,
|
@@ -84,7 +87,8 @@ import {
|
|
84
87
|
ImportEmitKind,
|
85
88
|
ImportedPackage,
|
86
89
|
ImportedPackageNameTree,
|
87
|
-
|
90
|
+
InMemoryPackageScheme,
|
91
|
+
IndexedAccess_exports,
|
88
92
|
IndexerSemanticContext,
|
89
93
|
InterfacePackageEntityInfo,
|
90
94
|
Interner,
|
@@ -103,7 +107,7 @@ import {
|
|
103
107
|
JavaScriptImplementationConfig,
|
104
108
|
JavaScriptInterfacePackageImplementationConfig,
|
105
109
|
JavaScriptModuleFormat,
|
106
|
-
|
110
|
+
JsLibraryRepresentingArtelPackageInfo,
|
107
111
|
JsonConfigurationFileNameSet,
|
108
112
|
JsonConfigurationFileNamesByLocale,
|
109
113
|
KeywordPart,
|
@@ -144,9 +148,9 @@ import {
|
|
144
148
|
Option,
|
145
149
|
PackageAliasTypeDeclarationEntity,
|
146
150
|
PackageConfigurationEn_exports,
|
147
|
-
PackageConfigurationInterpreter,
|
148
151
|
PackageConfigurationRu_exports,
|
149
152
|
PackageConstructorSemanticContext,
|
153
|
+
PackageContent_exports,
|
150
154
|
PackageDialect,
|
151
155
|
PackageEntryPointSemanticContext,
|
152
156
|
PackageFromDtsConfig,
|
@@ -176,7 +180,6 @@ import {
|
|
176
180
|
ProgramPackageConfiguration,
|
177
181
|
Query,
|
178
182
|
Range,
|
179
|
-
RawInterpretationResult,
|
180
183
|
RequiredJsLibraryConfig,
|
181
184
|
RequiredJsLibraryConfigs,
|
182
185
|
RequiredPackageConfig,
|
@@ -203,7 +206,7 @@ import {
|
|
203
206
|
SubstitutedMethod_entity,
|
204
207
|
SubstitutedMethod_typeMember,
|
205
208
|
SubstitutionApplicationMode,
|
206
|
-
|
209
|
+
SyntacticAccessKind,
|
207
210
|
Tag2 as Tag,
|
208
211
|
TagArgument_boolean,
|
209
212
|
TagArgument_invalid,
|
@@ -270,12 +273,11 @@ import {
|
|
270
273
|
WellKnownDeclarationsLoadError,
|
271
274
|
WithDiagnostics_error,
|
272
275
|
WithDiagnostics_ok,
|
273
|
-
builtInSystemPackagesDirectory,
|
274
|
-
builtInSystemPackagesFileSystemTree,
|
275
276
|
camelCaseToKebabCasePreservingKeyEquality,
|
276
277
|
collectRequiredJsLibraryConfigs,
|
277
278
|
createDefaultPackageConfiguration,
|
278
279
|
createNonEmptyArray,
|
280
|
+
createPackageContentsFromFSTree,
|
279
281
|
createTsInteropInputsForCompilation,
|
280
282
|
entityToStringDecorator,
|
281
283
|
findModifier,
|
@@ -292,18 +294,23 @@ import {
|
|
292
294
|
getUnescapedTextFromStringToken,
|
293
295
|
getUserLocale,
|
294
296
|
green_exports,
|
297
|
+
invalidJavaScriptIdentifierCharsRegExp,
|
295
298
|
isAnonymousTypeEntity,
|
296
299
|
isComputedVariableEntity,
|
297
300
|
isEntityContainingTypeParameter,
|
298
301
|
isEntityContainingValueParameter,
|
299
302
|
isEntityWithTags,
|
303
|
+
isJavaScriptIdentifier,
|
300
304
|
isNamedTypeEntity,
|
301
305
|
isNonEmptyArray,
|
306
|
+
isPackageMemberEntity,
|
302
307
|
isPackageTypeEntity,
|
308
|
+
isReservedJavaScriptIdentifier,
|
303
309
|
isSourceOrConfigurationFileName,
|
304
310
|
isTypeEntity,
|
305
311
|
isTypeEntityWithMembers,
|
306
312
|
isTypeMemberEntity,
|
313
|
+
javaScriptIdentifierRegExp,
|
307
314
|
kebabCaseToCamelCase,
|
308
315
|
localeToString,
|
309
316
|
locales,
|
@@ -312,11 +319,11 @@ import {
|
|
312
319
|
parseDecimalInteger,
|
313
320
|
parseIntegerLiteral,
|
314
321
|
parseLatinHexInteger,
|
315
|
-
parsePackageName,
|
316
322
|
performanceMeasurementStageNames,
|
317
323
|
performanceMeasurementStages,
|
318
324
|
reservedIdentifiersByLocale,
|
319
325
|
reservedIdentifiersKindByValue,
|
326
|
+
reservedJavaScriptIdentifiers,
|
320
327
|
setUserLocale,
|
321
328
|
traverseTree,
|
322
329
|
traverseTreeWithCancellationToken,
|
@@ -326,11 +333,12 @@ import {
|
|
326
333
|
unaliasType,
|
327
334
|
unescapeText,
|
328
335
|
unwrapParenthesizedExpressions,
|
336
|
+
validJavaScriptIdentifierStartRegExp,
|
329
337
|
visitChildren,
|
330
338
|
visitChildrenRecursively,
|
331
339
|
withoutQuotes,
|
332
340
|
yieldExecution
|
333
|
-
} from "../chunk-
|
341
|
+
} from "../chunk-5SWGY25I.js";
|
334
342
|
export {
|
335
343
|
AccessKind,
|
336
344
|
AccessedMethodValueParameter,
|
@@ -355,7 +363,6 @@ export {
|
|
355
363
|
BaseAspectTypes,
|
356
364
|
BaseObjectType,
|
357
365
|
BinaryOperatorKind,
|
358
|
-
BuiltInSystemPackagesScheme,
|
359
366
|
Cached,
|
360
367
|
CancelledError,
|
361
368
|
CharacterCodes,
|
@@ -370,11 +377,13 @@ export {
|
|
370
377
|
ConfigurationDirectoryNameSet,
|
371
378
|
ConfigurationDirectoryNamesByLocale,
|
372
379
|
ConfigurationFileParser,
|
380
|
+
ConstructorParameterInitializingFieldInfo,
|
373
381
|
ConstructorSemanticContext,
|
374
382
|
Debug,
|
375
383
|
DeclaredTypeMemberEntities,
|
376
384
|
DefaultConstructorEntity,
|
377
385
|
DefaultConstructorEntityInfo,
|
386
|
+
DefaultConstructorParameterForBaseConstructorInfo,
|
378
387
|
DefaultDialect,
|
379
388
|
DefaultLocale,
|
380
389
|
DefaultNamesOfDirectoriesToIgnore,
|
@@ -391,6 +400,7 @@ export {
|
|
391
400
|
DiagnosticLocation,
|
392
401
|
DirectoryEntry,
|
393
402
|
Emitter,
|
403
|
+
EmitterPackage,
|
394
404
|
EntityHidingLevel_file,
|
395
405
|
EntityHidingLevel_package,
|
396
406
|
EntityHidingLevel_type,
|
@@ -414,6 +424,7 @@ export {
|
|
414
424
|
ImportEmitKind,
|
415
425
|
ImportedPackage,
|
416
426
|
ImportedPackageNameTree,
|
427
|
+
InMemoryPackageScheme,
|
417
428
|
IndexerSemanticContext,
|
418
429
|
InterfacePackageEntityInfo,
|
419
430
|
Interner,
|
@@ -432,7 +443,7 @@ export {
|
|
432
443
|
JavaScriptImplementationConfig,
|
433
444
|
JavaScriptInterfacePackageImplementationConfig,
|
434
445
|
JavaScriptModuleFormat,
|
435
|
-
|
446
|
+
JsLibraryRepresentingArtelPackageInfo,
|
436
447
|
JsonConfigurationFileNameSet,
|
437
448
|
JsonConfigurationFileNamesByLocale,
|
438
449
|
KeywordPart,
|
@@ -472,7 +483,6 @@ export {
|
|
472
483
|
OnErrorClauseSemanticContext,
|
473
484
|
Option,
|
474
485
|
PackageAliasTypeDeclarationEntity,
|
475
|
-
PackageConfigurationInterpreter,
|
476
486
|
PackageConstructorSemanticContext,
|
477
487
|
PackageDialect,
|
478
488
|
PackageEntryPointSemanticContext,
|
@@ -503,7 +513,6 @@ export {
|
|
503
513
|
ProgramPackageConfiguration,
|
504
514
|
Query,
|
505
515
|
Range,
|
506
|
-
RawInterpretationResult,
|
507
516
|
RequiredJsLibraryConfig,
|
508
517
|
RequiredJsLibraryConfigs,
|
509
518
|
RequiredPackageConfig,
|
@@ -531,7 +540,7 @@ export {
|
|
531
540
|
SubstitutedMethod_entity,
|
532
541
|
SubstitutedMethod_typeMember,
|
533
542
|
SubstitutionApplicationMode,
|
534
|
-
|
543
|
+
SyntacticAccessKind,
|
535
544
|
Tag,
|
536
545
|
TagArgument_boolean,
|
537
546
|
TagArgument_invalid,
|
@@ -596,15 +605,15 @@ export {
|
|
596
605
|
WellKnownDeclarationsLoadError,
|
597
606
|
WithDiagnostics_error,
|
598
607
|
WithDiagnostics_ok,
|
599
|
-
builtInSystemPackagesDirectory,
|
600
|
-
builtInSystemPackagesFileSystemTree,
|
601
608
|
camelCaseToKebabCasePreservingKeyEquality,
|
602
609
|
collectRequiredJsLibraryConfigs,
|
603
610
|
PackageConfigurationEn_exports as config,
|
604
611
|
PackageConfigurationRu_exports as configRu,
|
605
612
|
createDefaultPackageConfiguration,
|
606
613
|
createNonEmptyArray,
|
614
|
+
createPackageContentsFromFSTree,
|
607
615
|
createTsInteropInputsForCompilation,
|
616
|
+
DereferencedVariableAccess_exports as dereferencedVariableAccess,
|
608
617
|
entityToStringDecorator,
|
609
618
|
findModifier,
|
610
619
|
findTag,
|
@@ -621,32 +630,38 @@ export {
|
|
621
630
|
getUnescapedTextFromStringToken,
|
622
631
|
getUserLocale,
|
623
632
|
green_exports as green,
|
624
|
-
|
633
|
+
IndexedAccess_exports as indexedAccess,
|
634
|
+
invalidJavaScriptIdentifierCharsRegExp,
|
625
635
|
isAnonymousTypeEntity,
|
626
636
|
isComputedVariableEntity,
|
627
637
|
isEntityContainingTypeParameter,
|
628
638
|
isEntityContainingValueParameter,
|
629
639
|
isEntityWithTags,
|
640
|
+
isJavaScriptIdentifier,
|
630
641
|
isNamedTypeEntity,
|
631
642
|
isNonEmptyArray,
|
643
|
+
isPackageMemberEntity,
|
632
644
|
isPackageTypeEntity,
|
645
|
+
isReservedJavaScriptIdentifier,
|
633
646
|
isSourceOrConfigurationFileName,
|
634
647
|
isTypeEntity,
|
635
648
|
isTypeEntityWithMembers,
|
636
649
|
isTypeMemberEntity,
|
650
|
+
javaScriptIdentifierRegExp,
|
637
651
|
kebabCaseToCamelCase,
|
638
652
|
localeToString,
|
639
653
|
locales,
|
654
|
+
PackageContent_exports as packageContent,
|
640
655
|
parseBinaryInteger,
|
641
656
|
parseCyrillicHexInteger,
|
642
657
|
parseDecimalInteger,
|
643
658
|
parseIntegerLiteral,
|
644
659
|
parseLatinHexInteger,
|
645
|
-
parsePackageName,
|
646
660
|
performanceMeasurementStageNames,
|
647
661
|
performanceMeasurementStages,
|
648
662
|
reservedIdentifiersByLocale,
|
649
663
|
reservedIdentifiersKindByValue,
|
664
|
+
reservedJavaScriptIdentifiers,
|
650
665
|
setUserLocale,
|
651
666
|
traverseTree,
|
652
667
|
traverseTreeWithCancellationToken,
|
@@ -656,6 +671,7 @@ export {
|
|
656
671
|
unaliasType,
|
657
672
|
unescapeText,
|
658
673
|
unwrapParenthesizedExpressions,
|
674
|
+
validJavaScriptIdentifierStartRegExp,
|
659
675
|
VariableAccess_exports as variableAccess,
|
660
676
|
visitChildren,
|
661
677
|
visitChildrenRecursively,
|
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-GKEW2LBL.js";
|
10
|
+
import "../chunk-4EDLYSNW.js";
|
11
|
+
import "../chunk-5SWGY25I.js";
|
12
12
|
export {
|
13
13
|
CommandLineCompiler,
|
14
14
|
FileSystemUri,
|