@artel/artc 0.6.25254 → 0.6.25256
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 +18 -8
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +607 -389
- package/build/{chunk-JTDPRR7O.js → chunk-CTEZ5IHI.js} +2 -2
- package/build/{chunk-3JS4YG6N.js → chunk-ER3TEZSN.js} +14316 -16033
- package/build/{chunk-JV2EK6MS.js → chunk-IHZZGWNS.js} +1 -1
- package/build/types/analysis/AccessedFunction.d.ts +19 -6
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +2 -1
- package/build/types/analysis/Analyzer.d.ts +119 -47
- package/build/types/analysis/ArgumentToParameterMatchResult.d.ts +1 -4
- package/build/types/analysis/ArgumentsToParametersMatcher.d.ts +9 -15
- package/build/types/analysis/AutotypeCallExpressionMeaning.d.ts +13 -7
- package/build/types/analysis/BaseExpressionMeaning.d.ts +43 -15
- package/build/types/analysis/CallExpressionMeaning.d.ts +41 -22
- package/build/types/analysis/ConstructorCallResolver.d.ts +22 -0
- package/build/types/analysis/DiagnosticArgumentFactory.d.ts +3 -1
- package/build/types/analysis/DiagnosticCollector.d.ts +5 -9
- package/build/types/analysis/DisplayableEntity.d.ts +12 -6
- package/build/types/analysis/FunctionAccessResolver.d.ts +15 -0
- package/build/types/analysis/IdentifierExpressionMeaning.d.ts +56 -22
- package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +3 -2
- package/build/types/analysis/MemberAccessExpressionMeaning.d.ts +76 -27
- package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +0 -1
- package/build/types/analysis/NodeTypeUtils.d.ts +1 -0
- package/build/types/analysis/ObjectExpressionMeaning.d.ts +1 -0
- package/build/types/analysis/OperatorAccessResolver.d.ts +9 -0
- package/build/types/analysis/OverloadResolver.d.ts +91 -5
- package/build/types/analysis/ReturnTypeInferrer.d.ts +13 -0
- package/build/types/analysis/SourceFileMembers.d.ts +2 -0
- package/build/types/analysis/SubstitutedFunction.d.ts +22 -20
- package/build/types/analysis/TagMeaning.d.ts +16 -15
- package/build/types/analysis/TypeArgumentInferrer.d.ts +49 -0
- package/build/types/analysis/TypeNarrower.d.ts +6 -4
- package/build/types/analysis/TypeOverloadResolver.d.ts +4 -2
- package/build/types/analysis/UserDefinableBinaryOperatorResolver.d.ts +2 -6
- package/build/types/analysis/UserDefinableUnaryOperatorResolver.d.ts +2 -2
- package/build/types/analysis/Utils.d.ts +2 -0
- package/build/types/analysis/Visitor.d.ts +2 -2
- package/build/types/analysis/index.d.ts +0 -2
- package/build/types/analysis/semantic-context/Declarations.d.ts +4 -4
- package/build/types/analysis/semantic-context/SemanticContextBase.d.ts +4 -0
- package/build/types/analysis/semantic-context/SemanticContextBuilder.d.ts +1 -0
- package/build/types/api/Api.d.ts +0 -2
- package/build/types/common/ArrayUtils.d.ts +5 -2
- package/build/types/common/Cached.d.ts +4 -0
- package/build/types/common/Lazy.d.ts +2 -0
- package/build/types/common/Query.d.ts +1 -1
- package/build/types/common/TreeQuery.d.ts +14 -48
- package/build/types/common/TreeTraversal.d.ts +1 -1
- package/build/types/common/index.d.ts +0 -1
- package/build/types/diagnostic/Diagnostic.d.ts +7 -0
- package/build/types/diagnostic/DiagnosticCode.d.ts +180 -173
- package/build/types/entities/AliasTypeEntity.d.ts +1 -0
- package/build/types/entities/AliasedType.d.ts +2 -2
- package/build/types/entities/FunctionEntity.d.ts +6 -3
- package/build/types/entities/FunctionTypeEntity.d.ts +2 -1
- package/build/types/entities/PackageAliasEntity.d.ts +2 -2
- package/build/types/entities/PackageMembers.d.ts +1 -0
- package/build/types/entities/StructuredTypeEntity.d.ts +1 -0
- package/build/types/entities/TypeEntityMembers.d.ts +2 -0
- package/build/types/entities/TypeParameterEntity.d.ts +1 -0
- package/build/types/entities/VariableEntity.d.ts +23 -11
- package/build/types/entities/VariantTypeEntity.d.ts +1 -0
- package/build/types/entities/index.d.ts +3 -2
- package/build/types/parser/CharacterCodes.d.ts +0 -8
- package/build/types/parser/Parser.d.ts +2 -2
- package/build/types/parser/TriviaInterner.d.ts +8 -0
- package/build/types/services/AddPropertyAssignmentService.d.ts +0 -7
- package/build/types/services/DisplayService.d.ts +16 -10
- package/build/types/services/NodeSemanticInfo.d.ts +3 -1
- package/build/types/services/TreeUtils.d.ts +1 -1
- package/build/types/services/signature-help/SignatureWithValueParameters.d.ts +9 -1
- package/build/types/services/signature-help/TypeParameterSignatureHelpProvider.d.ts +1 -1
- package/build/types/services/source-generation/EntityToSyntax.d.ts +1 -1
- package/build/types/tree/BaseNode.d.ts +32 -0
- package/build/types/tree/{green/Nodes.d.ts → Nodes.d.ts} +411 -359
- package/build/types/tree/{green/SyntaxToCode.d.ts → SyntaxToCode.d.ts} +1 -1
- package/build/types/tree/{green/Token.d.ts → Token.d.ts} +26 -10
- package/build/types/tree/{red/Utils.d.ts → Utils.d.ts} +4 -3
- package/build/types/tree/index.d.ts +10 -1
- package/build/types/ts-interop/Entities.d.ts +14 -0
- package/build/types/types/AliasType.d.ts +2 -2
- package/build/types/types/FunctionType.d.ts +2 -2
- package/build/types/types/IntersectionType.d.ts +3 -3
- package/build/types/types/ParameterType.d.ts +2 -2
- package/build/types/types/StructuredType.d.ts +2 -2
- package/build/types/types/Substitutions.d.ts +18 -6
- package/build/types/types/Type.d.ts +3 -3
- package/build/types/types/TypeMembers.d.ts +2 -1
- package/build/types/types/UnionType.d.ts +3 -3
- package/build/types/types/UnresolvedType.d.ts +2 -2
- package/build/types/types/VariantType.d.ts +2 -2
- package/package.json +7 -1
- package/build/types/analysis/ConstructorOverloadResolver.d.ts +0 -31
- package/build/types/analysis/FunctionOverloadResolver.d.ts +0 -21
- package/build/types/analysis/TargetTypeHint.d.ts +0 -5
- package/build/types/common/Errors.d.ts +0 -2
- package/build/types/tree/green/BaseNode.d.ts +0 -14
- package/build/types/tree/green/Utils.d.ts +0 -2
- package/build/types/tree/green/index.d.ts +0 -8
- package/build/types/tree/red/BaseNode.d.ts +0 -16
- package/build/types/tree/red/Internal.d.ts +0 -2
- package/build/types/tree/red/Nodes.d.ts +0 -2271
- package/build/types/tree/red/Token.d.ts +0 -30
- package/build/types/tree/red/index.d.ts +0 -10
- /package/build/types/tree/{red/NodePath.d.ts → NodePath.d.ts} +0 -0
- /package/build/types/tree/{green/SyntaxFactory.d.ts → SyntaxFactory.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-CTEZ5IHI.js";
|
|
5
|
+
import "./chunk-IHZZGWNS.js";
|
|
6
6
|
import {
|
|
7
7
|
__async
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ER3TEZSN.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-IHZZGWNS.js";
|
|
4
4
|
import {
|
|
5
5
|
AccessKind,
|
|
6
6
|
AccessedFunctionValueParameter,
|
|
@@ -61,6 +61,7 @@ import {
|
|
|
61
61
|
DereferencedVariableSetterDeclarationEntity,
|
|
62
62
|
DestructorDeclarationEntity,
|
|
63
63
|
Diagnostic,
|
|
64
|
+
DiagnosticAcceptorWithArgumentFactory,
|
|
64
65
|
DiagnosticCode,
|
|
65
66
|
DiagnosticCollector,
|
|
66
67
|
DiagnosticData,
|
|
@@ -84,6 +85,7 @@ import {
|
|
|
84
85
|
EntityOrPackageNameTreeNode_node,
|
|
85
86
|
EnumerationVariableDeclarationEntity,
|
|
86
87
|
ErrorVariableDeclarationEntity,
|
|
88
|
+
ExpressionAnalysisOptions,
|
|
87
89
|
ExpressionCanBeUsedInForLoopCheckResult,
|
|
88
90
|
ExpressionDenotesFunctionCheckResult,
|
|
89
91
|
ExpressionDenotesOperatorCheckResult,
|
|
@@ -183,7 +185,8 @@ import {
|
|
|
183
185
|
ProgramPackageConfiguration,
|
|
184
186
|
Query,
|
|
185
187
|
Range,
|
|
186
|
-
|
|
188
|
+
RecursiveCachedValueEvaluationError,
|
|
189
|
+
RecursiveLazyValueEvaluationError,
|
|
187
190
|
RequiredJsLibraryConfig,
|
|
188
191
|
RequiredJsLibraryConfigs,
|
|
189
192
|
RequiredPackageConfig,
|
|
@@ -193,6 +196,7 @@ import {
|
|
|
193
196
|
Scanner,
|
|
194
197
|
ShadowReason,
|
|
195
198
|
ShadowedMemberInfo,
|
|
199
|
+
SignatureComparisonOptions,
|
|
196
200
|
SourceFile2 as SourceFile,
|
|
197
201
|
SourceFileMembers,
|
|
198
202
|
SourceMapMode,
|
|
@@ -213,7 +217,6 @@ import {
|
|
|
213
217
|
TagFunction,
|
|
214
218
|
TagType,
|
|
215
219
|
TargetPlatformConfig,
|
|
216
|
-
TargetTypeHint,
|
|
217
220
|
TextFile,
|
|
218
221
|
TextLiteralEntity,
|
|
219
222
|
TextTemplateFunctionTypeParameterSpecialVariableEntityInfo,
|
|
@@ -246,6 +249,7 @@ import {
|
|
|
246
249
|
TypeMemberEntityContainer,
|
|
247
250
|
TypeMemberLookup,
|
|
248
251
|
TypeMemberLookupOptions,
|
|
252
|
+
TypeMemberQuery,
|
|
249
253
|
TypeParameterConstraint,
|
|
250
254
|
UnfinishedIntrinsicAnonymousFunctionTypeEntity,
|
|
251
255
|
UnfinishedIntrinsicAnonymousStructuredTypeEntity,
|
|
@@ -273,14 +277,15 @@ import {
|
|
|
273
277
|
flattenTypeMemberDeclarationList,
|
|
274
278
|
formatString,
|
|
275
279
|
getFileExtension,
|
|
280
|
+
getGenericSpecializationExpressionOfCallee,
|
|
276
281
|
getOrCreateKeywordDictionary,
|
|
277
282
|
getOrCreateKeywordKindDictionary,
|
|
278
283
|
getPackageContainingEntity,
|
|
284
|
+
getParentGenericSpecializationExpression,
|
|
279
285
|
getParentSkippingParenthesizedExpressions,
|
|
280
286
|
getRequiredTypeParameterCount,
|
|
281
287
|
getUnescapedTextFromTextToken,
|
|
282
288
|
getUserLocale,
|
|
283
|
-
green_exports,
|
|
284
289
|
invalidJavaScriptIdentifierCharsRegExp,
|
|
285
290
|
isBinaryOperator,
|
|
286
291
|
isComputedVariableEntity,
|
|
@@ -335,7 +340,7 @@ import {
|
|
|
335
340
|
withoutQuotes,
|
|
336
341
|
withoutTemplateQuotes,
|
|
337
342
|
yieldExecution
|
|
338
|
-
} from "../chunk-
|
|
343
|
+
} from "../chunk-ER3TEZSN.js";
|
|
339
344
|
export {
|
|
340
345
|
AccessKind,
|
|
341
346
|
AccessedFunctionValueParameter,
|
|
@@ -397,6 +402,7 @@ export {
|
|
|
397
402
|
DereferencedVariableSetterDeclarationEntity,
|
|
398
403
|
DestructorDeclarationEntity,
|
|
399
404
|
Diagnostic,
|
|
405
|
+
DiagnosticAcceptorWithArgumentFactory,
|
|
400
406
|
DiagnosticCode,
|
|
401
407
|
DiagnosticCollector,
|
|
402
408
|
DiagnosticData,
|
|
@@ -420,6 +426,7 @@ export {
|
|
|
420
426
|
EntityOrPackageNameTreeNode_node,
|
|
421
427
|
EnumerationVariableDeclarationEntity,
|
|
422
428
|
ErrorVariableDeclarationEntity,
|
|
429
|
+
ExpressionAnalysisOptions,
|
|
423
430
|
ExpressionCanBeUsedInForLoopCheckResult,
|
|
424
431
|
ExpressionDenotesFunctionCheckResult,
|
|
425
432
|
ExpressionDenotesOperatorCheckResult,
|
|
@@ -515,7 +522,8 @@ export {
|
|
|
515
522
|
ProgramPackageConfiguration,
|
|
516
523
|
Query,
|
|
517
524
|
Range,
|
|
518
|
-
|
|
525
|
+
RecursiveCachedValueEvaluationError,
|
|
526
|
+
RecursiveLazyValueEvaluationError,
|
|
519
527
|
RequiredJsLibraryConfig,
|
|
520
528
|
RequiredJsLibraryConfigs,
|
|
521
529
|
RequiredPackageConfig,
|
|
@@ -526,6 +534,7 @@ export {
|
|
|
526
534
|
TokenKind as ScannerTokenKind,
|
|
527
535
|
ShadowReason,
|
|
528
536
|
ShadowedMemberInfo,
|
|
537
|
+
SignatureComparisonOptions,
|
|
529
538
|
SourceFile,
|
|
530
539
|
SourceFileMembers,
|
|
531
540
|
SourceMapMode,
|
|
@@ -546,7 +555,6 @@ export {
|
|
|
546
555
|
TagFunction,
|
|
547
556
|
TagType,
|
|
548
557
|
TargetPlatformConfig,
|
|
549
|
-
TargetTypeHint,
|
|
550
558
|
TextFile,
|
|
551
559
|
TextLiteralEntity,
|
|
552
560
|
TextTemplateFunctionTypeParameterSpecialVariableEntityInfo,
|
|
@@ -578,6 +586,7 @@ export {
|
|
|
578
586
|
TypeMemberEntityContainer,
|
|
579
587
|
TypeMemberLookup,
|
|
580
588
|
TypeMemberLookupOptions,
|
|
589
|
+
TypeMemberQuery,
|
|
581
590
|
TypeParameterConstraint,
|
|
582
591
|
UnfinishedIntrinsicAnonymousFunctionTypeEntity,
|
|
583
592
|
UnfinishedIntrinsicAnonymousStructuredTypeEntity,
|
|
@@ -608,14 +617,15 @@ export {
|
|
|
608
617
|
formatString,
|
|
609
618
|
FileSystemTree_exports as fsTree,
|
|
610
619
|
getFileExtension,
|
|
620
|
+
getGenericSpecializationExpressionOfCallee,
|
|
611
621
|
getOrCreateKeywordDictionary,
|
|
612
622
|
getOrCreateKeywordKindDictionary,
|
|
613
623
|
getPackageContainingEntity,
|
|
624
|
+
getParentGenericSpecializationExpression,
|
|
614
625
|
getParentSkippingParenthesizedExpressions,
|
|
615
626
|
getRequiredTypeParameterCount,
|
|
616
627
|
getUnescapedTextFromTextToken,
|
|
617
628
|
getUserLocale,
|
|
618
|
-
green_exports as green,
|
|
619
629
|
invalidJavaScriptIdentifierCharsRegExp,
|
|
620
630
|
isBinaryOperator,
|
|
621
631
|
isComputedVariableEntity,
|
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-CTEZ5IHI.js";
|
|
10
|
+
import "../chunk-IHZZGWNS.js";
|
|
11
|
+
import "../chunk-ER3TEZSN.js";
|
|
12
12
|
export {
|
|
13
13
|
CommandLineCompiler,
|
|
14
14
|
FileSystemUri,
|