@artel/artc 0.6.25254 → 0.6.25255
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 +12 -6
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +568 -365
- package/build/{chunk-JTDPRR7O.js → chunk-R2AFVF7W.js} +2 -2
- package/build/{chunk-JV2EK6MS.js → chunk-SSG7MY2R.js} +1 -1
- package/build/{chunk-3JS4YG6N.js → chunk-Y23FSWAN.js} +13016 -14906
- package/build/types/analysis/AccessedFunction.d.ts +11 -5
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +2 -1
- package/build/types/analysis/Analyzer.d.ts +116 -40
- 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 +12 -6
- 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/DiagnosticCollector.d.ts +5 -9
- 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/SubstitutedFunction.d.ts +10 -4
- 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/index.d.ts +0 -2
- package/build/types/analysis/semantic-context/Declarations.d.ts +4 -4
- 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 +3 -2
- package/build/types/common/Cached.d.ts +2 -0
- package/build/types/common/Query.d.ts +1 -1
- package/build/types/common/TreeQuery.d.ts +1 -2
- 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/StructuredTypeEntity.d.ts +1 -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 +2 -1
- 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/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 +26 -0
- package/build/types/tree/{green/Nodes.d.ts → Nodes.d.ts} +408 -356
- 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 +2 -2
- 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 +2 -2
- package/build/types/types/Type.d.ts +3 -3
- package/build/types/types/TypeMembers.d.ts +1 -0
- package/build/types/types/UnionType.d.ts +2 -2
- package/build/types/types/UnresolvedType.d.ts +2 -2
- package/build/types/types/VariantType.d.ts +2 -2
- package/package.json +1 -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/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-R2AFVF7W.js";
|
|
5
|
+
import "./chunk-SSG7MY2R.js";
|
|
6
6
|
import {
|
|
7
7
|
__async
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Y23FSWAN.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-SSG7MY2R.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,
|
|
@@ -104,6 +105,7 @@ import {
|
|
|
104
105
|
IndexedElementGetterDeclarationEntity,
|
|
105
106
|
IndexedElementSetterDeclarationEntity,
|
|
106
107
|
IndexerDeclarationEntity,
|
|
108
|
+
InferenceOptions,
|
|
107
109
|
InterfacePackageEntityInfo,
|
|
108
110
|
Interner,
|
|
109
111
|
IntrinsicConstructorEntity,
|
|
@@ -193,6 +195,7 @@ import {
|
|
|
193
195
|
Scanner,
|
|
194
196
|
ShadowReason,
|
|
195
197
|
ShadowedMemberInfo,
|
|
198
|
+
SignatureComparisonOptions,
|
|
196
199
|
SourceFile2 as SourceFile,
|
|
197
200
|
SourceFileMembers,
|
|
198
201
|
SourceMapMode,
|
|
@@ -213,7 +216,6 @@ import {
|
|
|
213
216
|
TagFunction,
|
|
214
217
|
TagType,
|
|
215
218
|
TargetPlatformConfig,
|
|
216
|
-
TargetTypeHint,
|
|
217
219
|
TextFile,
|
|
218
220
|
TextLiteralEntity,
|
|
219
221
|
TextTemplateFunctionTypeParameterSpecialVariableEntityInfo,
|
|
@@ -273,14 +275,15 @@ import {
|
|
|
273
275
|
flattenTypeMemberDeclarationList,
|
|
274
276
|
formatString,
|
|
275
277
|
getFileExtension,
|
|
278
|
+
getGenericSpecializationExpressionOfCallee,
|
|
276
279
|
getOrCreateKeywordDictionary,
|
|
277
280
|
getOrCreateKeywordKindDictionary,
|
|
278
281
|
getPackageContainingEntity,
|
|
282
|
+
getParentGenericSpecializationExpression,
|
|
279
283
|
getParentSkippingParenthesizedExpressions,
|
|
280
284
|
getRequiredTypeParameterCount,
|
|
281
285
|
getUnescapedTextFromTextToken,
|
|
282
286
|
getUserLocale,
|
|
283
|
-
green_exports,
|
|
284
287
|
invalidJavaScriptIdentifierCharsRegExp,
|
|
285
288
|
isBinaryOperator,
|
|
286
289
|
isComputedVariableEntity,
|
|
@@ -335,7 +338,7 @@ import {
|
|
|
335
338
|
withoutQuotes,
|
|
336
339
|
withoutTemplateQuotes,
|
|
337
340
|
yieldExecution
|
|
338
|
-
} from "../chunk-
|
|
341
|
+
} from "../chunk-Y23FSWAN.js";
|
|
339
342
|
export {
|
|
340
343
|
AccessKind,
|
|
341
344
|
AccessedFunctionValueParameter,
|
|
@@ -397,6 +400,7 @@ export {
|
|
|
397
400
|
DereferencedVariableSetterDeclarationEntity,
|
|
398
401
|
DestructorDeclarationEntity,
|
|
399
402
|
Diagnostic,
|
|
403
|
+
DiagnosticAcceptorWithArgumentFactory,
|
|
400
404
|
DiagnosticCode,
|
|
401
405
|
DiagnosticCollector,
|
|
402
406
|
DiagnosticData,
|
|
@@ -439,6 +443,7 @@ export {
|
|
|
439
443
|
IndexedElementGetterDeclarationEntity,
|
|
440
444
|
IndexedElementSetterDeclarationEntity,
|
|
441
445
|
IndexerDeclarationEntity,
|
|
446
|
+
InferenceOptions,
|
|
442
447
|
InterfacePackageEntityInfo,
|
|
443
448
|
Interner,
|
|
444
449
|
IntrinsicConstructorEntity,
|
|
@@ -526,6 +531,7 @@ export {
|
|
|
526
531
|
TokenKind as ScannerTokenKind,
|
|
527
532
|
ShadowReason,
|
|
528
533
|
ShadowedMemberInfo,
|
|
534
|
+
SignatureComparisonOptions,
|
|
529
535
|
SourceFile,
|
|
530
536
|
SourceFileMembers,
|
|
531
537
|
SourceMapMode,
|
|
@@ -546,7 +552,6 @@ export {
|
|
|
546
552
|
TagFunction,
|
|
547
553
|
TagType,
|
|
548
554
|
TargetPlatformConfig,
|
|
549
|
-
TargetTypeHint,
|
|
550
555
|
TextFile,
|
|
551
556
|
TextLiteralEntity,
|
|
552
557
|
TextTemplateFunctionTypeParameterSpecialVariableEntityInfo,
|
|
@@ -608,14 +613,15 @@ export {
|
|
|
608
613
|
formatString,
|
|
609
614
|
FileSystemTree_exports as fsTree,
|
|
610
615
|
getFileExtension,
|
|
616
|
+
getGenericSpecializationExpressionOfCallee,
|
|
611
617
|
getOrCreateKeywordDictionary,
|
|
612
618
|
getOrCreateKeywordKindDictionary,
|
|
613
619
|
getPackageContainingEntity,
|
|
620
|
+
getParentGenericSpecializationExpression,
|
|
614
621
|
getParentSkippingParenthesizedExpressions,
|
|
615
622
|
getRequiredTypeParameterCount,
|
|
616
623
|
getUnescapedTextFromTextToken,
|
|
617
624
|
getUserLocale,
|
|
618
|
-
green_exports as green,
|
|
619
625
|
invalidJavaScriptIdentifierCharsRegExp,
|
|
620
626
|
isBinaryOperator,
|
|
621
627
|
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-R2AFVF7W.js";
|
|
10
|
+
import "../chunk-SSG7MY2R.js";
|
|
11
|
+
import "../chunk-Y23FSWAN.js";
|
|
12
12
|
export {
|
|
13
13
|
CommandLineCompiler,
|
|
14
14
|
FileSystemUri,
|