@artel/artc 0.6.25191

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 (281) hide show
  1. package/build/Cli.js +20 -0
  2. package/build/api/Api.js +664 -0
  3. package/build/api/ApiNodeJS.js +20 -0
  4. package/build/api/ApiServices.js +12847 -0
  5. package/build/chunk-BQHCAH6D.js +588 -0
  6. package/build/chunk-O2JKESUU.js +63219 -0
  7. package/build/chunk-QRBDQKYM.js +94 -0
  8. package/build/types/Cli.d.ts +3 -0
  9. package/build/types/analysis/AccessedMethod.d.ts +53 -0
  10. package/build/types/analysis/AnalyzedTranslationPackage.d.ts +191 -0
  11. package/build/types/analysis/Analyzer.d.ts +665 -0
  12. package/build/types/analysis/AutotypeCallExpressionMeaning.d.ts +25 -0
  13. package/build/types/analysis/BaseExpressionMeaning.d.ts +47 -0
  14. package/build/types/analysis/BuiltInOperators.d.ts +14 -0
  15. package/build/types/analysis/CallArgumentToParameterMatchResult.d.ts +30 -0
  16. package/build/types/analysis/CallArgumentsToParametersMatcher.d.ts +44 -0
  17. package/build/types/analysis/CallExpressionMeaning.d.ts +39 -0
  18. package/build/types/analysis/ConstructorOverloadResolver.d.ts +34 -0
  19. package/build/types/analysis/DeclarationsUsageCounter.d.ts +18 -0
  20. package/build/types/analysis/DereferenceExpressionMeaning.d.ts +23 -0
  21. package/build/types/analysis/DiagnosticCollector.d.ts +68 -0
  22. package/build/types/analysis/EntityLocalizationHelper.d.ts +15 -0
  23. package/build/types/analysis/FindModifier.d.ts +4 -0
  24. package/build/types/analysis/FoundDeclaration.d.ts +19 -0
  25. package/build/types/analysis/IdentifierExpressionMeaning.d.ts +98 -0
  26. package/build/types/analysis/ImportedPackageNameTree.d.ts +22 -0
  27. package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +26 -0
  28. package/build/types/analysis/IndexerAccess.d.ts +10 -0
  29. package/build/types/analysis/Localization.d.ts +54 -0
  30. package/build/types/analysis/LocalizationContext.d.ts +15 -0
  31. package/build/types/analysis/Lookup.d.ts +23 -0
  32. package/build/types/analysis/NamedTypeResolver.d.ts +42 -0
  33. package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +20 -0
  34. package/build/types/analysis/NodeTypeUtils.d.ts +28 -0
  35. package/build/types/analysis/ObjectExpressionMeaning.d.ts +38 -0
  36. package/build/types/analysis/OperationOverloadResolver.d.ts +19 -0
  37. package/build/types/analysis/OverloadResolver.d.ts +12 -0
  38. package/build/types/analysis/PackageMemberLookup.d.ts +15 -0
  39. package/build/types/analysis/PrefixUnaryOperatorResolver.d.ts +27 -0
  40. package/build/types/analysis/PropertyAccessExpressionMeaning.d.ts +100 -0
  41. package/build/types/analysis/Scope.d.ts +309 -0
  42. package/build/types/analysis/SemanticContext.d.ts +320 -0
  43. package/build/types/analysis/SemanticContextBuilder.d.ts +54 -0
  44. package/build/types/analysis/SourceFileMembers.d.ts +92 -0
  45. package/build/types/analysis/SourcePackageDependencyGraph.d.ts +41 -0
  46. package/build/types/analysis/SourcePackageMembersCreator.d.ts +6 -0
  47. package/build/types/analysis/StatementBlockScopeBuilder.d.ts +22 -0
  48. package/build/types/analysis/SubstitutedMethod.d.ts +49 -0
  49. package/build/types/analysis/TagMeaning.d.ts +26 -0
  50. package/build/types/analysis/Tags.d.ts +29 -0
  51. package/build/types/analysis/TargetTypeHint.d.ts +5 -0
  52. package/build/types/analysis/TypeInferrer.d.ts +9 -0
  53. package/build/types/analysis/TypeMemberLookup.d.ts +27 -0
  54. package/build/types/analysis/TypeOverloadResolver.d.ts +7 -0
  55. package/build/types/analysis/UserDefinableBinaryOperatorResolver.d.ts +37 -0
  56. package/build/types/analysis/Utils.d.ts +17 -0
  57. package/build/types/analysis/VariableAccess.d.ts +10 -0
  58. package/build/types/analysis/VariantLookup.d.ts +20 -0
  59. package/build/types/analysis/Visitor.d.ts +7 -0
  60. package/build/types/analysis/WellKnownDeclarations.d.ts +34 -0
  61. package/build/types/analysis/index.d.ts +8 -0
  62. package/build/types/api/Api.d.ts +59 -0
  63. package/build/types/api/ApiNodeJS.d.ts +5 -0
  64. package/build/types/api/ApiServices.d.ts +3 -0
  65. package/build/types/common/AccessKind.d.ts +4 -0
  66. package/build/types/common/ArtelFileCheck.d.ts +2 -0
  67. package/build/types/common/Cached.d.ts +6 -0
  68. package/build/types/common/CancellationToken.d.ts +13 -0
  69. package/build/types/common/Constants.d.ts +19 -0
  70. package/build/types/common/Debug.d.ts +10 -0
  71. package/build/types/common/Delayed.d.ts +7 -0
  72. package/build/types/common/ErrorHandlingStrategy.d.ts +3 -0
  73. package/build/types/common/FormatString.d.ts +5 -0
  74. package/build/types/common/HelperPhrases.d.ts +11 -0
  75. package/build/types/common/Interner.d.ts +4 -0
  76. package/build/types/common/L10nConfig.d.ts +1 -0
  77. package/build/types/common/Lazy.d.ts +9 -0
  78. package/build/types/common/LocalizationHelper.d.ts +10 -0
  79. package/build/types/common/Logger.d.ts +10 -0
  80. package/build/types/common/Name.d.ts +83 -0
  81. package/build/types/common/NameFormatConversion.d.ts +12 -0
  82. package/build/types/common/NonEmptyArray.d.ts +8 -0
  83. package/build/types/common/Option.d.ts +28 -0
  84. package/build/types/common/PackageDialect.d.ts +5 -0
  85. package/build/types/common/PackageLocale.d.ts +15 -0
  86. package/build/types/common/PackageLocaleGuard.d.ts +1 -0
  87. package/build/types/common/Path.d.ts +8 -0
  88. package/build/types/common/PerformanceMeasurement.d.ts +20 -0
  89. package/build/types/common/Query.d.ts +39 -0
  90. package/build/types/common/Range.d.ts +10 -0
  91. package/build/types/common/Result.d.ts +13 -0
  92. package/build/types/common/SearchName.d.ts +13 -0
  93. package/build/types/common/ThrottledCancellationToken.d.ts +17 -0
  94. package/build/types/common/TreeQuery.d.ts +53 -0
  95. package/build/types/common/TreeTraversal.d.ts +13 -0
  96. package/build/types/common/Uri.d.ts +28 -0
  97. package/build/types/common/UriTree.d.ts +41 -0
  98. package/build/types/common/UserLocale.d.ts +2 -0
  99. package/build/types/common/WithDiagnostics.d.ts +19 -0
  100. package/build/types/common/YieldExecution.d.ts +1 -0
  101. package/build/types/common/index.d.ts +32 -0
  102. package/build/types/diagnostic/Diagnostic.d.ts +21 -0
  103. package/build/types/diagnostic/DiagnosticCode.d.ts +146 -0
  104. package/build/types/diagnostic/DiagnosticData.d.ts +20 -0
  105. package/build/types/diagnostic/DiagnosticFormatter.d.ts +8 -0
  106. package/build/types/diagnostic/RangeDiagnostic.d.ts +19 -0
  107. package/build/types/emitter/BlockStatementTransformationResult.d.ts +10 -0
  108. package/build/types/emitter/CustomModuleLoader.d.ts +1 -0
  109. package/build/types/emitter/DebugStack.d.ts +10 -0
  110. package/build/types/emitter/Emitter.d.ts +61 -0
  111. package/build/types/emitter/EmitterContext.d.ts +342 -0
  112. package/build/types/emitter/EmitterGeneratedDeclarationKind.d.ts +36 -0
  113. package/build/types/emitter/EmitterPackage.d.ts +60 -0
  114. package/build/types/emitter/EntityNameProviders.d.ts +33 -0
  115. package/build/types/emitter/ExpressionTransformationResult.d.ts +17 -0
  116. package/build/types/emitter/GeneralLowering.d.ts +72 -0
  117. package/build/types/emitter/Internal.d.ts +10 -0
  118. package/build/types/emitter/IntrinsicEntities.d.ts +118 -0
  119. package/build/types/emitter/IrBuilder.d.ts +108 -0
  120. package/build/types/emitter/IrToJs.d.ts +113 -0
  121. package/build/types/emitter/JavaScriptName.d.ts +1 -0
  122. package/build/types/emitter/PackageMemberDeclarationTransformationResult.d.ts +17 -0
  123. package/build/types/emitter/SimpleTransformationResult.d.ts +14 -0
  124. package/build/types/emitter/StatementTransformationResult.d.ts +16 -0
  125. package/build/types/emitter/StructuredTypeMemberDeclarationTransformationResult.d.ts +13 -0
  126. package/build/types/emitter/TransformationContinuationAction.d.ts +4 -0
  127. package/build/types/emitter/Transformer.d.ts +282 -0
  128. package/build/types/emitter/TypeAccessExpressionTransformationResult.d.ts +12 -0
  129. package/build/types/emitter/error-boundary.d.ts +10 -0
  130. package/build/types/emitter/index.d.ts +1 -0
  131. package/build/types/emitter/ir/AccessedEntities.d.ts +19 -0
  132. package/build/types/emitter/ir/LoweringOptions.d.ts +34 -0
  133. package/build/types/emitter/ir/Nodes.d.ts +1585 -0
  134. package/build/types/emitter/ir/SourceLocation.d.ts +10 -0
  135. package/build/types/emitter/ir/index.d.ts +5 -0
  136. package/build/types/emitter/ir/types.d.ts +10 -0
  137. package/build/types/entities/AliasTypeEntity.d.ts +84 -0
  138. package/build/types/entities/BinaryOperatorEntity.d.ts +48 -0
  139. package/build/types/entities/ConstructorEntity.d.ts +99 -0
  140. package/build/types/entities/DereferenceOperatorEntity.d.ts +40 -0
  141. package/build/types/entities/DestructorEntity.d.ts +31 -0
  142. package/build/types/entities/EntityHiding.d.ts +27 -0
  143. package/build/types/entities/EntityNaming.d.ts +12 -0
  144. package/build/types/entities/GetterEntity.d.ts +86 -0
  145. package/build/types/entities/IndexerEntity.d.ts +51 -0
  146. package/build/types/entities/MethodEntity.d.ts +174 -0
  147. package/build/types/entities/MethodTypeEntity.d.ts +98 -0
  148. package/build/types/entities/PackageAliasEntity.d.ts +30 -0
  149. package/build/types/entities/PackageEntity.d.ts +56 -0
  150. package/build/types/entities/PackageMembers.d.ts +98 -0
  151. package/build/types/entities/SetterEntity.d.ts +78 -0
  152. package/build/types/entities/StructuredTypeEntity.d.ts +199 -0
  153. package/build/types/entities/SubstitutionApplicationMode.d.ts +4 -0
  154. package/build/types/entities/TypeEntityMembers.d.ts +36 -0
  155. package/build/types/entities/TypeExtensionEntity.d.ts +33 -0
  156. package/build/types/entities/TypeMemberContainer.d.ts +23 -0
  157. package/build/types/entities/TypeParameterEntity.d.ts +94 -0
  158. package/build/types/entities/UnaryOperatorEntity.d.ts +33 -0
  159. package/build/types/entities/VariableEntity.d.ts +423 -0
  160. package/build/types/entities/VariantEntity.d.ts +31 -0
  161. package/build/types/entities/VariantTypeEntity.d.ts +83 -0
  162. package/build/types/entities/Variants.d.ts +10 -0
  163. package/build/types/entities/index.d.ts +87 -0
  164. package/build/types/executor/CommandLineCompiler.d.ts +8 -0
  165. package/build/types/executor/Compiler.d.ts +15 -0
  166. package/build/types/executor/FileSystemUri.d.ts +5 -0
  167. package/build/types/executor/NodeCompiler.d.ts +39 -0
  168. package/build/types/executor/PhysicalFileSystem.d.ts +12 -0
  169. package/build/types/executor/PhysicalTypeScriptLibrariesProvider.d.ts +12 -0
  170. package/build/types/generated/BuiltInSystemPackages.d.ts +3 -0
  171. package/build/types/old/Executor.d.ts +14 -0
  172. package/build/types/old/JavaScriptEmitter.d.ts +1 -0
  173. package/build/types/old/JavaScriptEmittingVisitor.d.ts +1 -0
  174. package/build/types/old/NzonParser.d.ts +1 -0
  175. package/build/types/old/NzonScanner.d.ts +1 -0
  176. package/build/types/old/NzonSyntax.d.ts +1 -0
  177. package/build/types/old/RemoteWorkspaceFileSystem.d.ts +1 -0
  178. package/build/types/parser/CharacterCodes.d.ts +21 -0
  179. package/build/types/parser/ConvertTokenKind.d.ts +3 -0
  180. package/build/types/parser/KeywordDictionary.d.ts +12 -0
  181. package/build/types/parser/ParseNumber.d.ts +5 -0
  182. package/build/types/parser/Parser.d.ts +7 -0
  183. package/build/types/parser/ParserDiagnostic.d.ts +7 -0
  184. package/build/types/parser/ReservedIdentifierDictionary.d.ts +12 -0
  185. package/build/types/parser/Scanner.d.ts +60 -0
  186. package/build/types/parser/TokenKind.d.ts +73 -0
  187. package/build/types/parser/UnescapeText.d.ts +2 -0
  188. package/build/types/project/Compilation.d.ts +21 -0
  189. package/build/types/project/CompilationLoader.d.ts +104 -0
  190. package/build/types/project/FileSystemTree.d.ts +70 -0
  191. package/build/types/project/PackageConfigurationSerializer.d.ts +1 -0
  192. package/build/types/project/Position.d.ts +5 -0
  193. package/build/types/project/SourceFile.d.ts +21 -0
  194. package/build/types/project/SourcePackage.d.ts +151 -0
  195. package/build/types/project/TextFile.d.ts +11 -0
  196. package/build/types/project/configuration/BuildPackageApi.d.ts +75 -0
  197. package/build/types/project/configuration/ConfigurationConverter.d.ts +25 -0
  198. package/build/types/project/configuration/ConfigurationFileParser.d.ts +26 -0
  199. package/build/types/project/configuration/PackageConfigurationInterpreter.d.ts +27 -0
  200. package/build/types/project/configuration/types/PackageConfigurationEn.d.ts +90 -0
  201. package/build/types/project/configuration/types/PackageConfigurationRu.d.ts +91 -0
  202. package/build/types/project/index.d.ts +12 -0
  203. package/build/types/services/AddPropertyAssignmentService.d.ts +15 -0
  204. package/build/types/services/CompletionService.d.ts +95 -0
  205. package/build/types/services/CustomCommand.d.ts +120 -0
  206. package/build/types/services/DefinitionService.d.ts +19 -0
  207. package/build/types/services/DisplayService.d.ts +830 -0
  208. package/build/types/services/DocumentHighlightsService.d.ts +18 -0
  209. package/build/types/services/EvaluatableExpressionService.d.ts +15 -0
  210. package/build/types/services/FileSystemTreeDisplayService.d.ts +7 -0
  211. package/build/types/services/HoverService.d.ts +17 -0
  212. package/build/types/services/LanguageServer.d.ts +125 -0
  213. package/build/types/services/NodeSemanticInfo.d.ts +132 -0
  214. package/build/types/services/ProjectItemsService.d.ts +6 -0
  215. package/build/types/services/ReferencesService.d.ts +30 -0
  216. package/build/types/services/RenameService.d.ts +16 -0
  217. package/build/types/services/SelectionRangeService.d.ts +12 -0
  218. package/build/types/services/SemanticTokensService.d.ts +40 -0
  219. package/build/types/services/SourceFileItemsService.d.ts +42 -0
  220. package/build/types/services/TranslationService.d.ts +23 -0
  221. package/build/types/services/TreeUtils.d.ts +58 -0
  222. package/build/types/services/TypeDefinitionService.d.ts +9 -0
  223. package/build/types/services/Types.d.ts +22 -0
  224. package/build/types/services/Utils.d.ts +5 -0
  225. package/build/types/services/signature-help/SignatureHelpService.d.ts +17 -0
  226. package/build/types/services/signature-help/SignatureWithValueParameters.d.ts +114 -0
  227. package/build/types/services/signature-help/TypeParameterSignatureHelpProvider.d.ts +20 -0
  228. package/build/types/services/signature-help/ValueParametersSignatureHelpProvider.d.ts +15 -0
  229. package/build/types/services/signature-help/utils.d.ts +9 -0
  230. package/build/types/services/source-generation/EntityToSyntax.d.ts +47 -0
  231. package/build/types/services/source-generation/SourceGenerationService.d.ts +22 -0
  232. package/build/types/services/workspace/ClientTrackedSourceFiles.d.ts +41 -0
  233. package/build/types/services/workspace/CompilationController.d.ts +108 -0
  234. package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +61 -0
  235. package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +21 -0
  236. package/build/types/services/workspace/Workspace.d.ts +59 -0
  237. package/build/types/services/workspace/WorkspaceFileSystem.d.ts +5 -0
  238. package/build/types/services/workspace/WorkspaceFiles.d.ts +35 -0
  239. package/build/types/services/workspace/index.d.ts +7 -0
  240. package/build/types/tree/KeywordKind.d.ts +64 -0
  241. package/build/types/tree/NodeKind.d.ts +163 -0
  242. package/build/types/tree/TokenKind.d.ts +132 -0
  243. package/build/types/tree/TriviaKind.d.ts +7 -0
  244. package/build/types/tree/green/BaseNode.d.ts +12 -0
  245. package/build/types/tree/green/Nodes.d.ts +2235 -0
  246. package/build/types/tree/green/SyntaxFactory.d.ts +67 -0
  247. package/build/types/tree/green/SyntaxToCode.d.ts +116 -0
  248. package/build/types/tree/green/Token.d.ts +37 -0
  249. package/build/types/tree/green/Utils.d.ts +2 -0
  250. package/build/types/tree/green/index.d.ts +7 -0
  251. package/build/types/tree/index.d.ts +4 -0
  252. package/build/types/tree/red/BaseNode.d.ts +15 -0
  253. package/build/types/tree/red/Internal.d.ts +2 -0
  254. package/build/types/tree/red/NodePath.d.ts +10 -0
  255. package/build/types/tree/red/Nodes.d.ts +2237 -0
  256. package/build/types/tree/red/Token.d.ts +29 -0
  257. package/build/types/tree/red/Utils.d.ts +6 -0
  258. package/build/types/tree/red/index.d.ts +6 -0
  259. package/build/types/ts-interop/Entities.d.ts +634 -0
  260. package/build/types/ts-interop/TsInteropContext.d.ts +179 -0
  261. package/build/types/ts-interop/TsLibrariesProvider.d.ts +12 -0
  262. package/build/types/ts-interop/TsPackageContents.d.ts +64 -0
  263. package/build/types/ts-interop/TsPackageMembersCreator.d.ts +69 -0
  264. package/build/types/ts-interop/TsProgramLoader.d.ts +38 -0
  265. package/build/types/ts-interop/TsTypeMembersCreator.d.ts +45 -0
  266. package/build/types/ts-interop/Utils.d.ts +43 -0
  267. package/build/types/types/AliasType.d.ts +20 -0
  268. package/build/types/types/Internal.d.ts +1 -0
  269. package/build/types/types/MethodType.d.ts +23 -0
  270. package/build/types/types/ParameterType.d.ts +19 -0
  271. package/build/types/types/StandardTypes.d.ts +42 -0
  272. package/build/types/types/StructuredType.d.ts +25 -0
  273. package/build/types/types/Substitutions.d.ts +18 -0
  274. package/build/types/types/Type.d.ts +16 -0
  275. package/build/types/types/TypeFactory.d.ts +15 -0
  276. package/build/types/types/TypeMembers.d.ts +134 -0
  277. package/build/types/types/UnionType.d.ts +20 -0
  278. package/build/types/types/UnresolvedType.d.ts +16 -0
  279. package/build/types/types/VariantType.d.ts +19 -0
  280. package/build/types/types/index.d.ts +12 -0
  281. package/package.json +73 -0
