@artel/artc 0.6.25211 → 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 +20 -18
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +748 -485
- package/build/{chunk-Y3KGPV3L.js → chunk-DYVLHEXS.js} +10754 -10037
- package/build/{chunk-5BGDYCRQ.js → chunk-MRSDFDBD.js} +9 -8
- package/build/{chunk-EYLAO2SF.js → chunk-XGS3PSIF.js} +3 -3
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +3 -1
- package/build/types/analysis/Analyzer.d.ts +33 -15
- 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 +1 -1
- package/build/types/common/LocalizationHelper.d.ts +5 -2
- 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/ir/Nodes.d.ts +24 -22
- package/build/types/entities/OperatorEntity.d.ts +7 -9
- package/build/types/entities/OperatorKind.d.ts +19 -26
- 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 +2 -2
- package/build/types/entities/index.d.ts +7 -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 +42 -50
- package/build/types/services/NodeSemanticInfo.d.ts +6 -11
- package/build/types/services/SemanticTokensService.d.ts +4 -3
- package/build/types/tree/NodeKind.d.ts +105 -104
- package/build/types/tree/OperatorKind.d.ts +24 -7
- package/build/types/tree/green/Nodes.d.ts +28 -5
- package/build/types/tree/green/SyntaxToCode.d.ts +1 -0
- package/build/types/tree/green/Token.d.ts +4 -3
- package/build/types/tree/red/Nodes.d.ts +26 -8
- package/build/types/tree/red/Token.d.ts +3 -2
- package/build/types/types/TypeMembers.d.ts +20 -29
- package/package.json +3 -3
- package/build/types/analysis/BuiltInOperators.d.ts +0 -14
- package/build/types/common/UriTree.d.ts +0 -41
- package/build/types/entities/BinaryOperatorEntity.d.ts +0 -54
- package/build/types/entities/UnaryOperatorEntity.d.ts +0 -37
- package/build/types/parser/OperatorDictionary.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-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,
|
@@ -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,
|
@@ -147,6 +145,7 @@ import {
|
|
147
145
|
OnErrorClauseSemanticContext,
|
148
146
|
OperatorDeclarationEntity,
|
149
147
|
OperatorKind,
|
148
|
+
OperatorSemanticContext,
|
150
149
|
Option,
|
151
150
|
PackageAliasTypeDeclarationEntity,
|
152
151
|
PackageConfigurationEn_exports,
|
@@ -258,13 +257,11 @@ import {
|
|
258
257
|
TypeVariableDeclarationEntity,
|
259
258
|
TypeVariableGetterDeclarationEntity,
|
260
259
|
TypeVariableSetterDeclarationEntity,
|
261
|
-
UnaryOperatorKind,
|
262
260
|
UnfinishedIntrinsicAnonymousMethodTypeEntity,
|
263
261
|
UnfinishedIntrinsicAnonymousStructuredTypeEntity,
|
264
262
|
UnfinishedIntrinsicPackageMethodTypeEntity,
|
265
263
|
UnfinishedIntrinsicPackageStructuredTypeEntity,
|
266
264
|
Uri,
|
267
|
-
UriTree,
|
268
265
|
UrisRelativityKind,
|
269
266
|
ValueSpecialVariableEntityInfo,
|
270
267
|
VariableAccess_exports,
|
@@ -275,7 +272,6 @@ import {
|
|
275
272
|
WellKnownDeclarationsLoadError,
|
276
273
|
WithDiagnostics_error,
|
277
274
|
WithDiagnostics_ok,
|
278
|
-
binaryOperatorKindByTokenText,
|
279
275
|
camelCaseToKebabCasePreservingKeyEquality,
|
280
276
|
collectRequiredJsLibraryConfigs,
|
281
277
|
createDefaultPackageConfiguration,
|
@@ -299,6 +295,7 @@ import {
|
|
299
295
|
green_exports,
|
300
296
|
invalidJavaScriptIdentifierCharsRegExp,
|
301
297
|
isAnonymousTypeEntity,
|
298
|
+
isBinaryOperator,
|
302
299
|
isComputedVariableEntity,
|
303
300
|
isEntityContainingTypeParameter,
|
304
301
|
isEntityContainingValueParameter,
|
@@ -306,6 +303,8 @@ import {
|
|
306
303
|
isJavaScriptIdentifier,
|
307
304
|
isNamedTypeEntity,
|
308
305
|
isNonEmptyArray,
|
306
|
+
isOperatorDefinedByKeyword,
|
307
|
+
isOperatorDefinedByToken,
|
309
308
|
isPackageMemberEntity,
|
310
309
|
isPackageTypeEntity,
|
311
310
|
isReservedJavaScriptIdentifier,
|
@@ -313,11 +312,13 @@ import {
|
|
313
312
|
isTypeEntity,
|
314
313
|
isTypeEntityWithMembers,
|
315
314
|
isTypeMemberEntity,
|
315
|
+
isUnaryOperator,
|
316
316
|
javaScriptIdentifierRegExp,
|
317
317
|
kebabCaseToCamelCase,
|
318
|
+
keywordKindByOperatorKind,
|
318
319
|
localeToString,
|
319
320
|
locales,
|
320
|
-
|
321
|
+
operatorKindsBySyntacticalOperatorKind,
|
321
322
|
parseBinaryInteger,
|
322
323
|
parseCyrillicHexInteger,
|
323
324
|
parseDecimalInteger,
|
@@ -329,13 +330,13 @@ import {
|
|
329
330
|
reservedIdentifiersKindByValue,
|
330
331
|
reservedJavaScriptIdentifiers,
|
331
332
|
setUserLocale,
|
333
|
+
tokenTextByOperatorKind,
|
332
334
|
traverseTree,
|
333
335
|
traverseTreeWithCancellationToken,
|
334
336
|
tree_exports,
|
335
337
|
tryParseLocale,
|
336
338
|
types_exports,
|
337
339
|
unaliasType,
|
338
|
-
unaryOperatorKindByTokenText,
|
339
340
|
unescapeText,
|
340
341
|
unwrapParenthesizedExpressions,
|
341
342
|
validJavaScriptIdentifierStartRegExp,
|
@@ -343,7 +344,7 @@ import {
|
|
343
344
|
visitChildrenRecursively,
|
344
345
|
withoutQuotes,
|
345
346
|
yieldExecution
|
346
|
-
} from "../chunk-
|
347
|
+
} from "../chunk-DYVLHEXS.js";
|
347
348
|
export {
|
348
349
|
AccessKind,
|
349
350
|
AccessedMethodValueParameter,
|
@@ -367,7 +368,6 @@ export {
|
|
367
368
|
BackingSpecialVariableEntityInfo,
|
368
369
|
BaseAspectTypes,
|
369
370
|
BaseObjectType,
|
370
|
-
BinaryOperatorKind,
|
371
371
|
Cached,
|
372
372
|
CancelledError,
|
373
373
|
CharacterCodes,
|
@@ -417,6 +417,7 @@ export {
|
|
417
417
|
EnumerationVariableDeclarationEntity,
|
418
418
|
ErrorVariableDeclarationEntity,
|
419
419
|
ExpressionDenotesMethodCheckResult,
|
420
|
+
ExpressionDenotesOperatorCheckResult,
|
420
421
|
ForStatementSemanticContext,
|
421
422
|
FoundAnonymousDeclaration,
|
422
423
|
FoundNamedDeclaration,
|
@@ -433,7 +434,6 @@ export {
|
|
433
434
|
IndexerSemanticContext,
|
434
435
|
InterfacePackageEntityInfo,
|
435
436
|
Interner,
|
436
|
-
IntrinsicBinaryOperatorEntity,
|
437
437
|
IntrinsicConstructorEntity,
|
438
438
|
IntrinsicGetterEntity,
|
439
439
|
IntrinsicLocalVariableEntity,
|
@@ -444,7 +444,6 @@ export {
|
|
444
444
|
IntrinsicTypeMethodEntity,
|
445
445
|
IntrinsicTypeParameterEntity,
|
446
446
|
IntrinsicTypeVariableEntity,
|
447
|
-
IntrinsicUnaryOperatorEntity,
|
448
447
|
JavaScriptImplementationConfig,
|
449
448
|
JavaScriptInterfacePackageImplementationConfig,
|
450
449
|
JavaScriptModuleFormat,
|
@@ -488,6 +487,7 @@ export {
|
|
488
487
|
OnErrorClauseSemanticContext,
|
489
488
|
OperatorDeclarationEntity,
|
490
489
|
OperatorKind,
|
490
|
+
OperatorSemanticContext,
|
491
491
|
Option,
|
492
492
|
PackageAliasTypeDeclarationEntity,
|
493
493
|
PackageConstructorSemanticContext,
|
@@ -596,13 +596,11 @@ export {
|
|
596
596
|
TypeVariableDeclarationEntity,
|
597
597
|
TypeVariableGetterDeclarationEntity,
|
598
598
|
TypeVariableSetterDeclarationEntity,
|
599
|
-
UnaryOperatorKind,
|
600
599
|
UnfinishedIntrinsicAnonymousMethodTypeEntity,
|
601
600
|
UnfinishedIntrinsicAnonymousStructuredTypeEntity,
|
602
601
|
UnfinishedIntrinsicPackageMethodTypeEntity,
|
603
602
|
UnfinishedIntrinsicPackageStructuredTypeEntity,
|
604
603
|
Uri,
|
605
|
-
UriTree,
|
606
604
|
UrisRelativityKind,
|
607
605
|
ValueSpecialVariableEntityInfo,
|
608
606
|
VariableToInitialize,
|
@@ -612,7 +610,6 @@ export {
|
|
612
610
|
WellKnownDeclarationsLoadError,
|
613
611
|
WithDiagnostics_error,
|
614
612
|
WithDiagnostics_ok,
|
615
|
-
binaryOperatorKindByTokenText,
|
616
613
|
camelCaseToKebabCasePreservingKeyEquality,
|
617
614
|
collectRequiredJsLibraryConfigs,
|
618
615
|
PackageConfigurationEn_exports as config,
|
@@ -641,6 +638,7 @@ export {
|
|
641
638
|
IndexedAccess_exports as indexedAccess,
|
642
639
|
invalidJavaScriptIdentifierCharsRegExp,
|
643
640
|
isAnonymousTypeEntity,
|
641
|
+
isBinaryOperator,
|
644
642
|
isComputedVariableEntity,
|
645
643
|
isEntityContainingTypeParameter,
|
646
644
|
isEntityContainingValueParameter,
|
@@ -648,6 +646,8 @@ export {
|
|
648
646
|
isJavaScriptIdentifier,
|
649
647
|
isNamedTypeEntity,
|
650
648
|
isNonEmptyArray,
|
649
|
+
isOperatorDefinedByKeyword,
|
650
|
+
isOperatorDefinedByToken,
|
651
651
|
isPackageMemberEntity,
|
652
652
|
isPackageTypeEntity,
|
653
653
|
isReservedJavaScriptIdentifier,
|
@@ -655,11 +655,13 @@ export {
|
|
655
655
|
isTypeEntity,
|
656
656
|
isTypeEntityWithMembers,
|
657
657
|
isTypeMemberEntity,
|
658
|
+
isUnaryOperator,
|
658
659
|
javaScriptIdentifierRegExp,
|
659
660
|
kebabCaseToCamelCase,
|
661
|
+
keywordKindByOperatorKind,
|
660
662
|
localeToString,
|
661
663
|
locales,
|
662
|
-
|
664
|
+
operatorKindsBySyntacticalOperatorKind,
|
663
665
|
PackageContent_exports as packageContent,
|
664
666
|
parseBinaryInteger,
|
665
667
|
parseCyrillicHexInteger,
|
@@ -672,13 +674,13 @@ export {
|
|
672
674
|
reservedIdentifiersKindByValue,
|
673
675
|
reservedJavaScriptIdentifiers,
|
674
676
|
setUserLocale,
|
677
|
+
tokenTextByOperatorKind,
|
675
678
|
traverseTree,
|
676
679
|
traverseTreeWithCancellationToken,
|
677
680
|
tree_exports as tree,
|
678
681
|
tryParseLocale,
|
679
682
|
types_exports as type,
|
680
683
|
unaliasType,
|
681
|
-
unaryOperatorKindByTokenText,
|
682
684
|
unescapeText,
|
683
685
|
unwrapParenthesizedExpressions,
|
684
686
|
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-MRSDFDBD.js";
|
10
|
+
import "../chunk-XGS3PSIF.js";
|
11
|
+
import "../chunk-DYVLHEXS.js";
|
12
12
|
export {
|
13
13
|
CommandLineCompiler,
|
14
14
|
FileSystemUri,
|