@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.
Files changed (108) hide show
  1. package/build/Cli.js +3 -3
  2. package/build/api/Api.js +18 -8
  3. package/build/api/ApiNodeJS.js +3 -3
  4. package/build/api/ApiServices.js +607 -389
  5. package/build/{chunk-JTDPRR7O.js → chunk-CTEZ5IHI.js} +2 -2
  6. package/build/{chunk-3JS4YG6N.js → chunk-ER3TEZSN.js} +14316 -16033
  7. package/build/{chunk-JV2EK6MS.js → chunk-IHZZGWNS.js} +1 -1
  8. package/build/types/analysis/AccessedFunction.d.ts +19 -6
  9. package/build/types/analysis/AnalyzedTranslationPackage.d.ts +2 -1
  10. package/build/types/analysis/Analyzer.d.ts +119 -47
  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 +13 -7
  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/DiagnosticArgumentFactory.d.ts +3 -1
  18. package/build/types/analysis/DiagnosticCollector.d.ts +5 -9
  19. package/build/types/analysis/DisplayableEntity.d.ts +12 -6
  20. package/build/types/analysis/FunctionAccessResolver.d.ts +15 -0
  21. package/build/types/analysis/IdentifierExpressionMeaning.d.ts +56 -22
  22. package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +3 -2
  23. package/build/types/analysis/MemberAccessExpressionMeaning.d.ts +76 -27
  24. package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +0 -1
  25. package/build/types/analysis/NodeTypeUtils.d.ts +1 -0
  26. package/build/types/analysis/ObjectExpressionMeaning.d.ts +1 -0
  27. package/build/types/analysis/OperatorAccessResolver.d.ts +9 -0
  28. package/build/types/analysis/OverloadResolver.d.ts +91 -5
  29. package/build/types/analysis/ReturnTypeInferrer.d.ts +13 -0
  30. package/build/types/analysis/SourceFileMembers.d.ts +2 -0
  31. package/build/types/analysis/SubstitutedFunction.d.ts +22 -20
  32. package/build/types/analysis/TagMeaning.d.ts +16 -15
  33. package/build/types/analysis/TypeArgumentInferrer.d.ts +49 -0
  34. package/build/types/analysis/TypeNarrower.d.ts +6 -4
  35. package/build/types/analysis/TypeOverloadResolver.d.ts +4 -2
  36. package/build/types/analysis/UserDefinableBinaryOperatorResolver.d.ts +2 -6
  37. package/build/types/analysis/UserDefinableUnaryOperatorResolver.d.ts +2 -2
  38. package/build/types/analysis/Utils.d.ts +2 -0
  39. package/build/types/analysis/Visitor.d.ts +2 -2
  40. package/build/types/analysis/index.d.ts +0 -2
  41. package/build/types/analysis/semantic-context/Declarations.d.ts +4 -4
  42. package/build/types/analysis/semantic-context/SemanticContextBase.d.ts +4 -0
  43. package/build/types/analysis/semantic-context/SemanticContextBuilder.d.ts +1 -0
  44. package/build/types/api/Api.d.ts +0 -2
  45. package/build/types/common/ArrayUtils.d.ts +5 -2
  46. package/build/types/common/Cached.d.ts +4 -0
  47. package/build/types/common/Lazy.d.ts +2 -0
  48. package/build/types/common/Query.d.ts +1 -1
  49. package/build/types/common/TreeQuery.d.ts +14 -48
  50. package/build/types/common/TreeTraversal.d.ts +1 -1
  51. package/build/types/common/index.d.ts +0 -1
  52. package/build/types/diagnostic/Diagnostic.d.ts +7 -0
  53. package/build/types/diagnostic/DiagnosticCode.d.ts +180 -173
  54. package/build/types/entities/AliasTypeEntity.d.ts +1 -0
  55. package/build/types/entities/AliasedType.d.ts +2 -2
  56. package/build/types/entities/FunctionEntity.d.ts +6 -3
  57. package/build/types/entities/FunctionTypeEntity.d.ts +2 -1
  58. package/build/types/entities/PackageAliasEntity.d.ts +2 -2
  59. package/build/types/entities/PackageMembers.d.ts +1 -0
  60. package/build/types/entities/StructuredTypeEntity.d.ts +1 -0
  61. package/build/types/entities/TypeEntityMembers.d.ts +2 -0
  62. package/build/types/entities/TypeParameterEntity.d.ts +1 -0
  63. package/build/types/entities/VariableEntity.d.ts +23 -11
  64. package/build/types/entities/VariantTypeEntity.d.ts +1 -0
  65. package/build/types/entities/index.d.ts +3 -2
  66. package/build/types/parser/CharacterCodes.d.ts +0 -8
  67. package/build/types/parser/Parser.d.ts +2 -2
  68. package/build/types/parser/TriviaInterner.d.ts +8 -0
  69. package/build/types/services/AddPropertyAssignmentService.d.ts +0 -7
  70. package/build/types/services/DisplayService.d.ts +16 -10
  71. package/build/types/services/NodeSemanticInfo.d.ts +3 -1
  72. package/build/types/services/TreeUtils.d.ts +1 -1
  73. package/build/types/services/signature-help/SignatureWithValueParameters.d.ts +9 -1
  74. package/build/types/services/signature-help/TypeParameterSignatureHelpProvider.d.ts +1 -1
  75. package/build/types/services/source-generation/EntityToSyntax.d.ts +1 -1
  76. package/build/types/tree/BaseNode.d.ts +32 -0
  77. package/build/types/tree/{green/Nodes.d.ts → Nodes.d.ts} +411 -359
  78. package/build/types/tree/{green/SyntaxToCode.d.ts → SyntaxToCode.d.ts} +1 -1
  79. package/build/types/tree/{green/Token.d.ts → Token.d.ts} +26 -10
  80. package/build/types/tree/{red/Utils.d.ts → Utils.d.ts} +4 -3
  81. package/build/types/tree/index.d.ts +10 -1
  82. package/build/types/ts-interop/Entities.d.ts +14 -0
  83. package/build/types/types/AliasType.d.ts +2 -2
  84. package/build/types/types/FunctionType.d.ts +2 -2
  85. package/build/types/types/IntersectionType.d.ts +3 -3
  86. package/build/types/types/ParameterType.d.ts +2 -2
  87. package/build/types/types/StructuredType.d.ts +2 -2
  88. package/build/types/types/Substitutions.d.ts +18 -6
  89. package/build/types/types/Type.d.ts +3 -3
  90. package/build/types/types/TypeMembers.d.ts +2 -1
  91. package/build/types/types/UnionType.d.ts +3 -3
  92. package/build/types/types/UnresolvedType.d.ts +2 -2
  93. package/build/types/types/VariantType.d.ts +2 -2
  94. package/package.json +7 -1
  95. package/build/types/analysis/ConstructorOverloadResolver.d.ts +0 -31
  96. package/build/types/analysis/FunctionOverloadResolver.d.ts +0 -21
  97. package/build/types/analysis/TargetTypeHint.d.ts +0 -5
  98. package/build/types/common/Errors.d.ts +0 -2
  99. package/build/types/tree/green/BaseNode.d.ts +0 -14
  100. package/build/types/tree/green/Utils.d.ts +0 -2
  101. package/build/types/tree/green/index.d.ts +0 -8
  102. package/build/types/tree/red/BaseNode.d.ts +0 -16
  103. package/build/types/tree/red/Internal.d.ts +0 -2
  104. package/build/types/tree/red/Nodes.d.ts +0 -2271
  105. package/build/types/tree/red/Token.d.ts +0 -30
  106. package/build/types/tree/red/index.d.ts +0 -10
  107. /package/build/types/tree/{red/NodePath.d.ts → NodePath.d.ts} +0 -0
  108. /package/build/types/tree/{green/SyntaxFactory.d.ts → SyntaxFactory.d.ts} +0 -0