@@ -0,0 +1,163 @@
1
+ export declare enum NodeKind {
2
+ Token = 0,
3
+ SourceFile = 1,
4
+ PackageMemberDeclarationList = 2,
5
+ Keyword = 3,
6
+ PackageImportDirectiveList = 4,
7
+ SinglePackageImportDirective = 5,
8
+ PackageGroupImportDirective = 6,
9
+ PackageImportList = 7,
10
+ PackageImport = 8,
11
+ PackagePath = 9,
12
+ NamedTypeSpecifier = 10,
13
+ UnionTypeSpecifier = 11,
14
+ UnionTypeSpecifierTypeList = 12,
15
+ ParenthesizedTypeSpecifier = 13,
16
+ NullableTypeSpecifier = 14,
17
+ AnonymousTypeSpecifier = 15,
18
+ InvalidTypeSpecifier = 16,
19
+ AnonymousMethodTypeDeclaration = 17,
20
+ AnonymousStructuredTypeDeclaration = 18,
21
+ AnonymousVariantTypeDeclaration = 19,
22
+ TopLevelTranslationList = 20,
23
+ TranslationsDeclaration = 21,
24
+ PackageAliasTypeDeclaration = 22,
25
+ AliasTypeDeclarationBody = 23,
26
+ PackageMemberGroupDeclaration = 24,
27
+ PackageConstructorDeclaration = 25,
28
+ PackageEntryPointDeclaration = 26,
29
+ PackageMethodDeclaration = 27,
30
+ PackageMethodTypeDeclaration = 28,
31
+ MethodTypeDeclarationBody = 29,
32
+ BaseTypeList = 30,
33
+ TypeMemberDeclarationList = 31,
34
+ TypeMemberDeclarationBlock = 32,
35
+ PackageStructuredTypeDeclaration = 33,
36
+ StructuredTypeDeclarationBody = 34,
37
+ PackageVariableDeclaration = 35,
38
+ PackageVariableGetterDeclaration = 36,
39
+ PackageVariableSetterDeclaration = 37,
40
+ PackageVariantTypeDeclaration = 38,
41
+ VariantTypeDeclarationBody = 39,
42
+ TypeExtensionDeclaration = 40,
43
+ ExtendedTypeClauseCommaList = 41,
44
+ ExtendedTypeClause = 42,
45
+ InvalidPackageMemberDeclaration = 43,
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,
55
+ TypeVariableDeclaration = 53,
56
+ TypeVariableGetterDeclaration = 54,
57
+ TypeVariableSetterDeclaration = 55,
58
+ InvalidTypeMemberDeclaration = 56,
59
+ NestedMethodDeclaration = 57,
60
+ LocalVariableDeclaration = 58,
61
+ EnumerationVariableDeclaration = 59,
62
+ ArrayLiteral = 60,
63
+ ArrayLiteralElementList = 61,
64
+ AssertionExpression = 62,
65
+ AssumptionExpression = 63,
66
+ AsExpression = 64,
67
+ BinaryExpression = 65,
68
+ MethodBlockLiteral = 66,
69
+ CallArgumentList = 67,
70
+ CallExpression = 68,
71
+ AutotypeCallExpression = 69,
72
+ IndexedAccessArgumentList = 70,
73
+ IndexedAccessExpression = 71,
74
+ InvalidExpression = 72,
75
+ IsExpression = 73,
76
+ UnobservableExpression = 74,
77
+ NotExpression = 75,
78
+ MethodLiteral = 76,
79
+ ParenthesizedExpression = 77,
80
+ WhenTernaryExpression = 78,
81
+ PrefixUnaryExpression = 79,
82
+ PropertyAccessExpression = 80,
83
+ ReferenceExpression = 81,
84
+ DereferenceExpression = 82,
85
+ TextTemplateLiteral = 83,
86
+ TextTemplateSpanList = 84,
87
+ TextTemplateSpan = 85,
88
+ TokenExpression = 86,
89
+ KeywordExpression = 87,
90
+ ObjectExpression = 88,
91
+ BaseExpression = 89,
92
+ IdentifierExpression = 90,
93
+ TransactionalExpression = 91,
94
+ GenericSpecializationExpression = 92,
95
+ DefaultMatchExpression = 93,
96
+ AssignmentStatement = 94,
97
+ StatementList = 95,
98
+ StatementBlock = 96,
99
+ BreakLoopStatement = 97,
100
+ ContinueLoopStatement = 98,
101
+ DisposeStatement = 99,
102
+ RunStatementClauseList = 100,
103
+ RunStatement = 101,
104
+ OnErrorClause = 102,
105
+ ErrorVariableDeclaration = 103,
106
+ FinallyClause = 104,
107
+ EmptyStatement = 105,
108
+ ErrorStatement = 106,
109
+ ExpressionStatement = 107,
110
+ EnumerationVariableList = 108,
111
+ ForStatement = 109,
112
+ IfStatement = 110,
113
+ ElseIfClauseList = 111,
114
+ ElseIfClause = 112,
115
+ InvalidStatement = 113,
116
+ NestedMethodDeclarationStatement = 114,
117
+ LocalVariableDeclarationStatement = 115,
118
+ UnobservableStatement = 116,
119
+ LoopStatement = 117,
120
+ ReturnStatement = 118,
121
+ CaseClauseList = 119,
122
+ SwitchStatement = 120,
123
+ MatchExpressionList = 121,
124
+ SwitchStatementCaseClause = 122,
125
+ TransactionalStatement = 123,
126
+ WhileStatement = 124,
127
+ YieldStatement = 125,
128
+ TranslationParameterList = 126,
129
+ TranslationParameterClause = 127,
130
+ ConstructorTranslation = 128,
131
+ IndexerTranslationParameterClause = 129,
132
+ IndexerTranslation = 130,
133
+ TranslationTypeParameterList = 131,
134
+ TranslationTypeParameterClause = 132,
135
+ PackageMethodTranslation = 133,
136
+ TypeMethodTranslation = 134,
137
+ MethodTypeTranslation = 135,
138
+ PackageImportTranslation = 136,
139
+ QualifiedName = 137,
140
+ PackageVariableTranslation = 138,
141
+ TypeVariableOrVariantTranslation = 139,
142
+ TypeMemberTranslationList = 140,
143
+ TypeTranslation = 141,
144
+ TextLiteralTranslation = 142,
145
+ TextTemplateLiteralTranslation = 143,
146
+ VariantDeclaration = 144,
147
+ TypeParameterDeclaration = 145,
148
+ ParameterDeclaration = 146,
149
+ CallArgument = 147,
150
+ TagList = 148,
151
+ Tag = 149,
152
+ ModifierList = 150,
153
+ Modifier = 151,
154
+ ParameterClause = 152,
155
+ ParameterList = 153,
156
+ SetterParameterClause = 154,
157
+ SetterParameterDeclaration = 155,
158
+ TypeArgumentClause = 156,
159
+ TypeArgumentList = 157,
160
+ TypeParameterClause = 158,
161
+ TypeParameterList = 159,
162
+ TypeAnnotation = 160
163
+ }
@@ -0,0 +1,132 @@
1
+ export declare enum TokenKind {
2
+ Unknown = 0,
3
+ EndOfFile = 1,
4
+ IntegerLiteral = 2,
5
+ RealLiteral = 3,
6
+ MeasureLiteral = 4,
7
+ CharLiteral = 5,
8
+ TextLiteral = 6,
9
+ TextTemplateHead = 7,
10
+ TextTemplatePart = 8,
11
+ TextTemplateTail = 9,
12
+ Ampersand = 10,
13
+ AmpersandAmpersand = 11,
14
+ AmpersandEquals = 12,
15
+ Asterisk = 13,
16
+ AsteriskAsterisk = 14,
17
+ AsteriskEquals = 15,
18
+ BackQuote = 16,
19
+ Bar = 17,
20
+ BarBar = 18,
21
+ Caret = 19,
22
+ CloseBrace = 20,
23
+ CloseParenthesis = 21,
24
+ CloseSquareBracket = 22,
25
+ Colon = 23,
26
+ Comma = 24,
27
+ CommercialAt = 25,
28
+ Dot = 26,
29
+ DoublePeriod = 27,
30
+ Ellipsis = 28,
31
+ EqualsEquals = 29,
32
+ EqualsGreaterThan = 30,
33
+ Exclamation = 31,
34
+ ExclamationEquals = 32,
35
+ GreaterThan = 33,
36
+ GreaterThanEquals = 34,
37
+ HashSign = 35,
38
+ LessThan = 36,
39
+ LessThanEquals = 37,
40
+ LessThanMinus = 38,
41
+ Minus = 39,
42
+ MinusMinus = 40,
43
+ MinusEquals = 41,
44
+ MinusGreaterThan = 42,
45
+ OpenBrace = 43,
46
+ OpenParenthesis = 44,
47
+ OpenSquareBracket = 45,
48
+ Plus = 46,
49
+ PlusPlus = 47,
50
+ PlusEquals = 48,
51
+ Question = 49,
52
+ QuestionQuestion = 50,
53
+ Semicolon = 51,
54
+ Slash = 52,
55
+ SlashEquals = 53,
56
+ Tilde = 54,
57
+ TildeTilde = 55,
58
+ Underscore = 56,
59
+ Equals = 57,
60
+ Percent = 58,
61
+ PercentPercent = 59,
62
+ Backslash = 60,
63
+ BackslashEquals = 61,
64
+ BackslashBackslash = 62,
65
+ Identifier = 63
66
+ }
67
+ export declare const tokenKindValues: {
68
+ 0: string;
69
+ 1: string;
70
+ 2: string;
71
+ 3: string;
72
+ 4: string;
73
+ 5: string;
74
+ 6: string;
75
+ 7: string;
76
+ 8: string;
77
+ 9: string;
78
+ 10: string;
79
+ 11: string;
80
+ 12: string;
81
+ 13: string;
82
+ 14: string;
83
+ 15: string;
84
+ 16: string;
85
+ 17: string;
86
+ 18: string;
87
+ 19: string;
88
+ 20: string;
89
+ 21: string;
90
+ 22: string;
91
+ 23: string;
92
+ 24: string;
93
+ 25: string;
94
+ 26: string;
95
+ 27: string;
96
+ 28: string;
97
+ 29: string;
98
+ 30: string;
99
+ 31: string;
100
+ 32: string;
101
+ 33: string;
102
+ 34: string;
103
+ 35: string;
104
+ 36: string;
105
+ 37: string;
106
+ 38: string;
107
+ 39: string;
108
+ 40: string;
109
+ 41: string;
110
+ 42: string;
111
+ 43: string;
112
+ 44: string;
113
+ 45: string;
114
+ 46: string;
115
+ 47: string;
116
+ 48: string;
117
+ 49: string;
118
+ 50: string;
119
+ 51: string;
120
+ 52: string;
121
+ 53: string;
122
+ 54: string;
123
+ 55: string;
124
+ 56: string;
125
+ 57: string;
126
+ 58: string;
127
+ 59: string;
128
+ 60: string;
129
+ 61: string;
130
+ 62: string;
131
+ 63: string;
132
+ };
@@ -0,0 +1,7 @@
1
+ export declare const enum TriviaKind {
2
+ Whitespace = 0,
3
+ NewLine = 1,
4
+ SingleLineComment = 2,
5
+ MultiLineComment = 3,
6
+ SkippedTokenTrivia = 4
7
+ }
@@ -0,0 +1,12 @@
1
+ import { Node } from './index.js';
2
+ export declare abstract class BaseNode {
3
+ protected _rangeLength: number;
4
+ protected abstract thisAsNode: Node;
5
+ abstract get children(): readonly (Node | undefined)[];
6
+ get rangeLength(): number;
7
+ get debuggerDisplay(): string;
8
+ /**
9
+ * Информация для оценки размера дерева при отладке.
10
+ */
11
+ get descendantCount(): number;
12
+ }