@artel/artc 0.6.25206 → 0.6.25208
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 +32 -18
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +9964 -9262
- package/build/{chunk-LAJRVDPO.js → chunk-FABHNF5H.js} +8 -6
- package/build/{chunk-EDDZCW2I.js → chunk-LZ4IJBSA.js} +3 -4
- package/build/{chunk-AY3Z4HOX.js → chunk-PNUVVKWZ.js} +38838 -46249
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +10 -7
- package/build/types/analysis/Analyzer.d.ts +27 -10
- package/build/types/analysis/DereferenceExpressionMeaning.d.ts +6 -1
- package/build/types/analysis/DereferencedVariableAccess.d.ts +14 -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 +2 -2
- 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/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 +4 -0
- 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/PackageMembers.d.ts +2 -2
- package/build/types/entities/TypeEntityMembers.d.ts +2 -2
- package/build/types/entities/Variants.d.ts +2 -2
- package/build/types/entities/index.d.ts +3 -1
- 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 +9 -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 +5 -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 +4 -5
- 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-LZ4IJBSA.js";
|
5
|
+
import "./chunk-FABHNF5H.js";
|
6
6
|
import {
|
7
7
|
__async
|
8
|
-
} from "./chunk-
|
8
|
+
} from "./chunk-PNUVVKWZ.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-FABHNF5H.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,
|
@@ -50,6 +49,7 @@ import {
|
|
50
49
|
DefaultTsLibDeclarationsFileName,
|
51
50
|
DefinitionKind,
|
52
51
|
Delayed,
|
52
|
+
DereferencedVariableAccess_exports,
|
53
53
|
DestructorSemanticContext,
|
54
54
|
Diagnostic,
|
55
55
|
DiagnosticCode,
|
@@ -60,6 +60,7 @@ import {
|
|
60
60
|
DiagnosticLocation,
|
61
61
|
DirectoryEntry,
|
62
62
|
Emitter,
|
63
|
+
EmitterPackage,
|
63
64
|
EntityHidingLevel_file,
|
64
65
|
EntityHidingLevel_package,
|
65
66
|
EntityHidingLevel_type,
|
@@ -84,7 +85,8 @@ import {
|
|
84
85
|
ImportEmitKind,
|
85
86
|
ImportedPackage,
|
86
87
|
ImportedPackageNameTree,
|
87
|
-
|
88
|
+
InMemoryPackageScheme,
|
89
|
+
IndexedAccess_exports,
|
88
90
|
IndexerSemanticContext,
|
89
91
|
InterfacePackageEntityInfo,
|
90
92
|
Interner,
|
@@ -103,7 +105,7 @@ import {
|
|
103
105
|
JavaScriptImplementationConfig,
|
104
106
|
JavaScriptInterfacePackageImplementationConfig,
|
105
107
|
JavaScriptModuleFormat,
|
106
|
-
|
108
|
+
JsLibraryRepresentingArtelPackageInfo,
|
107
109
|
JsonConfigurationFileNameSet,
|
108
110
|
JsonConfigurationFileNamesByLocale,
|
109
111
|
KeywordPart,
|
@@ -144,9 +146,9 @@ import {
|
|
144
146
|
Option,
|
145
147
|
PackageAliasTypeDeclarationEntity,
|
146
148
|
PackageConfigurationEn_exports,
|
147
|
-
PackageConfigurationInterpreter,
|
148
149
|
PackageConfigurationRu_exports,
|
149
150
|
PackageConstructorSemanticContext,
|
151
|
+
PackageContent_exports,
|
150
152
|
PackageDialect,
|
151
153
|
PackageEntryPointSemanticContext,
|
152
154
|
PackageFromDtsConfig,
|
@@ -176,7 +178,6 @@ import {
|
|
176
178
|
ProgramPackageConfiguration,
|
177
179
|
Query,
|
178
180
|
Range,
|
179
|
-
RawInterpretationResult,
|
180
181
|
RequiredJsLibraryConfig,
|
181
182
|
RequiredJsLibraryConfigs,
|
182
183
|
RequiredPackageConfig,
|
@@ -203,6 +204,7 @@ import {
|
|
203
204
|
SubstitutedMethod_entity,
|
204
205
|
SubstitutedMethod_typeMember,
|
205
206
|
SubstitutionApplicationMode,
|
207
|
+
SyntacticAccessKind,
|
206
208
|
SynthesizedAliasTypeConstructor,
|
207
209
|
Tag2 as Tag,
|
208
210
|
TagArgument_boolean,
|
@@ -270,12 +272,11 @@ import {
|
|
270
272
|
WellKnownDeclarationsLoadError,
|
271
273
|
WithDiagnostics_error,
|
272
274
|
WithDiagnostics_ok,
|
273
|
-
builtInSystemPackagesDirectory,
|
274
|
-
builtInSystemPackagesFileSystemTree,
|
275
275
|
camelCaseToKebabCasePreservingKeyEquality,
|
276
276
|
collectRequiredJsLibraryConfigs,
|
277
277
|
createDefaultPackageConfiguration,
|
278
278
|
createNonEmptyArray,
|
279
|
+
createPackageContentsFromFSTree,
|
279
280
|
createTsInteropInputsForCompilation,
|
280
281
|
entityToStringDecorator,
|
281
282
|
findModifier,
|
@@ -292,18 +293,23 @@ import {
|
|
292
293
|
getUnescapedTextFromStringToken,
|
293
294
|
getUserLocale,
|
294
295
|
green_exports,
|
296
|
+
invalidJavaScriptIdentifierCharsRegExp,
|
295
297
|
isAnonymousTypeEntity,
|
296
298
|
isComputedVariableEntity,
|
297
299
|
isEntityContainingTypeParameter,
|
298
300
|
isEntityContainingValueParameter,
|
299
301
|
isEntityWithTags,
|
302
|
+
isJavaScriptIdentifier,
|
300
303
|
isNamedTypeEntity,
|
301
304
|
isNonEmptyArray,
|
305
|
+
isPackageMemberEntity,
|
302
306
|
isPackageTypeEntity,
|
307
|
+
isReservedJavaScriptIdentifier,
|
303
308
|
isSourceOrConfigurationFileName,
|
304
309
|
isTypeEntity,
|
305
310
|
isTypeEntityWithMembers,
|
306
311
|
isTypeMemberEntity,
|
312
|
+
javaScriptIdentifierRegExp,
|
307
313
|
kebabCaseToCamelCase,
|
308
314
|
localeToString,
|
309
315
|
locales,
|
@@ -312,11 +318,11 @@ import {
|
|
312
318
|
parseDecimalInteger,
|
313
319
|
parseIntegerLiteral,
|
314
320
|
parseLatinHexInteger,
|
315
|
-
parsePackageName,
|
316
321
|
performanceMeasurementStageNames,
|
317
322
|
performanceMeasurementStages,
|
318
323
|
reservedIdentifiersByLocale,
|
319
324
|
reservedIdentifiersKindByValue,
|
325
|
+
reservedJavaScriptIdentifiers,
|
320
326
|
setUserLocale,
|
321
327
|
traverseTree,
|
322
328
|
traverseTreeWithCancellationToken,
|
@@ -326,11 +332,12 @@ import {
|
|
326
332
|
unaliasType,
|
327
333
|
unescapeText,
|
328
334
|
unwrapParenthesizedExpressions,
|
335
|
+
validJavaScriptIdentifierStartRegExp,
|
329
336
|
visitChildren,
|
330
337
|
visitChildrenRecursively,
|
331
338
|
withoutQuotes,
|
332
339
|
yieldExecution
|
333
|
-
} from "../chunk-
|
340
|
+
} from "../chunk-PNUVVKWZ.js";
|
334
341
|
export {
|
335
342
|
AccessKind,
|
336
343
|
AccessedMethodValueParameter,
|
@@ -355,7 +362,6 @@ export {
|
|
355
362
|
BaseAspectTypes,
|
356
363
|
BaseObjectType,
|
357
364
|
BinaryOperatorKind,
|
358
|
-
BuiltInSystemPackagesScheme,
|
359
365
|
Cached,
|
360
366
|
CancelledError,
|
361
367
|
CharacterCodes,
|
@@ -391,6 +397,7 @@ export {
|
|
391
397
|
DiagnosticLocation,
|
392
398
|
DirectoryEntry,
|
393
399
|
Emitter,
|
400
|
+
EmitterPackage,
|
394
401
|
EntityHidingLevel_file,
|
395
402
|
EntityHidingLevel_package,
|
396
403
|
EntityHidingLevel_type,
|
@@ -414,6 +421,7 @@ export {
|
|
414
421
|
ImportEmitKind,
|
415
422
|
ImportedPackage,
|
416
423
|
ImportedPackageNameTree,
|
424
|
+
InMemoryPackageScheme,
|
417
425
|
IndexerSemanticContext,
|
418
426
|
InterfacePackageEntityInfo,
|
419
427
|
Interner,
|
@@ -432,7 +440,7 @@ export {
|
|
432
440
|
JavaScriptImplementationConfig,
|
433
441
|
JavaScriptInterfacePackageImplementationConfig,
|
434
442
|
JavaScriptModuleFormat,
|
435
|
-
|
443
|
+
JsLibraryRepresentingArtelPackageInfo,
|
436
444
|
JsonConfigurationFileNameSet,
|
437
445
|
JsonConfigurationFileNamesByLocale,
|
438
446
|
KeywordPart,
|
@@ -472,7 +480,6 @@ export {
|
|
472
480
|
OnErrorClauseSemanticContext,
|
473
481
|
Option,
|
474
482
|
PackageAliasTypeDeclarationEntity,
|
475
|
-
PackageConfigurationInterpreter,
|
476
483
|
PackageConstructorSemanticContext,
|
477
484
|
PackageDialect,
|
478
485
|
PackageEntryPointSemanticContext,
|
@@ -503,7 +510,6 @@ export {
|
|
503
510
|
ProgramPackageConfiguration,
|
504
511
|
Query,
|
505
512
|
Range,
|
506
|
-
RawInterpretationResult,
|
507
513
|
RequiredJsLibraryConfig,
|
508
514
|
RequiredJsLibraryConfigs,
|
509
515
|
RequiredPackageConfig,
|
@@ -531,6 +537,7 @@ export {
|
|
531
537
|
SubstitutedMethod_entity,
|
532
538
|
SubstitutedMethod_typeMember,
|
533
539
|
SubstitutionApplicationMode,
|
540
|
+
SyntacticAccessKind,
|
534
541
|
SynthesizedAliasTypeConstructor,
|
535
542
|
Tag,
|
536
543
|
TagArgument_boolean,
|
@@ -596,15 +603,15 @@ export {
|
|
596
603
|
WellKnownDeclarationsLoadError,
|
597
604
|
WithDiagnostics_error,
|
598
605
|
WithDiagnostics_ok,
|
599
|
-
builtInSystemPackagesDirectory,
|
600
|
-
builtInSystemPackagesFileSystemTree,
|
601
606
|
camelCaseToKebabCasePreservingKeyEquality,
|
602
607
|
collectRequiredJsLibraryConfigs,
|
603
608
|
PackageConfigurationEn_exports as config,
|
604
609
|
PackageConfigurationRu_exports as configRu,
|
605
610
|
createDefaultPackageConfiguration,
|
606
611
|
createNonEmptyArray,
|
612
|
+
createPackageContentsFromFSTree,
|
607
613
|
createTsInteropInputsForCompilation,
|
614
|
+
DereferencedVariableAccess_exports as dereferencedVariableAccess,
|
608
615
|
entityToStringDecorator,
|
609
616
|
findModifier,
|
610
617
|
findTag,
|
@@ -621,32 +628,38 @@ export {
|
|
621
628
|
getUnescapedTextFromStringToken,
|
622
629
|
getUserLocale,
|
623
630
|
green_exports as green,
|
624
|
-
|
631
|
+
IndexedAccess_exports as indexedAccess,
|
632
|
+
invalidJavaScriptIdentifierCharsRegExp,
|
625
633
|
isAnonymousTypeEntity,
|
626
634
|
isComputedVariableEntity,
|
627
635
|
isEntityContainingTypeParameter,
|
628
636
|
isEntityContainingValueParameter,
|
629
637
|
isEntityWithTags,
|
638
|
+
isJavaScriptIdentifier,
|
630
639
|
isNamedTypeEntity,
|
631
640
|
isNonEmptyArray,
|
641
|
+
isPackageMemberEntity,
|
632
642
|
isPackageTypeEntity,
|
643
|
+
isReservedJavaScriptIdentifier,
|
633
644
|
isSourceOrConfigurationFileName,
|
634
645
|
isTypeEntity,
|
635
646
|
isTypeEntityWithMembers,
|
636
647
|
isTypeMemberEntity,
|
648
|
+
javaScriptIdentifierRegExp,
|
637
649
|
kebabCaseToCamelCase,
|
638
650
|
localeToString,
|
639
651
|
locales,
|
652
|
+
PackageContent_exports as packageContent,
|
640
653
|
parseBinaryInteger,
|
641
654
|
parseCyrillicHexInteger,
|
642
655
|
parseDecimalInteger,
|
643
656
|
parseIntegerLiteral,
|
644
657
|
parseLatinHexInteger,
|
645
|
-
parsePackageName,
|
646
658
|
performanceMeasurementStageNames,
|
647
659
|
performanceMeasurementStages,
|
648
660
|
reservedIdentifiersByLocale,
|
649
661
|
reservedIdentifiersKindByValue,
|
662
|
+
reservedJavaScriptIdentifiers,
|
650
663
|
setUserLocale,
|
651
664
|
traverseTree,
|
652
665
|
traverseTreeWithCancellationToken,
|
@@ -656,6 +669,7 @@ export {
|
|
656
669
|
unaliasType,
|
657
670
|
unescapeText,
|
658
671
|
unwrapParenthesizedExpressions,
|
672
|
+
validJavaScriptIdentifierStartRegExp,
|
659
673
|
VariableAccess_exports as variableAccess,
|
660
674
|
visitChildren,
|
661
675
|
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-LZ4IJBSA.js";
|
10
|
+
import "../chunk-FABHNF5H.js";
|
11
|
+
import "../chunk-PNUVVKWZ.js";
|
12
12
|
export {
|
13
13
|
CommandLineCompiler,
|
14
14
|
FileSystemUri,
|