@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.
Files changed (96) hide show
  1. package/build/Cli.js +3 -3
  2. package/build/api/Api.js +12 -6
  3. package/build/api/ApiNodeJS.js +3 -3
  4. package/build/api/ApiServices.js +568 -365
  5. package/build/{chunk-JTDPRR7O.js → chunk-R2AFVF7W.js} +2 -2
  6. package/build/{chunk-JV2EK6MS.js → chunk-SSG7MY2R.js} +1 -1
  7. package/build/{chunk-3JS4YG6N.js → chunk-Y23FSWAN.js} +13016 -14906
  8. package/build/types/analysis/AccessedFunction.d.ts +11 -5
  9. package/build/types/analysis/AnalyzedTranslationPackage.d.ts +2 -1
  10. package/build/types/analysis/Analyzer.d.ts +116 -40
  11. package/build/types/analysis/ArgumentToParameterMatchResult.d.ts +1 -4
  12. package/build/types/analysis/ArgumentsToParametersMatcher.d.ts +9 -15
  13. package/build/types/analysis/AutotypeCallExpressionMeaning.d.ts +12 -6
  14. package/build/types/analysis/BaseExpressionMeaning.d.ts +43 -15
  15. package/build/types/analysis/CallExpressionMeaning.d.ts +41 -22
  16. package/build/types/analysis/ConstructorCallResolver.d.ts +22 -0
  17. package/build/types/analysis/DiagnosticCollector.d.ts +5 -9
  18. package/build/types/analysis/FunctionAccessResolver.d.ts +15 -0
  19. package/build/types/analysis/IdentifierExpressionMeaning.d.ts +56 -22
  20. package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +3 -2
  21. package/build/types/analysis/MemberAccessExpressionMeaning.d.ts +76 -27
  22. package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +0 -1
  23. package/build/types/analysis/NodeTypeUtils.d.ts +1 -0
  24. package/build/types/analysis/ObjectExpressionMeaning.d.ts +1 -0
  25. package/build/types/analysis/OperatorAccessResolver.d.ts +9 -0
  26. package/build/types/analysis/OverloadResolver.d.ts +91 -5
  27. package/build/types/analysis/ReturnTypeInferrer.d.ts +13 -0
  28. package/build/types/analysis/SubstitutedFunction.d.ts +10 -4
  29. package/build/types/analysis/TagMeaning.d.ts +16 -15
  30. package/build/types/analysis/TypeArgumentInferrer.d.ts +49 -0
  31. package/build/types/analysis/TypeNarrower.d.ts +6 -4
  32. package/build/types/analysis/TypeOverloadResolver.d.ts +4 -2
  33. package/build/types/analysis/UserDefinableBinaryOperatorResolver.d.ts +2 -6
  34. package/build/types/analysis/UserDefinableUnaryOperatorResolver.d.ts +2 -2
  35. package/build/types/analysis/Utils.d.ts +2 -0
  36. package/build/types/analysis/index.d.ts +0 -2
  37. package/build/types/analysis/semantic-context/Declarations.d.ts +4 -4
  38. package/build/types/analysis/semantic-context/SemanticContextBuilder.d.ts +1 -0
  39. package/build/types/api/Api.d.ts +0 -2
  40. package/build/types/common/ArrayUtils.d.ts +3 -2
  41. package/build/types/common/Cached.d.ts +2 -0
  42. package/build/types/common/Query.d.ts +1 -1
  43. package/build/types/common/TreeQuery.d.ts +1 -2
  44. package/build/types/diagnostic/Diagnostic.d.ts +7 -0
  45. package/build/types/diagnostic/DiagnosticCode.d.ts +180 -173
  46. package/build/types/entities/AliasTypeEntity.d.ts +1 -0
  47. package/build/types/entities/AliasedType.d.ts +2 -2
  48. package/build/types/entities/FunctionEntity.d.ts +6 -3
  49. package/build/types/entities/FunctionTypeEntity.d.ts +2 -1
  50. package/build/types/entities/PackageAliasEntity.d.ts +2 -2
  51. package/build/types/entities/StructuredTypeEntity.d.ts +1 -0
  52. package/build/types/entities/TypeParameterEntity.d.ts +1 -0
  53. package/build/types/entities/VariableEntity.d.ts +23 -11
  54. package/build/types/entities/VariantTypeEntity.d.ts +1 -0
  55. package/build/types/entities/index.d.ts +2 -1
  56. package/build/types/parser/CharacterCodes.d.ts +0 -8
  57. package/build/types/parser/Parser.d.ts +2 -2
  58. package/build/types/parser/TriviaInterner.d.ts +8 -0
  59. package/build/types/services/AddPropertyAssignmentService.d.ts +0 -7
  60. package/build/types/services/NodeSemanticInfo.d.ts +3 -1
  61. package/build/types/services/TreeUtils.d.ts +1 -1
  62. package/build/types/services/signature-help/SignatureWithValueParameters.d.ts +9 -1
  63. package/build/types/services/signature-help/TypeParameterSignatureHelpProvider.d.ts +1 -1
  64. package/build/types/services/source-generation/EntityToSyntax.d.ts +1 -1
  65. package/build/types/tree/BaseNode.d.ts +26 -0
  66. package/build/types/tree/{green/Nodes.d.ts → Nodes.d.ts} +408 -356
  67. package/build/types/tree/{green/SyntaxToCode.d.ts → SyntaxToCode.d.ts} +1 -1
  68. package/build/types/tree/{green/Token.d.ts → Token.d.ts} +26 -10
  69. package/build/types/tree/{red/Utils.d.ts → Utils.d.ts} +4 -3
  70. package/build/types/tree/index.d.ts +10 -1
  71. package/build/types/ts-interop/Entities.d.ts +14 -0
  72. package/build/types/types/AliasType.d.ts +2 -2
  73. package/build/types/types/FunctionType.d.ts +2 -2
  74. package/build/types/types/IntersectionType.d.ts +2 -2
  75. package/build/types/types/ParameterType.d.ts +2 -2
  76. package/build/types/types/StructuredType.d.ts +2 -2
  77. package/build/types/types/Substitutions.d.ts +2 -2
  78. package/build/types/types/Type.d.ts +3 -3
  79. package/build/types/types/TypeMembers.d.ts +1 -0
  80. package/build/types/types/UnionType.d.ts +2 -2
  81. package/build/types/types/UnresolvedType.d.ts +2 -2
  82. package/build/types/types/VariantType.d.ts +2 -2
  83. package/package.json +1 -1
  84. package/build/types/analysis/ConstructorOverloadResolver.d.ts +0 -31
  85. package/build/types/analysis/FunctionOverloadResolver.d.ts +0 -21
  86. package/build/types/analysis/TargetTypeHint.d.ts +0 -5
  87. package/build/types/tree/green/BaseNode.d.ts +0 -14
  88. package/build/types/tree/green/Utils.d.ts +0 -2
  89. package/build/types/tree/green/index.d.ts +0 -8
  90. package/build/types/tree/red/BaseNode.d.ts +0 -16
  91. package/build/types/tree/red/Internal.d.ts +0 -2
  92. package/build/types/tree/red/Nodes.d.ts +0 -2271
  93. package/build/types/tree/red/Token.d.ts +0 -30
  94. package/build/types/tree/red/index.d.ts +0 -10
  95. /package/build/types/tree/{red/NodePath.d.ts → NodePath.d.ts} +0 -0
  96. /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-JTDPRR7O.js";
5
- import "./chunk-JV2EK6MS.js";
4
+ } from "./chunk-R2AFVF7W.js";
5
+ import "./chunk-SSG7MY2R.js";
6
6
  import {
7
7
  __async
8
- } from "./chunk-3JS4YG6N.js";
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-JV2EK6MS.js";
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-3JS4YG6N.js";
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,
@@ -6,9 +6,9 @@ import {
6
6
  PhysicalFileSystem,
7
7
  PhysicalTypeScriptLibrariesProvider,
8
8
  PrintingDiagnosticAcceptor
9
- } from "../chunk-JTDPRR7O.js";
10
- import "../chunk-JV2EK6MS.js";
11
- import "../chunk-3JS4YG6N.js";
9
+ } from "../chunk-R2AFVF7W.js";
10
+ import "../chunk-SSG7MY2R.js";
11
+ import "../chunk-Y23FSWAN.js";
12
12
  export {
13
13
  CommandLineCompiler,
14
14
  FileSystemUri,