@@ -1,30 +0,0 @@
1
- import { Range } from '../../common/index.js';
2
- import * as green from '../green/index.js';
3
- import { TokenKind, TriviaKind } from '../index.js';
4
- import { BaseNode } from './BaseNode.js';
5
- import { Node, NodeKind, OperatorKind, TokenFlags } from './index.js';
6
- export type TokenParent = Node;
7
- export declare class Token<TKind extends TokenKind = TokenKind> extends BaseNode {
8
- readonly kind = NodeKind.Token;
9
- readonly green: green.Token<TKind>;
10
- readonly parent: TokenParent;
11
- readonly children: never[];
12
- get tokenKind(): TKind;
13
- get value(): string;
14
- get flags(): TokenFlags;
15
- get isMissing(): boolean;
16
- get ifOperatorNameThenKind(): OperatorKind | undefined;
17
- get rangeWithoutTrivia(): Range;
18
- protected get thisAsNode(): Node;
19
- constructor(green: green.Token<TKind>, rangeStart: number, parent: TokenParent);
20
- getLeadingTrivia(): readonly Trivia[];
21
- }
22
- export declare class Trivia {
23
- readonly green: green.Trivia;
24
- readonly rangeStart: number;
25
- readonly parent: Token;
26
- get kind(): TriviaKind;
27
- get value(): string;
28
- get range(): Range;
29
- constructor(green: green.Trivia, rangeStart: number, parent: Token);
30
- }
@@ -1,10 +0,0 @@
1
- export { TokenFlags } from '../green/index.js';
2
- export * from '../KeywordKind.js';
3
- export * from '../NodeKind.js';
4
- export * from '../OperatorKind.js';
5
- export * from '../TokenKind.js';
6
- export * from '../TriviaKind.js';
7
- export * from './NodePath.js';
8
- export * from './Nodes.js';
9
- export * from './Token.js';
10
- export * from './Utils.js';