@artel/artc 0.6.25223 → 0.6.25225

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 +85 -79
  3. package/build/api/ApiNodeJS.js +3 -3
  4. package/build/api/ApiServices.js +797 -674
  5. package/build/{chunk-DZNNWICP.js → chunk-TFTCV5R5.js} +6604 -5875
  6. package/build/{chunk-AX3LQ2CF.js → chunk-UB6LHKS5.js} +3 -3
  7. package/build/{chunk-LG4Z4SWO.js → chunk-Z6TZA6SN.js} +3 -3
  8. package/build/types/analysis/AccessedFunction.d.ts +53 -0
  9. package/build/types/analysis/AnalyzedTranslationPackage.d.ts +16 -15
  10. package/build/types/analysis/Analyzer.d.ts +142 -127
  11. package/build/types/analysis/CallExpressionMeaning.d.ts +10 -10
  12. package/build/types/analysis/DiagnosticCollector.d.ts +17 -17
  13. package/build/types/analysis/EntityLocalizationHelper.d.ts +6 -6
  14. package/build/types/analysis/IdentifierExpressionMeaning.d.ts +10 -10
  15. package/build/types/analysis/ImportedPackageNameTree.d.ts +1 -0
  16. package/build/types/analysis/LocalizationContext.d.ts +2 -2
  17. package/build/types/analysis/{PropertyAccessExpressionMeaning.d.ts → MemberAccessExpressionMeaning.d.ts} +27 -21
  18. package/build/types/analysis/NamedTypeResolver.d.ts +5 -1
  19. package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +4 -1
  20. package/build/types/analysis/NodeTypeUtils.d.ts +13 -13
  21. package/build/types/analysis/OperationOverloadResolver.d.ts +1 -1
  22. package/build/types/analysis/Scope.d.ts +15 -15
  23. package/build/types/analysis/SemanticContext.d.ts +29 -29
  24. package/build/types/analysis/SemanticContextBuilder.d.ts +22 -22
  25. package/build/types/analysis/SourceFileMembers.d.ts +2 -2
  26. package/build/types/analysis/StatementBlockScopeBuilder.d.ts +12 -12
  27. package/build/types/analysis/{SubstitutedMethod.d.ts → SubstitutedFunction.d.ts} +14 -14
  28. package/build/types/analysis/TagMeaning.d.ts +23 -20
  29. package/build/types/analysis/Tags.d.ts +6 -6
  30. package/build/types/analysis/TypeNarrower.d.ts +21 -21
  31. package/build/types/analysis/Utils.d.ts +15 -3
  32. package/build/types/analysis/WellKnownDeclarations.d.ts +4 -4
  33. package/build/types/analysis/control-flow/GraphBuilder.d.ts +43 -0
  34. package/build/types/analysis/{ControlFlowGraphVisualizer.d.ts → control-flow/GraphVisualizer.d.ts} +3 -3
  35. package/build/types/analysis/control-flow/NarrowableExpression.d.ts +5 -0
  36. package/build/types/analysis/control-flow/Nodes.d.ts +91 -0
  37. package/build/types/analysis/control-flow/index.d.ts +4 -0
  38. package/build/types/api/Api.d.ts +3 -3
  39. package/build/types/common/HelperPhrases.d.ts +3 -2
  40. package/build/types/diagnostic/DiagnosticCode.d.ts +130 -131
  41. package/build/types/emitter/EmitPhaseName.d.ts +8 -8
  42. package/build/types/emitter/Emitter.d.ts +4 -4
  43. package/build/types/emitter/EmitterContext.d.ts +2 -2
  44. package/build/types/emitter/Entities.d.ts +31 -29
  45. package/build/types/emitter/EntityMap.d.ts +8 -8
  46. package/build/types/emitter/IrBuilder.d.ts +18 -18
  47. package/build/types/emitter/IrToJs.d.ts +9 -9
  48. package/build/types/emitter/Transformer.d.ts +37 -37
  49. package/build/types/emitter/ir/AccessedEntities.d.ts +5 -5
  50. package/build/types/emitter/ir/ComputedAccess.d.ts +5 -5
  51. package/build/types/emitter/ir/EmitOptions.d.ts +41 -27
  52. package/build/types/emitter/ir/Nodes.d.ts +141 -140
  53. package/build/types/emitter/ir/types.d.ts +8 -8
  54. package/build/types/entities/ConstructorEntity.d.ts +9 -9
  55. package/build/types/entities/DereferenceOperatorEntity.d.ts +4 -4
  56. package/build/types/entities/DestructorEntity.d.ts +4 -4
  57. package/build/types/entities/{MethodEntity.d.ts → FunctionEntity.d.ts} +36 -36
  58. package/build/types/entities/{MethodTypeEntity.d.ts → FunctionTypeEntity.d.ts} +23 -23
  59. package/build/types/entities/GetterEntity.d.ts +9 -9
  60. package/build/types/entities/IndexerEntity.d.ts +4 -4
  61. package/build/types/entities/SetterEntity.d.ts +9 -9
  62. package/build/types/entities/TypeEntity.d.ts +3 -3
  63. package/build/types/entities/TypeEntityMembers.d.ts +3 -3
  64. package/build/types/entities/TypeParameterEntity.d.ts +2 -2
  65. package/build/types/entities/VariableEntity.d.ts +32 -32
  66. package/build/types/entities/index.d.ts +14 -14
  67. package/build/types/services/CompletionService.d.ts +8 -9
  68. package/build/types/services/DisplayService.d.ts +72 -69
  69. package/build/types/services/HoverService.d.ts +1 -1
  70. package/build/types/services/NodeSemanticInfo.d.ts +26 -21
  71. package/build/types/services/SemanticTokensService.d.ts +6 -6
  72. package/build/types/services/SourceFileItemsService.d.ts +11 -11
  73. package/build/types/services/TypeDefinitionService.d.ts +2 -2
  74. package/build/types/services/signature-help/SignatureWithValueParameters.d.ts +10 -10
  75. package/build/types/services/signature-help/TypeParameterSignatureHelpProvider.d.ts +1 -1
  76. package/build/types/services/source-generation/EntityToSyntax.d.ts +10 -9
  77. package/build/types/tree/NodeKind.d.ts +27 -27
  78. package/build/types/tree/green/Nodes.d.ts +127 -128
  79. package/build/types/tree/green/SyntaxFactory.d.ts +20 -19
  80. package/build/types/tree/green/SyntaxToCode.d.ts +23 -21
  81. package/build/types/tree/red/Nodes.d.ts +173 -172
  82. package/build/types/ts-interop/Entities.d.ts +28 -28
  83. package/build/types/ts-interop/TsInteropContext.d.ts +2 -1
  84. package/build/types/ts-interop/TsPackageMembersCreator.d.ts +1 -1
  85. package/build/types/ts-interop/TsTypeMembersCreator.d.ts +1 -1
  86. package/build/types/types/{MethodType.d.ts → FunctionType.d.ts} +6 -6
  87. package/build/types/types/IntersectionType.d.ts +20 -0
  88. package/build/types/types/ParameterType.d.ts +6 -3
  89. package/build/types/types/StandardTypes.d.ts +2 -2
  90. package/build/types/types/Type.d.ts +3 -2
  91. package/build/types/types/TypeFactory.d.ts +8 -6
  92. package/build/types/types/TypeMembers.d.ts +8 -8
  93. package/build/types/types/index.d.ts +2 -1
  94. package/package.json +1 -1
  95. package/build/types/analysis/AccessedMethod.d.ts +0 -53
  96. package/build/types/analysis/ControlFlowGraphBuilder.d.ts +0 -129
