@artel/artc 0.6.25210 → 0.6.25212
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 +774 -526
- package/build/{chunk-3ORG7RXI.js → chunk-DYVLHEXS.js} +11186 -10587
- package/build/{chunk-CAQIZO5K.js → chunk-MRSDFDBD.js} +9 -8
- package/build/{chunk-HRQLSHI7.js → chunk-XGS3PSIF.js} +3 -3
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +3 -1
- package/build/types/analysis/Analyzer.d.ts +33 -16
- package/build/types/analysis/BaseExpressionMeaning.d.ts +8 -2
- package/build/types/analysis/CallExpressionMeaning.d.ts +6 -1
- package/build/types/analysis/DiagnosticCollector.d.ts +1 -0
- package/build/types/analysis/EntityLocalizationHelper.d.ts +3 -1
- package/build/types/analysis/IdentifierExpressionMeaning.d.ts +12 -4
- package/build/types/analysis/Lookup.d.ts +6 -2
- package/build/types/analysis/PrefixUnaryOperatorResolver.d.ts +1 -3
- package/build/types/analysis/PropertyAccessExpressionMeaning.d.ts +13 -4
- package/build/types/analysis/Scope.d.ts +17 -3
- package/build/types/analysis/SemanticContext.d.ts +18 -1
- package/build/types/analysis/SemanticContextBuilder.d.ts +2 -0
- package/build/types/analysis/StatementBlockScopeBuilder.d.ts +1 -0
- package/build/types/analysis/TypeMemberLookup.d.ts +3 -3
- package/build/types/analysis/UserDefinableBinaryOperatorResolver.d.ts +2 -2
- package/build/types/common/Cached.d.ts +1 -0
- package/build/types/common/Debug.d.ts +3 -0
- package/build/types/common/LocalizationHelper.d.ts +5 -2
- package/build/types/common/Logger.d.ts +1 -1
- package/build/types/common/Uri.d.ts +11 -2
- package/build/types/common/index.d.ts +0 -1
- package/build/types/diagnostic/DiagnosticCode.d.ts +126 -115
- package/build/types/emitter/EmitterGeneratedDeclarationKind.d.ts +7 -0
- package/build/types/emitter/Entities.d.ts +1 -0
- package/build/types/emitter/EntityMap.d.ts +1 -2
- package/build/types/emitter/IrBuilder.d.ts +2 -0
- package/build/types/emitter/StatementTransformationResult.d.ts +3 -1
- package/build/types/emitter/Transformer.d.ts +1 -1
- package/build/types/emitter/ir/Nodes.d.ts +38 -34
- package/build/types/entities/EntityHiding.d.ts +2 -2
- package/build/types/entities/OperatorEntity.d.ts +43 -0
- package/build/types/entities/OperatorKind.d.ts +56 -0
- package/build/types/entities/StructuredTypeEntity.d.ts +3 -3
- package/build/types/entities/TypeEntityMembers.d.ts +9 -14
- package/build/types/entities/TypeExtensionEntity.d.ts +0 -1
- package/build/types/entities/VariableEntity.d.ts +3 -13
- package/build/types/entities/index.d.ts +10 -12
- package/build/types/parser/Parser.d.ts +2 -2
- package/build/types/project/FileSystemTree.d.ts +1 -1
- package/build/types/services/CompletionService.d.ts +26 -20
- package/build/types/services/DisplayService.d.ts +47 -55
- package/build/types/services/NodeSemanticInfo.d.ts +6 -11
- package/build/types/services/SemanticTokensService.d.ts +4 -3
- package/build/types/tree/KeywordKind.d.ts +25 -29
- package/build/types/tree/NodeKind.d.ts +89 -92
- package/build/types/tree/OperatorKind.d.ts +40 -0
- package/build/types/tree/green/Nodes.d.ts +52 -85
- package/build/types/tree/green/SyntaxToCode.d.ts +1 -0
- package/build/types/tree/green/Token.d.ts +7 -5
- package/build/types/tree/green/index.d.ts +1 -0
- package/build/types/tree/index.d.ts +0 -3
- package/build/types/tree/red/Nodes.d.ts +44 -78
- package/build/types/tree/red/Token.d.ts +3 -2
- package/build/types/tree/red/index.d.ts +4 -0
- package/build/types/ts-interop/Entities.d.ts +0 -4
- package/build/types/types/TypeMembers.d.ts +20 -29
- package/package.json +6 -6
- package/build/types/analysis/BuiltInOperators.d.ts +0 -14
- package/build/types/common/UriTree.d.ts +0 -41
- package/build/types/emitter/IntrinsicEntities.d.ts +0 -118
- package/build/types/entities/BinaryOperatorEntity.d.ts +0 -51
- package/build/types/entities/UnaryOperatorEntity.d.ts +0 -36
- /package/build/types/emitter/{error-boundary.d.ts → ErrorBoundary.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-MRSDFDBD.js";
|
5
|
+
import "./chunk-XGS3PSIF.js";
|
6
6
|
import {
|
7
7
|
__async
|
8
|
-
} from "./chunk-
|
8
|
+
} from "./chunk-DYVLHEXS.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-XGS3PSIF.js";
|
4
4
|
import {
|
5
5
|
AccessKind,
|
6
6
|
AccessedMethodValueParameter,
|
@@ -24,7 +24,6 @@ import {
|
|
24
24
|
BackingSpecialVariableEntityInfo,
|
25
25
|
BaseAspectTypes,
|
26
26
|
BaseObjectType,
|
27
|
-
BinaryOperatorKind,
|
28
27
|
Cached,
|
29
28
|
CancelledError,
|
30
29
|
CharacterCodes,
|
@@ -66,7 +65,7 @@ import {
|
|
66
65
|
EntityHidingLevel_file,
|
67
66
|
EntityHidingLevel_package,
|
68
67
|
EntityHidingLevel_type,
|
69
|
-
|
68
|
+
EntityHidingLevel_typeHierarchy,
|
70
69
|
EntityKind,
|
71
70
|
EntityLocalizationHelper,
|
72
71
|
EntityNaming_anonymous,
|
@@ -74,6 +73,7 @@ import {
|
|
74
73
|
EnumerationVariableDeclarationEntity,
|
75
74
|
ErrorVariableDeclarationEntity,
|
76
75
|
ExpressionDenotesMethodCheckResult,
|
76
|
+
ExpressionDenotesOperatorCheckResult,
|
77
77
|
FileSystemTree_exports,
|
78
78
|
ForStatementSemanticContext,
|
79
79
|
FoundAnonymousDeclaration,
|
@@ -92,7 +92,6 @@ import {
|
|
92
92
|
IndexerSemanticContext,
|
93
93
|
InterfacePackageEntityInfo,
|
94
94
|
Interner,
|
95
|
-
IntrinsicBinaryOperatorEntity,
|
96
95
|
IntrinsicConstructorEntity,
|
97
96
|
IntrinsicGetterEntity,
|
98
97
|
IntrinsicLocalVariableEntity,
|
@@ -103,7 +102,6 @@ import {
|
|
103
102
|
IntrinsicTypeMethodEntity,
|
104
103
|
IntrinsicTypeParameterEntity,
|
105
104
|
IntrinsicTypeVariableEntity,
|
106
|
-
IntrinsicUnaryOperatorEntity,
|
107
105
|
JavaScriptImplementationConfig,
|
108
106
|
JavaScriptInterfacePackageImplementationConfig,
|
109
107
|
JavaScriptModuleFormat,
|
@@ -145,6 +143,9 @@ import {
|
|
145
143
|
NonHiddenEntityHidingMatcher,
|
146
144
|
Notation,
|
147
145
|
OnErrorClauseSemanticContext,
|
146
|
+
OperatorDeclarationEntity,
|
147
|
+
OperatorKind,
|
148
|
+
OperatorSemanticContext,
|
148
149
|
Option,
|
149
150
|
PackageAliasTypeDeclarationEntity,
|
150
151
|
PackageConfigurationEn_exports,
|
@@ -256,13 +257,11 @@ import {
|
|
256
257
|
TypeVariableDeclarationEntity,
|
257
258
|
TypeVariableGetterDeclarationEntity,
|
258
259
|
TypeVariableSetterDeclarationEntity,
|
259
|
-
UnaryOperatorKind,
|
260
260
|
UnfinishedIntrinsicAnonymousMethodTypeEntity,
|
261
261
|
UnfinishedIntrinsicAnonymousStructuredTypeEntity,
|
262
262
|
UnfinishedIntrinsicPackageMethodTypeEntity,
|
263
263
|
UnfinishedIntrinsicPackageStructuredTypeEntity,
|
264
264
|
Uri,
|
265
|
-
UriTree,
|
266
265
|
UrisRelativityKind,
|
267
266
|
ValueSpecialVariableEntityInfo,
|
268
267
|
VariableAccess_exports,
|
@@ -296,6 +295,7 @@ import {
|
|
296
295
|
green_exports,
|
297
296
|
invalidJavaScriptIdentifierCharsRegExp,
|
298
297
|
isAnonymousTypeEntity,
|
298
|
+
isBinaryOperator,
|
299
299
|
isComputedVariableEntity,
|
300
300
|
isEntityContainingTypeParameter,
|
301
301
|
isEntityContainingValueParameter,
|
@@ -303,6 +303,8 @@ import {
|
|
303
303
|
isJavaScriptIdentifier,
|
304
304
|
isNamedTypeEntity,
|
305
305
|
isNonEmptyArray,
|
306
|
+
isOperatorDefinedByKeyword,
|
307
|
+
isOperatorDefinedByToken,
|
306
308
|
isPackageMemberEntity,
|
307
309
|
isPackageTypeEntity,
|
308
310
|
isReservedJavaScriptIdentifier,
|
@@ -310,10 +312,13 @@ import {
|
|
310
312
|
isTypeEntity,
|
311
313
|
isTypeEntityWithMembers,
|
312
314
|
isTypeMemberEntity,
|
315
|
+
isUnaryOperator,
|
313
316
|
javaScriptIdentifierRegExp,
|
314
317
|
kebabCaseToCamelCase,
|
318
|
+
keywordKindByOperatorKind,
|
315
319
|
localeToString,
|
316
320
|
locales,
|
321
|
+
operatorKindsBySyntacticalOperatorKind,
|
317
322
|
parseBinaryInteger,
|
318
323
|
parseCyrillicHexInteger,
|
319
324
|
parseDecimalInteger,
|
@@ -325,6 +330,7 @@ import {
|
|
325
330
|
reservedIdentifiersKindByValue,
|
326
331
|
reservedJavaScriptIdentifiers,
|
327
332
|
setUserLocale,
|
333
|
+
tokenTextByOperatorKind,
|
328
334
|
traverseTree,
|
329
335
|
traverseTreeWithCancellationToken,
|
330
336
|
tree_exports,
|
@@ -338,7 +344,7 @@ import {
|
|
338
344
|
visitChildrenRecursively,
|
339
345
|
withoutQuotes,
|
340
346
|
yieldExecution
|
341
|
-
} from "../chunk-
|
347
|
+
} from "../chunk-DYVLHEXS.js";
|
342
348
|
export {
|
343
349
|
AccessKind,
|
344
350
|
AccessedMethodValueParameter,
|
@@ -362,7 +368,6 @@ export {
|
|
362
368
|
BackingSpecialVariableEntityInfo,
|
363
369
|
BaseAspectTypes,
|
364
370
|
BaseObjectType,
|
365
|
-
BinaryOperatorKind,
|
366
371
|
Cached,
|
367
372
|
CancelledError,
|
368
373
|
CharacterCodes,
|
@@ -404,7 +409,7 @@ export {
|
|
404
409
|
EntityHidingLevel_file,
|
405
410
|
EntityHidingLevel_package,
|
406
411
|
EntityHidingLevel_type,
|
407
|
-
|
412
|
+
EntityHidingLevel_typeHierarchy,
|
408
413
|
EntityKind,
|
409
414
|
EntityLocalizationHelper,
|
410
415
|
EntityNaming_anonymous,
|
@@ -412,6 +417,7 @@ export {
|
|
412
417
|
EnumerationVariableDeclarationEntity,
|
413
418
|
ErrorVariableDeclarationEntity,
|
414
419
|
ExpressionDenotesMethodCheckResult,
|
420
|
+
ExpressionDenotesOperatorCheckResult,
|
415
421
|
ForStatementSemanticContext,
|
416
422
|
FoundAnonymousDeclaration,
|
417
423
|
FoundNamedDeclaration,
|
@@ -428,7 +434,6 @@ export {
|
|
428
434
|
IndexerSemanticContext,
|
429
435
|
InterfacePackageEntityInfo,
|
430
436
|
Interner,
|
431
|
-
IntrinsicBinaryOperatorEntity,
|
432
437
|
IntrinsicConstructorEntity,
|
433
438
|
IntrinsicGetterEntity,
|
434
439
|
IntrinsicLocalVariableEntity,
|
@@ -439,7 +444,6 @@ export {
|
|
439
444
|
IntrinsicTypeMethodEntity,
|
440
445
|
IntrinsicTypeParameterEntity,
|
441
446
|
IntrinsicTypeVariableEntity,
|
442
|
-
IntrinsicUnaryOperatorEntity,
|
443
447
|
JavaScriptImplementationConfig,
|
444
448
|
JavaScriptInterfacePackageImplementationConfig,
|
445
449
|
JavaScriptModuleFormat,
|
@@ -481,6 +485,9 @@ export {
|
|
481
485
|
NonHiddenEntityHidingMatcher,
|
482
486
|
Notation,
|
483
487
|
OnErrorClauseSemanticContext,
|
488
|
+
OperatorDeclarationEntity,
|
489
|
+
OperatorKind,
|
490
|
+
OperatorSemanticContext,
|
484
491
|
Option,
|
485
492
|
PackageAliasTypeDeclarationEntity,
|
486
493
|
PackageConstructorSemanticContext,
|
@@ -589,13 +596,11 @@ export {
|
|
589
596
|
TypeVariableDeclarationEntity,
|
590
597
|
TypeVariableGetterDeclarationEntity,
|
591
598
|
TypeVariableSetterDeclarationEntity,
|
592
|
-
UnaryOperatorKind,
|
593
599
|
UnfinishedIntrinsicAnonymousMethodTypeEntity,
|
594
600
|
UnfinishedIntrinsicAnonymousStructuredTypeEntity,
|
595
601
|
UnfinishedIntrinsicPackageMethodTypeEntity,
|
596
602
|
UnfinishedIntrinsicPackageStructuredTypeEntity,
|
597
603
|
Uri,
|
598
|
-
UriTree,
|
599
604
|
UrisRelativityKind,
|
600
605
|
ValueSpecialVariableEntityInfo,
|
601
606
|
VariableToInitialize,
|
@@ -633,6 +638,7 @@ export {
|
|
633
638
|
IndexedAccess_exports as indexedAccess,
|
634
639
|
invalidJavaScriptIdentifierCharsRegExp,
|
635
640
|
isAnonymousTypeEntity,
|
641
|
+
isBinaryOperator,
|
636
642
|
isComputedVariableEntity,
|
637
643
|
isEntityContainingTypeParameter,
|
638
644
|
isEntityContainingValueParameter,
|
@@ -640,6 +646,8 @@ export {
|
|
640
646
|
isJavaScriptIdentifier,
|
641
647
|
isNamedTypeEntity,
|
642
648
|
isNonEmptyArray,
|
649
|
+
isOperatorDefinedByKeyword,
|
650
|
+
isOperatorDefinedByToken,
|
643
651
|
isPackageMemberEntity,
|
644
652
|
isPackageTypeEntity,
|
645
653
|
isReservedJavaScriptIdentifier,
|
@@ -647,10 +655,13 @@ export {
|
|
647
655
|
isTypeEntity,
|
648
656
|
isTypeEntityWithMembers,
|
649
657
|
isTypeMemberEntity,
|
658
|
+
isUnaryOperator,
|
650
659
|
javaScriptIdentifierRegExp,
|
651
660
|
kebabCaseToCamelCase,
|
661
|
+
keywordKindByOperatorKind,
|
652
662
|
localeToString,
|
653
663
|
locales,
|
664
|
+
operatorKindsBySyntacticalOperatorKind,
|
654
665
|
PackageContent_exports as packageContent,
|
655
666
|
parseBinaryInteger,
|
656
667
|
parseCyrillicHexInteger,
|
@@ -663,6 +674,7 @@ export {
|
|
663
674
|
reservedIdentifiersKindByValue,
|
664
675
|
reservedJavaScriptIdentifiers,
|
665
676
|
setUserLocale,
|
677
|
+
tokenTextByOperatorKind,
|
666
678
|
traverseTree,
|
667
679
|
traverseTreeWithCancellationToken,
|
668
680
|
tree_exports as tree,
|
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-MRSDFDBD.js";
|
10
|
+
import "../chunk-XGS3PSIF.js";
|
11
|
+
import "../chunk-DYVLHEXS.js";
|
12
12
|
export {
|
13
13
|
CommandLineCompiler,
|
14
14
|
FileSystemUri,
|