@@ -8,15 +8,15 @@ export declare enum NodeKind {
8
8
  PackageGroupImportDirective = 6,
9
9
  PackageImportList = 7,
10
10
  PackageImport = 8,
11
- PackagePath = 9,
11
+ PackageName = 9,
12
12
  NamedTypeSpecifier = 10,
13
13
  UnionTypeSpecifier = 11,
14
- UnionTypeSpecifierTypeList = 12,
14
+ IntersectionTypeSpecifier = 12,
15
15
  ParenthesizedTypeSpecifier = 13,
16
16
  NullableTypeSpecifier = 14,
17
17
  AnonymousTypeSpecifier = 15,
18
18
  InvalidTypeSpecifier = 16,
19
- AnonymousMethodTypeDeclaration = 17,
19
+ AnonymousFunctionTypeDeclaration = 17,
20
20
  AnonymousStructuredTypeDeclaration = 18,
21
21
  AnonymousVariantTypeDeclaration = 19,
22
22
  TopLevelTranslationList = 20,
@@ -26,9 +26,9 @@ export declare enum NodeKind {
26
26
  PackageMemberGroupDeclaration = 24,
27
27
  PackageConstructorDeclaration = 25,
28
28
  PackageEntryPointDeclaration = 26,
29
- PackageMethodDeclaration = 27,
30
- PackageMethodTypeDeclaration = 28,
31
- MethodTypeDeclarationBody = 29,
29
+ PackageFunctionDeclaration = 27,
30
+ PackageFunctionTypeDeclaration = 28,
31
+ FunctionTypeDeclarationBody = 29,
32
32
  BaseTypeList = 30,
33
33
  TypeMemberDeclarationList = 31,
34
34
  TypeMemberDeclarationBlock = 32,
@@ -44,20 +44,20 @@ export declare enum NodeKind {
44
44
  ExtendedTypeClause = 42,
45
45
  InvalidPackageMemberDeclaration = 43,
46
46
  TypeMemberGroupDeclaration = 44,
47
- TypeConstructorDeclaration = 45,
48
- TypeDestructorDeclaration = 46,
49
- TypeIndexedGetterDeclaration = 47,
50
- TypeIndexedSetterDeclaration = 48,
51
- TypeIndexerParameterClause = 49,
52
- TypeDereferencedVariableGetterDeclaration = 50,
53
- TypeDereferencedVariableSetterDeclaration = 51,
54
- TypeMethodDeclaration = 52,
47
+ ConstructorDeclaration = 45,
48
+ DestructorDeclaration = 46,
49
+ IndexedElementGetterDeclaration = 47,
50
+ IndexedElementSetterDeclaration = 48,
51
+ IndexParameterClause = 49,
52
+ DereferencedVariableGetterDeclaration = 50,
53
+ DereferencedVariableSetterDeclaration = 51,
54
+ MethodDeclaration = 52,
55
55
  OperatorDeclaration = 53,
56
- TypeVariableDeclaration = 54,
57
- TypeVariableGetterDeclaration = 55,
58
- TypeVariableSetterDeclaration = 56,
56
+ FieldDeclaration = 54,
57
+ FieldGetterDeclaration = 55,
58
+ FieldSetterDeclaration = 56,
59
59
  InvalidTypeMemberDeclaration = 57,
60
- NestedMethodDeclaration = 58,
60
+ NestedFunctionDeclaration = 58,
61
61
  LocalVariableDeclaration = 59,
62
62
  EnumerationVariableDeclaration = 60,
63
63
  ArrayLiteral = 61,
@@ -66,18 +66,18 @@ export declare enum NodeKind {
66
66
  AssumptionExpression = 64,
67
67
  AsExpression = 65,
68
68
  BinaryExpression = 66,
69
- MethodBlockLiteral = 67,
69
+ FunctionBlockLiteral = 67,
70
70
  ArgumentList = 68,
71
71
  CallExpression = 69,
72
72
  AutotypeCallExpression = 70,
73
73
  IndexedAccessExpression = 71,
74
74
  InvalidExpression = 72,
75
75
  IsExpression = 73,
76
- MethodLiteral = 74,
76
+ FunctionLiteral = 74,
77
77
  ParenthesizedExpression = 75,
78
78
  WhenTernaryExpression = 76,
79
79
  PrefixUnaryExpression = 77,
80
- PropertyAccessExpression = 78,
80
+ MemberAccessExpression = 78,
81
81
  ReferenceExpression = 79,
82
82
  DereferenceExpression = 80,
83
83
  TextTemplateLiteral = 81,
@@ -113,7 +113,7 @@ export declare enum NodeKind {
113
113
  ElseIfClause = 111,
114
114
  ElseClause = 112,
115
115
  InvalidStatement = 113,
116
- NestedMethodDeclarationStatement = 114,
116
+ NestedFunctionDeclarationStatement = 114,
117
117
  LocalVariableDeclarationStatement = 115,
118
118
  LoopStatement = 116,
119
119
  ReturnStatement = 117,
@@ -126,17 +126,17 @@ export declare enum NodeKind {
126
126
  TranslationParameterList = 124,
127
127
  TranslationParameterClause = 125,
128
128
  ConstructorTranslation = 126,
129
- IndexerTranslationParameterClause = 127,
129
+ IndexParameterTranslationClause = 127,
130
130
  IndexerTranslation = 128,
131
131
  TranslationTypeParameterList = 129,
132
132
  TranslationTypeParameterClause = 130,
133
- PackageMethodTranslation = 131,
134
- TypeMethodTranslation = 132,
135
- MethodTypeTranslation = 133,
133
+ PackageFunctionTranslation = 131,
134
+ MethodTranslation = 132,
135
+ FunctionTypeTranslation = 133,
136
136
  PackageImportTranslation = 134,
137
137
  QualifiedName = 135,
138
138
  PackageVariableTranslation = 136,
139
- TypeVariableOrVariantTranslation = 137,
139
+ FieldOrVariantTranslation = 137,
140
140
  TypeMemberTranslationList = 138,
141
141
  TypeTranslation = 139,
142
142
  TextLiteralTranslation = 140,