@lpc-lang/core 1.1.2-5.1

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 (317) hide show
  1. package/README.md +255 -0
  2. package/bin/lpc +4 -0
  3. package/bin/lpcserver +4 -0
  4. package/cancellationToken/cancellationToken.d.ts +8 -0
  5. package/cancellationToken/cancellationToken.d.ts.map +1 -0
  6. package/cancellationToken/serverCancellationToken.d.ts +21 -0
  7. package/cancellationToken/serverCancellationToken.d.ts.map +1 -0
  8. package/cli/_namespaces/lpc.d.ts +2 -0
  9. package/cli/_namespaces/lpc.d.ts.map +1 -0
  10. package/cli/lpc.d.ts +2 -0
  11. package/cli/lpc.d.ts.map +1 -0
  12. package/compiler/LpcConfig.d.ts +17 -0
  13. package/compiler/LpcConfig.d.ts.map +1 -0
  14. package/compiler/_namespaces/lpc.d.ts +49 -0
  15. package/compiler/_namespaces/lpc.d.ts.map +1 -0
  16. package/compiler/_namespaces/lpc.moduleSpecifiers.d.ts +2 -0
  17. package/compiler/_namespaces/lpc.moduleSpecifiers.d.ts.map +1 -0
  18. package/compiler/_namespaces/lpc.performance.d.ts +2 -0
  19. package/compiler/_namespaces/lpc.performance.d.ts.map +1 -0
  20. package/compiler/binder.d.ts +2 -0
  21. package/compiler/binder.d.ts.map +1 -0
  22. package/compiler/builderPublic.d.ts +76 -0
  23. package/compiler/builderPublic.d.ts.map +1 -0
  24. package/compiler/checker.d.ts +2 -0
  25. package/compiler/checker.d.ts.map +1 -0
  26. package/compiler/commandLineParser.d.ts +47 -0
  27. package/compiler/commandLineParser.d.ts.map +1 -0
  28. package/compiler/core.d.ts +3 -0
  29. package/compiler/core.d.ts.map +1 -0
  30. package/compiler/corePublic.d.ts +19 -0
  31. package/compiler/corePublic.d.ts.map +1 -0
  32. package/compiler/debug.d.ts +71 -0
  33. package/compiler/debug.d.ts.map +1 -0
  34. package/compiler/diagnosticInformation.d.ts +518 -0
  35. package/compiler/diagnosticInformation.d.ts.map +1 -0
  36. package/compiler/emitter.d.ts +11 -0
  37. package/compiler/emitter.d.ts.map +1 -0
  38. package/compiler/executeCommandLine.d.ts +15 -0
  39. package/compiler/executeCommandLine.d.ts.map +1 -0
  40. package/compiler/expressionToTypeNode.d.ts +2 -0
  41. package/compiler/expressionToTypeNode.d.ts.map +1 -0
  42. package/compiler/factory/baseNodeFactory.d.ts +2 -0
  43. package/compiler/factory/baseNodeFactory.d.ts.map +1 -0
  44. package/compiler/factory/emitHelper.d.ts +2 -0
  45. package/compiler/factory/emitHelper.d.ts.map +1 -0
  46. package/compiler/factory/emitNode.d.ts +22 -0
  47. package/compiler/factory/emitNode.d.ts.map +1 -0
  48. package/compiler/factory/nodeChildren.d.ts +2 -0
  49. package/compiler/factory/nodeChildren.d.ts.map +1 -0
  50. package/compiler/factory/nodeConverters.d.ts +2 -0
  51. package/compiler/factory/nodeConverters.d.ts.map +1 -0
  52. package/compiler/factory/nodeFactory.d.ts +4 -0
  53. package/compiler/factory/nodeFactory.d.ts.map +1 -0
  54. package/compiler/factory/parenthesizerRules.d.ts +2 -0
  55. package/compiler/factory/parenthesizerRules.d.ts.map +1 -0
  56. package/compiler/factory/utilities.d.ts +2 -0
  57. package/compiler/factory/utilities.d.ts.map +1 -0
  58. package/compiler/factory/utilitiesPublic.d.ts +4 -0
  59. package/compiler/factory/utilitiesPublic.d.ts.map +1 -0
  60. package/compiler/lpcFileHandler.d.ts +10 -0
  61. package/compiler/lpcFileHandler.d.ts.map +1 -0
  62. package/compiler/lpcJsHelpers.d.ts +17 -0
  63. package/compiler/lpcJsHelpers.d.ts.map +1 -0
  64. package/compiler/lpcbuild.d.ts +2 -0
  65. package/compiler/lpcbuild.d.ts.map +1 -0
  66. package/compiler/lpcbuildPublic.d.ts +26 -0
  67. package/compiler/lpcbuildPublic.d.ts.map +1 -0
  68. package/compiler/moduleNameResolver.d.ts +55 -0
  69. package/compiler/moduleNameResolver.d.ts.map +1 -0
  70. package/compiler/moduleSpecifiers.d.ts +2 -0
  71. package/compiler/moduleSpecifiers.d.ts.map +1 -0
  72. package/compiler/nodeTests.d.ts +115 -0
  73. package/compiler/nodeTests.d.ts.map +1 -0
  74. package/compiler/parser.d.ts +65 -0
  75. package/compiler/parser.d.ts.map +1 -0
  76. package/compiler/path.d.ts +2 -0
  77. package/compiler/path.d.ts.map +1 -0
  78. package/compiler/perfLoger.d.ts +2 -0
  79. package/compiler/perfLoger.d.ts.map +1 -0
  80. package/compiler/performance.d.ts +2 -0
  81. package/compiler/performance.d.ts.map +1 -0
  82. package/compiler/performanceCore.d.ts +2 -0
  83. package/compiler/performanceCore.d.ts.map +1 -0
  84. package/compiler/program.d.ts +72 -0
  85. package/compiler/program.d.ts.map +1 -0
  86. package/compiler/resolutionCache.d.ts +6 -0
  87. package/compiler/resolutionCache.d.ts.map +1 -0
  88. package/compiler/resolver.d.ts +1 -0
  89. package/compiler/resolver.d.ts.map +1 -0
  90. package/compiler/scanner.d.ts +85 -0
  91. package/compiler/scanner.d.ts.map +1 -0
  92. package/compiler/sourcemap.d.ts +2 -0
  93. package/compiler/sourcemap.d.ts.map +1 -0
  94. package/compiler/sys.d.ts +56 -0
  95. package/compiler/sys.d.ts.map +1 -0
  96. package/compiler/tracing.d.ts +31 -0
  97. package/compiler/tracing.d.ts.map +1 -0
  98. package/compiler/transformers/declarations.d.ts +2 -0
  99. package/compiler/transformers/declarations.d.ts.map +1 -0
  100. package/compiler/transformers.d.ts +2 -0
  101. package/compiler/transformers.d.ts.map +1 -0
  102. package/compiler/types.d.ts +3284 -0
  103. package/compiler/types.d.ts.map +1 -0
  104. package/compiler/utilities.d.ts +57 -0
  105. package/compiler/utilities.d.ts.map +1 -0
  106. package/compiler/utilitiesPublic.d.ts +213 -0
  107. package/compiler/utilitiesPublic.d.ts.map +1 -0
  108. package/compiler/visitorPublic.d.ts +72 -0
  109. package/compiler/visitorPublic.d.ts.map +1 -0
  110. package/compiler/watch.d.ts +2 -0
  111. package/compiler/watch.d.ts.map +1 -0
  112. package/compiler/watchPublic.d.ts +44 -0
  113. package/compiler/watchPublic.d.ts.map +1 -0
  114. package/compiler/watchUtilities.d.ts +14 -0
  115. package/compiler/watchUtilities.d.ts.map +1 -0
  116. package/config-types.d.ts +33 -0
  117. package/config-types.d.ts.map +1 -0
  118. package/harness/harnessIO.d.ts +4 -0
  119. package/harness/harnessIO.d.ts.map +1 -0
  120. package/lpc/_namespaces/lpc.d.ts +6 -0
  121. package/lpc/_namespaces/lpc.d.ts.map +1 -0
  122. package/lpc/_namespaces/lpc.server.d.ts +2 -0
  123. package/lpc/_namespaces/lpc.server.d.ts.map +1 -0
  124. package/lpc/lpc.d.ts +2 -0
  125. package/lpc/lpc.d.ts.map +1 -0
  126. package/lpcserver/document.d.ts +1 -0
  127. package/lpcserver/document.d.ts.map +1 -0
  128. package/lpcserver/nodeServer.d.ts +25 -0
  129. package/lpcserver/nodeServer.d.ts.map +1 -0
  130. package/lpcserver/protocol.const.d.ts +46 -0
  131. package/lpcserver/protocol.const.d.ts.map +1 -0
  132. package/lpcserver/server.d.ts +3 -0
  133. package/lpcserver/server.d.ts.map +1 -0
  134. package/lpcserver/textRendering.d.ts +14 -0
  135. package/lpcserver/textRendering.d.ts.map +1 -0
  136. package/lpcserver/typeConverters.d.ts +44 -0
  137. package/lpcserver/typeConverters.d.ts.map +1 -0
  138. package/lpcserver/utils.d.ts +14 -0
  139. package/lpcserver/utils.d.ts.map +1 -0
  140. package/package.json +48 -0
  141. package/parse-fluff-docs.d.ts +2 -0
  142. package/parse-fluff-docs.d.ts.map +1 -0
  143. package/parse-ld-docs.d.ts +2 -0
  144. package/parse-ld-docs.d.ts.map +1 -0
  145. package/server/_namespaces/lpc.d.ts +5 -0
  146. package/server/_namespaces/lpc.d.ts.map +1 -0
  147. package/server/_namespaces/lpc.server.d.ts +11 -0
  148. package/server/_namespaces/lpc.server.d.ts.map +1 -0
  149. package/server/_namespaces/lpc.server.protocol.d.ts +2 -0
  150. package/server/_namespaces/lpc.server.protocol.d.ts.map +1 -0
  151. package/server/editorServices.d.ts +261 -0
  152. package/server/editorServices.d.ts.map +1 -0
  153. package/server/project.d.ts +143 -0
  154. package/server/project.d.ts.map +1 -0
  155. package/server/protocol.d.ts +962 -0
  156. package/server/protocol.d.ts.map +1 -0
  157. package/server/scriptInfo.d.ts +53 -0
  158. package/server/scriptInfo.d.ts.map +1 -0
  159. package/server/scriptVersionCache.d.ts +2 -0
  160. package/server/scriptVersionCache.d.ts.map +1 -0
  161. package/server/session.d.ts +150 -0
  162. package/server/session.d.ts.map +1 -0
  163. package/server/types.d.ts +24 -0
  164. package/server/types.d.ts.map +1 -0
  165. package/server/utilities.d.ts +2 -0
  166. package/server/utilities.d.ts.map +1 -0
  167. package/server/utilitiesPublic.d.ts +37 -0
  168. package/server/utilitiesPublic.d.ts.map +1 -0
  169. package/server.d.ts +2 -0
  170. package/server.d.ts.map +1 -0
  171. package/services/_namespaces/lpc.Completions.StringCompletions.d.ts +2 -0
  172. package/services/_namespaces/lpc.Completions.StringCompletions.d.ts.map +1 -0
  173. package/services/_namespaces/lpc.Completions.d.ts +4 -0
  174. package/services/_namespaces/lpc.Completions.d.ts.map +1 -0
  175. package/services/_namespaces/lpc.FindAllReferences.d.ts +3 -0
  176. package/services/_namespaces/lpc.FindAllReferences.d.ts.map +1 -0
  177. package/services/_namespaces/lpc.GoToDefinition.d.ts +2 -0
  178. package/services/_namespaces/lpc.GoToDefinition.d.ts.map +1 -0
  179. package/services/_namespaces/lpc.JsDoc.d.ts +2 -0
  180. package/services/_namespaces/lpc.JsDoc.d.ts.map +1 -0
  181. package/services/_namespaces/lpc.NavigationBar.d.ts +2 -0
  182. package/services/_namespaces/lpc.NavigationBar.d.ts.map +1 -0
  183. package/services/_namespaces/lpc.Rename.d.ts +2 -0
  184. package/services/_namespaces/lpc.Rename.d.ts.map +1 -0
  185. package/services/_namespaces/lpc.SignatureHelp.d.ts +2 -0
  186. package/services/_namespaces/lpc.SignatureHelp.d.ts.map +1 -0
  187. package/services/_namespaces/lpc.SymbolDisplay.d.ts +2 -0
  188. package/services/_namespaces/lpc.SymbolDisplay.d.ts.map +1 -0
  189. package/services/_namespaces/lpc.codefix.d.ts +3 -0
  190. package/services/_namespaces/lpc.codefix.d.ts.map +1 -0
  191. package/services/_namespaces/lpc.d.ts +30 -0
  192. package/services/_namespaces/lpc.d.ts.map +1 -0
  193. package/services/_namespaces/lpc.formatting.d.ts +7 -0
  194. package/services/_namespaces/lpc.formatting.d.ts.map +1 -0
  195. package/services/_namespaces/lpc.textChanges.d.ts +2 -0
  196. package/services/_namespaces/lpc.textChanges.d.ts.map +1 -0
  197. package/services/classifier2020.d.ts +2 -0
  198. package/services/classifier2020.d.ts.map +1 -0
  199. package/services/codefixes/helpers.d.ts +2 -0
  200. package/services/codefixes/helpers.d.ts.map +1 -0
  201. package/services/codefixes/importFixes.d.ts +2 -0
  202. package/services/codefixes/importFixes.d.ts.map +1 -0
  203. package/services/completions.d.ts +2 -0
  204. package/services/completions.d.ts.map +1 -0
  205. package/services/documentRegistry.d.ts +90 -0
  206. package/services/documentRegistry.d.ts.map +1 -0
  207. package/services/exportInfoMap.d.ts +5 -0
  208. package/services/exportInfoMap.d.ts.map +1 -0
  209. package/services/findAllReferences.d.ts +2 -0
  210. package/services/findAllReferences.d.ts.map +1 -0
  211. package/services/formatting/formatting.d.ts +2 -0
  212. package/services/formatting/formatting.d.ts.map +1 -0
  213. package/services/formatting/formattingContext.d.ts +2 -0
  214. package/services/formatting/formattingContext.d.ts.map +1 -0
  215. package/services/formatting/rule.d.ts +2 -0
  216. package/services/formatting/rule.d.ts.map +1 -0
  217. package/services/formatting/rules.d.ts +2 -0
  218. package/services/formatting/rules.d.ts.map +1 -0
  219. package/services/formatting/rulesMap.d.ts +2 -0
  220. package/services/formatting/rulesMap.d.ts.map +1 -0
  221. package/services/formatting/smartIndenter.d.ts +2 -0
  222. package/services/formatting/smartIndenter.d.ts.map +1 -0
  223. package/services/goToDefinition.d.ts +2 -0
  224. package/services/goToDefinition.d.ts.map +1 -0
  225. package/services/importTracker.d.ts +2 -0
  226. package/services/importTracker.d.ts.map +1 -0
  227. package/services/jsDoc.d.ts +2 -0
  228. package/services/jsDoc.d.ts.map +1 -0
  229. package/services/navigationBar.d.ts +2 -0
  230. package/services/navigationBar.d.ts.map +1 -0
  231. package/services/rename.d.ts +2 -0
  232. package/services/rename.d.ts.map +1 -0
  233. package/services/services.d.ts +54 -0
  234. package/services/services.d.ts.map +1 -0
  235. package/services/signatureHelp.d.ts +2 -0
  236. package/services/signatureHelp.d.ts.map +1 -0
  237. package/services/sourcemaps.d.ts +2 -0
  238. package/services/sourcemaps.d.ts.map +1 -0
  239. package/services/stringCompletions.d.ts +2 -0
  240. package/services/stringCompletions.d.ts.map +1 -0
  241. package/services/suggestionDiagnostics.d.ts +2 -0
  242. package/services/suggestionDiagnostics.d.ts.map +1 -0
  243. package/services/symbolDisplay.d.ts +2 -0
  244. package/services/symbolDisplay.d.ts.map +1 -0
  245. package/services/textChanges.d.ts +2 -0
  246. package/services/textChanges.d.ts.map +1 -0
  247. package/services/types.d.ts +901 -0
  248. package/services/types.d.ts.map +1 -0
  249. package/services/utilities.d.ts +3 -0
  250. package/services/utilities.d.ts.map +1 -0
  251. package/src/cli.js +58 -0
  252. package/src/cli.js.map +7 -0
  253. package/src/efuns/fluffos/arrays.h +205 -0
  254. package/src/efuns/fluffos/async.h +84 -0
  255. package/src/efuns/fluffos/buffers.h +80 -0
  256. package/src/efuns/fluffos/calls.h +275 -0
  257. package/src/efuns/fluffos/contrib.h +805 -0
  258. package/src/efuns/fluffos/db.h +125 -0
  259. package/src/efuns/fluffos/driver.h +107 -0
  260. package/src/efuns/fluffos/ed.h +48 -0
  261. package/src/efuns/fluffos/efuns.fluffos.h +75 -0
  262. package/src/efuns/fluffos/external.h +30 -0
  263. package/src/efuns/fluffos/filesystem.h +154 -0
  264. package/src/efuns/fluffos/floats.h +136 -0
  265. package/src/efuns/fluffos/functions.h +104 -0
  266. package/src/efuns/fluffos/general.h +548 -0
  267. package/src/efuns/fluffos/interactive.h +777 -0
  268. package/src/efuns/fluffos/internals.h +455 -0
  269. package/src/efuns/fluffos/lpc-config.json +10 -0
  270. package/src/efuns/fluffos/mappings.h +205 -0
  271. package/src/efuns/fluffos/misc.h +43 -0
  272. package/src/efuns/fluffos/mudlib.h +228 -0
  273. package/src/efuns/fluffos/numbers.h +41 -0
  274. package/src/efuns/fluffos/objects.h +365 -0
  275. package/src/efuns/fluffos/parsing.h +220 -0
  276. package/src/efuns/fluffos/pcre.h +75 -0
  277. package/src/efuns/fluffos/sockets.h +276 -0
  278. package/src/efuns/fluffos/strings.h +542 -0
  279. package/src/efuns/fluffos/system.h +408 -0
  280. package/src/efuns/fluffos/zh-cn/arrays.zh-cn.h +167 -0
  281. package/src/efuns/fluffos/zh-cn/async.zh-cn.h +81 -0
  282. package/src/efuns/fluffos/zh-cn/buffers.zh-cn.h +69 -0
  283. package/src/efuns/fluffos/zh-cn/calls.zh-cn.h +242 -0
  284. package/src/efuns/fluffos/zh-cn/contrib.zh-cn.h +767 -0
  285. package/src/efuns/fluffos/zh-cn/db.zh-cn.h +113 -0
  286. package/src/efuns/fluffos/zh-cn/ed.zh-cn.h +42 -0
  287. package/src/efuns/fluffos/zh-cn/efuns.fluffos.h +76 -0
  288. package/src/efuns/fluffos/zh-cn/external.zh-cn.h +25 -0
  289. package/src/efuns/fluffos/zh-cn/filesystem.zh-cn.h +140 -0
  290. package/src/efuns/fluffos/zh-cn/floats.zh-cn.h +129 -0
  291. package/src/efuns/fluffos/zh-cn/functions.zh-cn.h +87 -0
  292. package/src/efuns/fluffos/zh-cn/general.zh-cn.h +506 -0
  293. package/src/efuns/fluffos/zh-cn/interactive.zh-cn.h +659 -0
  294. package/src/efuns/fluffos/zh-cn/internals.zh-cn.h +356 -0
  295. package/src/efuns/fluffos/zh-cn/mappings.zh-cn.h +188 -0
  296. package/src/efuns/fluffos/zh-cn/misc.zh-cn.h +43 -0
  297. package/src/efuns/fluffos/zh-cn/mudlib.zh-cn.h +190 -0
  298. package/src/efuns/fluffos/zh-cn/numbers.zh-cn.h +36 -0
  299. package/src/efuns/fluffos/zh-cn/objects.zh-cn.h +280 -0
  300. package/src/efuns/fluffos/zh-cn/parsing.zh-cn.h +212 -0
  301. package/src/efuns/fluffos/zh-cn/pcre.zh-cn.h +67 -0
  302. package/src/efuns/fluffos/zh-cn/sockets.zh-cn.h +230 -0
  303. package/src/efuns/fluffos/zh-cn/strings.zh-cn.h +484 -0
  304. package/src/efuns/fluffos/zh-cn/system.zh-cn.h +366 -0
  305. package/src/efuns/ldmud/defines.h +69 -0
  306. package/src/efuns/ldmud/efun.h +10449 -0
  307. package/src/efuns/ldmud/efuns.ldmud.h +87 -0
  308. package/src/efuns/ldmud/lpc-config.json +9 -0
  309. package/src/efuns/ldmud/obsolete.h +2168 -0
  310. package/src/lpc.js +82486 -0
  311. package/src/lpc.js.map +6 -0
  312. package/src/server.js +129 -0
  313. package/src/server.js.map +7 -0
  314. package/types.d.ts +23 -0
  315. package/types.d.ts.map +1 -0
  316. package/utils.d.ts +21 -0
  317. package/utils.d.ts.map +1 -0
@@ -0,0 +1,71 @@
1
+ import { AnyFunction, AssertionLevel, Node, NodeArray, Type, Symbol, SymbolFlags, TypeFlags, ObjectFlags, SignatureFlags, SyntaxKind, NodeFlags, ModifierFlags, FlowNode, FlowFlags, TypeMapper, TypeMapKind, NodeCheckFlags, Macro, VarianceFlags } from "./_namespaces/lpc";
2
+ import * as lpc from "./_namespaces/lpc.js";
3
+ export declare namespace Debug {
4
+ let currentLogLevel: lpc.LogLevel;
5
+ let isDebugging: boolean;
6
+ let loggingHost: LoggingHost | undefined;
7
+ function attachNodeArrayDebugInfo(array: NodeArray<Node>): void;
8
+ function formatVariance(varianceFlags: VarianceFlags): string;
9
+ function formatNodeCheckFlags(flags: NodeCheckFlags | undefined): string;
10
+ function fail(message?: string, stackCrawlMark?: AnyFunction): never;
11
+ function assertLessThan(a: number, b: number, msg?: string, stackCrawlMark?: AnyFunction): void;
12
+ function assertIsDefined<T>(value: T, message?: string, stackCrawlMark?: AnyFunction): asserts value is NonNullable<T>;
13
+ function failBadSyntaxKind(node: Node, message?: string, stackCrawlMark?: AnyFunction): never;
14
+ /**
15
+ * Formats an enum value as a string for debugging and debug assertions.
16
+ */
17
+ function formatEnum(value: number, enumObject: any, isFlags?: boolean): string;
18
+ function formatSymbolFlags(flags: SymbolFlags | undefined): string;
19
+ function formatObjectFlags(flags: ObjectFlags | undefined): string;
20
+ function formatSignatureFlags(flags: SignatureFlags | undefined): string;
21
+ function formatTypeFlags(flags: TypeFlags | undefined): string;
22
+ function assertEachIsDefined<T extends Node>(value: NodeArray<T>, message?: string, stackCrawlMark?: AnyFunction): asserts value is NodeArray<T>;
23
+ function assertEachIsDefined<T>(value: readonly T[], message?: string, stackCrawlMark?: AnyFunction): asserts value is readonly NonNullable<T>[];
24
+ function checkEachDefined<T, A extends readonly T[]>(value: A, message?: string, stackCrawlMark?: AnyFunction): A;
25
+ /**
26
+ * Injects debug information into frequently used types.
27
+ */
28
+ function enableDebugInfo(): void;
29
+ function assertEqual<T>(a: T, b: T, msg?: string, msg2?: string, stackCrawlMark?: AnyFunction): void;
30
+ function assertGreaterThanOrEqual(a: number, b: number, stackCrawlMark?: AnyFunction): void;
31
+ function assertLessThanOrEqual(a: number, b: number, stackCrawlMark?: AnyFunction): void;
32
+ function checkDefined<T>(value: T | null | undefined, message?: string, stackCrawlMark?: AnyFunction): T;
33
+ function formatSyntaxKind(kind: SyntaxKind | undefined): string;
34
+ function formatNodeFlags(flags: NodeFlags | undefined): string;
35
+ function formatModifierFlags(flags: ModifierFlags | undefined): string;
36
+ function assert(expression: unknown, message?: string, verboseDebugInfo?: string | (() => string), stackCrawlMark?: AnyFunction): asserts expression;
37
+ function formatFlowFlags(flags: FlowFlags | undefined): string;
38
+ function attachMacroDebugInfo(macro: Macro): void;
39
+ function attachFlowNodeDebugInfo(flowNode: FlowNode): FlowNode;
40
+ function formatControlFlowGraph(flowNode: FlowNode): string;
41
+ /**
42
+ * Asserts a value has the specified type in typespace only (does not perform a runtime assertion).
43
+ * This is useful in cases where we switch on `node.kind` and can be reasonably sure the type is accurate, and
44
+ * as a result can reduce the number of unnecessary casts.
45
+ */
46
+ function type<T>(value: unknown): asserts value is T;
47
+ type DebugType = Type & {
48
+ __debugTypeToString(): string;
49
+ };
50
+ class DebugTypeMapper {
51
+ kind: TypeMapKind;
52
+ __debugToString(): string;
53
+ }
54
+ function assertNever(member: never, message?: string, stackCrawlMark?: AnyFunction): never;
55
+ function attachDebugPrototypeIfDebug(mapper: TypeMapper): TypeMapper;
56
+ function shouldAssert(level: AssertionLevel): boolean;
57
+ function getFunctionName(func: AnyFunction): any;
58
+ function assertNode<T extends Node, U extends T>(node: T | undefined, test: (node: T) => node is U, message?: string, stackCrawlMark?: AnyFunction): asserts node is U;
59
+ function assertNode(node: Node | undefined, test: ((node: Node) => boolean) | undefined, message?: string, stackCrawlMark?: AnyFunction): void;
60
+ function setAssertionLevel(level: AssertionLevel): void;
61
+ function formatSymbol(symbol: Symbol): string;
62
+ function assertEachNode<T extends Node, U extends T>(nodes: NodeArray<T>, test: (node: T) => node is U, message?: string, stackCrawlMark?: AnyFunction): asserts nodes is NodeArray<U>;
63
+ function assertEachNode<T extends Node, U extends T>(nodes: readonly T[], test: (node: T) => node is U, message?: string, stackCrawlMark?: AnyFunction): asserts nodes is readonly U[];
64
+ function assertEachNode<T extends Node, U extends T>(nodes: NodeArray<T> | undefined, test: (node: T) => node is U, message?: string, stackCrawlMark?: AnyFunction): asserts nodes is NodeArray<U> | undefined;
65
+ function assertEachNode<T extends Node, U extends T>(nodes: readonly T[] | undefined, test: (node: T) => node is U, message?: string, stackCrawlMark?: AnyFunction): asserts nodes is readonly U[] | undefined;
66
+ function assertEachNode(nodes: readonly Node[], test: ((node: Node) => boolean) | undefined, message?: string, stackCrawlMark?: AnyFunction): void;
67
+ function assertOptionalNode<T extends Node, U extends T>(node: T, test: (node: T) => node is U, message?: string, stackCrawlMark?: AnyFunction): asserts node is U;
68
+ function assertOptionalNode<T extends Node, U extends T>(node: T | undefined, test: (node: T) => node is U, message?: string, stackCrawlMark?: AnyFunction): asserts node is U | undefined;
69
+ function assertOptionalNode(node: Node | undefined, test: ((node: Node) => boolean) | undefined, message?: string, stackCrawlMark?: AnyFunction): void;
70
+ }
71
+ //# sourceMappingURL=debug.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug.d.ts","sourceRoot":"./src/","sources":["src/compiler/debug.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,WAAW,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,EAAmB,IAAI,EAAC,MAAM,EAAE,WAAW,EAA8D,SAAS,EAAwC,WAAW,EAAa,cAAc,EAAuE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAkJ,QAAQ,EAAE,SAAS,EAAuD,UAAU,EAAE,WAAW,EAAoC,cAAc,EAA6H,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC9zB,OAAO,KAAK,GAAG,MAAM,sBAAsB,CAAC;AAgB5C,yBAAiB,KAAK,CAAC;IAGZ,IAAI,eAAe,cAAmB,CAAC;IACvC,IAAI,WAAW,SAAQ,CAAC;IACxB,IAAI,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;IAKhD,SAAgB,wBAAwB,CAAC,KAAK,EAAE,SAAS,CAAC,IAAI,CAAC,QAgB9D;IAED,SAAgB,cAAc,CAAC,aAAa,EAAE,aAAa,UAc1D;IAqBD,SAAgB,oBAAoB,CAAC,KAAK,EAAE,cAAc,GAAG,SAAS,GAAG,MAAM,CAE9E;IAED,SAAgB,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,WAAW,GAAG,KAAK,CAQ1E;IAED,SAAgB,cAAc,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAA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W,GAAG,OAAO,CAAC,KAAK,IAAI,SAAS,CAAC,EAAE,GAAG,SAAS,CAAC;IACtN,SAAgB,cAAc,CAAC,KAAK,EAAE,SAAS,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,GAAG,SAAS,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAY1J,SAAgB,kBAAkB,CAAC,CAAC,SAAS,IAAI,EAAE,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,IAAI,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC;IAC1K,SAAgB,kBAAkB,CAAC,CAAC,SAAS,IAAI,EAAE,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,SAAS,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,IAAI,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,IAAI,CAAC,GAAG,SAAS,CAAC;IAClM,SAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,GAAG,SAAS,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CAWjK"}
@@ -0,0 +1,518 @@
1
+ import { DiagnosticMessage } from "./_namespaces/lpc";
2
+ export declare const Diagnostics: {
3
+ Structs_not_supported: DiagnosticMessage;
4
+ Semicolon_expected: DiagnosticMessage;
5
+ Macro_already_defined_0: DiagnosticMessage;
6
+ Missing_argument_for_macro_0: DiagnosticMessage;
7
+ Else_directive_without_if: DiagnosticMessage;
8
+ Elseif_directive_without_if: DiagnosticMessage;
9
+ Unterminated_directive: DiagnosticMessage;
10
+ Expected_newline_after_directive: DiagnosticMessage;
11
+ Pragma_directive_requires_at_least_one_argument: DiagnosticMessage;
12
+ Unexpected_endIf_directive: DiagnosticMessage;
13
+ Catch_expression_modifier_expected: DiagnosticMessage;
14
+ Unterminated_macro_arguments_list: DiagnosticMessage;
15
+ Unmatched_conditional_directive: DiagnosticMessage;
16
+ Identifier_or_string_expected: DiagnosticMessage;
17
+ Character_literal_must_be_one_character: DiagnosticMessage;
18
+ Stringized_literal_only_valid_in_macro: DiagnosticMessage;
19
+ Macro_parameter_0_not_found: DiagnosticMessage;
20
+ Cannot_find_include_file_0: DiagnosticMessage;
21
+ Pragma_option_expected: DiagnosticMessage;
22
+ File_is_master_file_specified_here: DiagnosticMessage;
23
+ Cannot_find_0_Do_you_need_to_change_your_driver_type: DiagnosticMessage;
24
+ When_comparing_types_check_that_the_objectStructure_is_compatible_with_the_target_type: DiagnosticMessage;
25
+ Super_access_can_only_be_used_in_a_file_that_inherits_from_another_file: DiagnosticMessage;
26
+ LPCDoc_var_tag_should_have_a_type_annotation: DiagnosticMessage;
27
+ Include_file_0_contains_one_or_more_errors: DiagnosticMessage;
28
+ LPCDoc_var_tags_must_be_in_their_own_LPCDoc_comment: DiagnosticMessage;
29
+ LPCDoc_var_tags_can_only_annotate_inherited_variables_0_is_a_local_variable: DiagnosticMessage;
30
+ LPCDoc_var_tag_should_provide_a_variable_name: DiagnosticMessage;
31
+ Circular_include_detected_0_to_1: DiagnosticMessage;
32
+ Locale_0_is_not_supported: DiagnosticMessage;
33
+ No_errors: DiagnosticMessage;
34
+ Catch_expression_cannot_also_have_a_block: DiagnosticMessage;
35
+ _0_expected: DiagnosticMessage;
36
+ c_must_be_followed_by_an_ASCII_letter: DiagnosticMessage;
37
+ Undetermined_character_escape: DiagnosticMessage;
38
+ Incomplete_quantifier_Digit_expected: DiagnosticMessage;
39
+ q_is_only_available_inside_character_class: DiagnosticMessage;
40
+ Unexpected_0_Did_you_mean_to_escape_it_with_backslash: DiagnosticMessage;
41
+ Numbers_out_of_order_in_quantifier: DiagnosticMessage;
42
+ Asterisk_Slash_expected: DiagnosticMessage;
43
+ Hexadecimal_digit_expected: DiagnosticMessage;
44
+ Invalid_character: DiagnosticMessage;
45
+ can_only_be_used_at_the_start_of_a_file: DiagnosticMessage;
46
+ File_appears_to_be_binary: DiagnosticMessage;
47
+ Multiple_consecutive_numeric_separators_are_not_permitted: DiagnosticMessage;
48
+ Numeric_separators_are_not_allowed_here: DiagnosticMessage;
49
+ Unterminated_string_literal: DiagnosticMessage;
50
+ An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive: DiagnosticMessage;
51
+ Unexpected_end_of_text: DiagnosticMessage;
52
+ Unterminated_Unicode_escape_sequence: DiagnosticMessage;
53
+ Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended_as_an_escape_sequence_use_the_syntax_0_instead: DiagnosticMessage;
54
+ Octal_escape_sequences_are_not_allowed_Use_the_syntax_0: DiagnosticMessage;
55
+ Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class: DiagnosticMessage;
56
+ Escape_sequence_0_is_not_allowed: DiagnosticMessage;
57
+ This_character_cannot_be_escaped_in_a_regular_expression: DiagnosticMessage;
58
+ Octal_literals_are_not_allowed_Use_the_syntax_0: DiagnosticMessage;
59
+ Binary_digit_expected: DiagnosticMessage;
60
+ Octal_digit_expected: DiagnosticMessage;
61
+ Digit_expected: DiagnosticMessage;
62
+ Decimals_with_leading_zeros_are_not_allowed: DiagnosticMessage;
63
+ A_bigint_literal_cannot_use_exponential_notation: DiagnosticMessage;
64
+ A_bigint_literal_must_be_an_integer: DiagnosticMessage;
65
+ An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal: DiagnosticMessage;
66
+ Variable_declaration_not_allowed_at_this_location: DiagnosticMessage;
67
+ Unknown_keyword_or_identifier_Did_you_mean_0: DiagnosticMessage;
68
+ Unexpected_keyword_or_identifier: DiagnosticMessage;
69
+ Variable_declaration_expected: DiagnosticMessage;
70
+ Declaration_expected: DiagnosticMessage;
71
+ Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here: DiagnosticMessage;
72
+ Identifier_expected: DiagnosticMessage;
73
+ An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses: DiagnosticMessage;
74
+ Unicode_escape_sequence_cannot_appear_here: DiagnosticMessage;
75
+ The_parser_expected_to_find_a_1_to_match_the_0_token_here: DiagnosticMessage;
76
+ Keywords_cannot_contain_escape_characters: DiagnosticMessage;
77
+ Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses: DiagnosticMessage;
78
+ Merge_conflict_marker_encountered: DiagnosticMessage;
79
+ Expression_expected: DiagnosticMessage;
80
+ A_default_clause_cannot_appear_more_than_once_in_a_switch_statement: DiagnosticMessage;
81
+ Cannot_redeclare_block_scoped_variable_0: DiagnosticMessage;
82
+ Duplicate_identifier_0: DiagnosticMessage;
83
+ _0_only_refers_to_a_type_but_is_being_used_as_a_value_here: DiagnosticMessage;
84
+ Circular_definition_of_import_alias_0: DiagnosticMessage;
85
+ _0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0: DiagnosticMessage;
86
+ Cannot_find_name_0_Did_you_mean_1: DiagnosticMessage;
87
+ _0_is_declared_here: DiagnosticMessage;
88
+ No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer: DiagnosticMessage;
89
+ Cannot_find_name_0: DiagnosticMessage;
90
+ _0_is_deprecated: DiagnosticMessage;
91
+ The_signature_0_of_1_is_deprecated: DiagnosticMessage;
92
+ The_declaration_was_marked_as_deprecated_here: DiagnosticMessage;
93
+ Cannot_assign_to_0_because_it_is_a_function: DiagnosticMessage;
94
+ Cannot_assign_to_0_because_it_is_not_a_variable: DiagnosticMessage;
95
+ Variable_0_is_used_before_being_assigned: DiagnosticMessage;
96
+ Unreachable_code_detected: DiagnosticMessage;
97
+ _0_is_declared_but_its_value_is_never_read: DiagnosticMessage;
98
+ All_variables_are_unused: DiagnosticMessage;
99
+ A_function_returning_never_cannot_have_a_reachable_end_point: DiagnosticMessage;
100
+ A_function_whose_declared_type_is_not_void_must_return_a_value: DiagnosticMessage;
101
+ Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined: DiagnosticMessage;
102
+ Not_all_code_paths_return_a_value: DiagnosticMessage;
103
+ A_0_parameter_must_be_the_first_parameter: DiagnosticMessage;
104
+ A_rest_parameter_must_be_of_an_array_type: DiagnosticMessage;
105
+ File_0_not_found: DiagnosticMessage;
106
+ A_file_cannot_have_a_reference_to_itself: DiagnosticMessage;
107
+ Cannot_read_file_0_Colon_1: DiagnosticMessage;
108
+ Already_included_file_name_0_differs_from_file_name_1_only_in_casing: DiagnosticMessage;
109
+ File_name_0_differs_from_already_included_file_name_1_only_in_casing: DiagnosticMessage;
110
+ _0_is_of_type_unknown: DiagnosticMessage;
111
+ Object_is_of_type_unknown: DiagnosticMessage;
112
+ Cannot_invoke_an_object_which_is_possibly_null_or_undefined: DiagnosticMessage;
113
+ Cannot_invoke_an_object_which_is_possibly_null: DiagnosticMessage;
114
+ Cannot_invoke_an_object_which_is_possibly_undefined: DiagnosticMessage;
115
+ Are_you_missing_a_semicolon: DiagnosticMessage;
116
+ Value_of_type_0_is_not_callable_Did_you_mean_to_include_new: DiagnosticMessage;
117
+ Type_0_has_no_call_signatures: DiagnosticMessage;
118
+ Type_0_has_no_construct_signatures: DiagnosticMessage;
119
+ Not_all_constituents_of_type_0_are_callable: DiagnosticMessage;
120
+ Not_all_constituents_of_type_0_are_constructable: DiagnosticMessage;
121
+ No_constituent_of_type_0_is_callable: DiagnosticMessage;
122
+ No_constituent_of_type_0_is_constructable: DiagnosticMessage;
123
+ Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other: DiagnosticMessage;
124
+ Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other: DiagnosticMessage;
125
+ This_expression_is_not_callable: DiagnosticMessage;
126
+ This_expression_is_not_constructable: DiagnosticMessage;
127
+ An_expression_of_type_void_cannot_be_tested_for_truthiness: DiagnosticMessage;
128
+ This_condition_will_always_return_0: DiagnosticMessage;
129
+ This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead: DiagnosticMessage;
130
+ The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead: DiagnosticMessage;
131
+ The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type: DiagnosticMessage;
132
+ The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type: DiagnosticMessage;
133
+ This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value: DiagnosticMessage;
134
+ Left_side_of_comma_operator_is_unused_and_has_no_side_effects: DiagnosticMessage;
135
+ The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access: DiagnosticMessage;
136
+ Did_you_mean_to_use_new_with_this_expression: DiagnosticMessage;
137
+ Operator_0_cannot_be_applied_to_types_1_and_2: DiagnosticMessage;
138
+ This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap: DiagnosticMessage;
139
+ Did_you_mean_to_call_this_expression: DiagnosticMessage;
140
+ _0_was_also_declared_here: DiagnosticMessage;
141
+ and_here: DiagnosticMessage;
142
+ The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access: DiagnosticMessage;
143
+ Did_you_mean_0: DiagnosticMessage;
144
+ An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type: DiagnosticMessage;
145
+ The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access: DiagnosticMessage;
146
+ The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access: DiagnosticMessage;
147
+ Operator_0_cannot_be_applied_to_type_1: DiagnosticMessage;
148
+ The_body_of_an_if_statement_cannot_be_the_empty_statement: DiagnosticMessage;
149
+ Index_signature_in_type_0_only_permits_reading: DiagnosticMessage;
150
+ Property_0_is_used_before_being_assigned: DiagnosticMessage;
151
+ All_declarations_of_0_must_have_identical_modifiers: DiagnosticMessage;
152
+ Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1: DiagnosticMessage;
153
+ Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2: DiagnosticMessage;
154
+ Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2: DiagnosticMessage;
155
+ Type_instantiation_is_excessively_deep_and_possibly_infinite: DiagnosticMessage;
156
+ Object_literal_s_property_0_implicitly_has_an_1_type: DiagnosticMessage;
157
+ Type_arguments_for_0_circularly_reference_themselves: DiagnosticMessage;
158
+ Tuple_type_arguments_circularly_reference_themselves: DiagnosticMessage;
159
+ A_return_statement_can_only_be_used_within_a_function_body: DiagnosticMessage;
160
+ Return_type_annotation_circularly_references_itself: DiagnosticMessage;
161
+ _0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions: DiagnosticMessage;
162
+ Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions: DiagnosticMessage;
163
+ Types_of_property_0_are_incompatible: DiagnosticMessage;
164
+ Call_signature_return_types_0_and_1_are_incompatible: DiagnosticMessage;
165
+ Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1: DiagnosticMessage;
166
+ Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target: DiagnosticMessage;
167
+ Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target: DiagnosticMessage;
168
+ The_types_of_0_are_incompatible_between_these_types: DiagnosticMessage;
169
+ The_types_returned_by_0_are_incompatible_between_these_types: DiagnosticMessage;
170
+ Type_0_is_not_comparable_to_type_1: DiagnosticMessage;
171
+ Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated: DiagnosticMessage;
172
+ Type_0_is_not_assignable_to_type_1_Did_you_mean_2: DiagnosticMessage;
173
+ Type_0_is_not_assignable_to_type_1: DiagnosticMessage;
174
+ Argument_of_type_0_is_not_assignable_to_parameter_of_type_1: DiagnosticMessage;
175
+ _0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible: DiagnosticMessage;
176
+ The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead: DiagnosticMessage;
177
+ Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it: DiagnosticMessage;
178
+ Type_0_has_no_properties_in_common_with_type_1: DiagnosticMessage;
179
+ Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2: DiagnosticMessage;
180
+ Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1: DiagnosticMessage;
181
+ The_containing_function_or_module_body_is_too_large_for_control_flow_analysis: DiagnosticMessage;
182
+ Expression_produces_a_union_type_that_is_too_complex_to_represent: DiagnosticMessage;
183
+ Cannot_find_global_type_0: DiagnosticMessage;
184
+ Global_type_0_must_be_a_class_or_interface_type: DiagnosticMessage;
185
+ Global_type_0_must_have_1_type_parameter_s: DiagnosticMessage;
186
+ Excessive_complexity_comparing_types_0_and_1: DiagnosticMessage;
187
+ Excessive_stack_depth_comparing_types_0_and_1: DiagnosticMessage;
188
+ The_last_overload_gave_the_following_error: DiagnosticMessage;
189
+ No_overload_matches_this_call: DiagnosticMessage;
190
+ The_last_overload_is_declared_here: DiagnosticMessage;
191
+ Overload_0_of_1_2_gave_the_following_error: DiagnosticMessage;
192
+ A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter: DiagnosticMessage;
193
+ Expected_0_arguments_but_got_1: DiagnosticMessage;
194
+ Expected_at_least_0_arguments_but_got_1: DiagnosticMessage;
195
+ No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments: DiagnosticMessage;
196
+ An_argument_for_0_was_not_provided: DiagnosticMessage;
197
+ An_argument_matching_this_binding_pattern_was_not_provided: DiagnosticMessage;
198
+ Arguments_for_the_rest_parameter_0_were_not_provided: DiagnosticMessage;
199
+ The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible: DiagnosticMessage;
200
+ Cannot_read_file_0: DiagnosticMessage;
201
+ The_files_list_in_config_file_0_is_empty: DiagnosticMessage;
202
+ Compiler_option_0_requires_a_value_of_type_1: DiagnosticMessage;
203
+ File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: DiagnosticMessage;
204
+ File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: DiagnosticMessage;
205
+ Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2: DiagnosticMessage;
206
+ Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3: DiagnosticMessage;
207
+ Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved: DiagnosticMessage;
208
+ Expected_0_type_arguments_but_got_1: DiagnosticMessage;
209
+ No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments: DiagnosticMessage;
210
+ Cannot_find_object_0: DiagnosticMessage;
211
+ Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set: DiagnosticMessage;
212
+ File_0_is_not_a_module: DiagnosticMessage;
213
+ Clone_object_can_only_accept_an_object_name_and_an_optional_set_of_attributes_as_arguments_1450: DiagnosticMessage;
214
+ Clone_object_s_specifier_must_be_of_type_string_but_here_has_type_0: DiagnosticMessage;
215
+ Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified: DiagnosticMessage;
216
+ Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1: DiagnosticMessage;
217
+ Resolving_module_0_from_1: DiagnosticMessage;
218
+ Using_compiler_options_of_project_reference_redirect_0: DiagnosticMessage;
219
+ Resolution_for_module_0_was_found_in_cache_from_location_1: DiagnosticMessage;
220
+ Module_resolution_kind_is_not_specified_using_0: DiagnosticMessage;
221
+ Explicitly_specified_module_resolution_kind_Colon_0: DiagnosticMessage;
222
+ Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2: DiagnosticMessage;
223
+ Module_name_0_was_successfully_resolved_to_1: DiagnosticMessage;
224
+ Module_name_0_was_not_resolved: DiagnosticMessage;
225
+ Resolving_real_path_for_0_result_1: DiagnosticMessage;
226
+ rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0: DiagnosticMessage;
227
+ Checking_if_0_is_the_longest_matching_prefix_for_1_2: DiagnosticMessage;
228
+ Longest_matching_prefix_for_0_is_1: DiagnosticMessage;
229
+ Loading_0_from_the_root_dir_1_candidate_location_2: DiagnosticMessage;
230
+ Trying_other_entries_in_rootDirs: DiagnosticMessage;
231
+ Module_resolution_using_rootDirs_has_failed: DiagnosticMessage;
232
+ File_0_exists_use_it_as_a_name_resolution_result: DiagnosticMessage;
233
+ File_0_does_not_exist: DiagnosticMessage;
234
+ Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0: DiagnosticMessage;
235
+ Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0: DiagnosticMessage;
236
+ Directory_0_does_not_exist_skipping_all_lookups_in_it: DiagnosticMessage;
237
+ File_name_0_has_a_1_extension_stripping_it: DiagnosticMessage;
238
+ Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity: DiagnosticMessage;
239
+ You_cannot_rename_this_element: DiagnosticMessage;
240
+ You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library: DiagnosticMessage;
241
+ You_cannot_rename_a_module_via_a_global_import: DiagnosticMessage;
242
+ Add_missing_comma_for_object_member_completion_0: DiagnosticMessage;
243
+ Duplicate_index_signature_for_type_0: DiagnosticMessage;
244
+ Type_0_is_not_generic: DiagnosticMessage;
245
+ Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first: DiagnosticMessage;
246
+ Type_alias_0_circularly_references_itself: DiagnosticMessage;
247
+ An_element_access_expression_should_take_an_argument: DiagnosticMessage;
248
+ Type_0_is_generic_and_can_only_be_indexed_for_reading: DiagnosticMessage;
249
+ Type_0_cannot_be_used_to_index_type_1: DiagnosticMessage;
250
+ Type_0_cannot_be_used_as_an_index_type: DiagnosticMessage;
251
+ Property_0_does_not_exist_on_type_1: DiagnosticMessage;
252
+ Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number: DiagnosticMessage;
253
+ Property_0_does_not_exist_on_type_1_Did_you_mean_2: DiagnosticMessage;
254
+ Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1: DiagnosticMessage;
255
+ No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1: DiagnosticMessage;
256
+ Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1: DiagnosticMessage;
257
+ Type_0_has_no_matching_index_signature_for_type_1: DiagnosticMessage;
258
+ Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator: DiagnosticMessage;
259
+ Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator: DiagnosticMessage;
260
+ Type_0_is_not_an_array_type_or_a_string_type: DiagnosticMessage;
261
+ Type_0_is_not_an_array_type: DiagnosticMessage;
262
+ A_type_literal_property_cannot_have_an_initializer: DiagnosticMessage;
263
+ A_mapped_type_may_not_declare_properties_or_methods: DiagnosticMessage;
264
+ Property_0_may_not_exist_on_type_1_Did_you_mean_2: DiagnosticMessage;
265
+ A_computed_property_name_must_be_of_type_string_number_symbol_or_any: DiagnosticMessage;
266
+ Property_0_was_also_declared_here: DiagnosticMessage;
267
+ Duplicate_property_0: DiagnosticMessage;
268
+ Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator: DiagnosticMessage;
269
+ Declaration_name_conflicts_with_built_in_global_identifier_0: DiagnosticMessage;
270
+ The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer: DiagnosticMessage;
271
+ The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any: DiagnosticMessage;
272
+ The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access: DiagnosticMessage;
273
+ The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access: DiagnosticMessage;
274
+ The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0: DiagnosticMessage;
275
+ A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation: DiagnosticMessage;
276
+ The_value_0_cannot_be_used_here: DiagnosticMessage;
277
+ _0_is_possibly_undefined: DiagnosticMessage;
278
+ Object_is_possibly_undefined: DiagnosticMessage;
279
+ The_expected_type_comes_from_the_return_type_of_this_signature: DiagnosticMessage;
280
+ _0_needs_an_explicit_type_annotation: DiagnosticMessage;
281
+ Overload_signatures_must_all_be_public_private_or_protected: DiagnosticMessage;
282
+ Function_overload_must_not_be_static: DiagnosticMessage;
283
+ Function_implementation_name_must_be_0: DiagnosticMessage;
284
+ Function_implementation_is_missing_or_not_immediately_following_the_declaration: DiagnosticMessage;
285
+ Duplicate_function_implementation: DiagnosticMessage;
286
+ Class_declaration_cannot_implement_overload_list_for_0: DiagnosticMessage;
287
+ Function_with_bodies_can_only_merge_with_classes_that_are_ambient: DiagnosticMessage;
288
+ This_overload_signature_is_not_compatible_with_its_implementation_signature: DiagnosticMessage;
289
+ The_implementation_signature_is_declared_here: DiagnosticMessage;
290
+ Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1: DiagnosticMessage;
291
+ Types_of_parameters_0_and_1_are_incompatible: DiagnosticMessage;
292
+ Signature_0_must_be_a_type_predicate: DiagnosticMessage;
293
+ _0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer: DiagnosticMessage;
294
+ _0_is_referenced_directly_or_indirectly_in_its_own_type_annotation: DiagnosticMessage;
295
+ Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members: DiagnosticMessage;
296
+ Type_0_recursively_references_itself_as_a_base_type: DiagnosticMessage;
297
+ _0_is_referenced_directly_or_indirectly_in_its_own_base_expression: DiagnosticMessage;
298
+ Type_0_is_not_a_constructor_function_type: DiagnosticMessage;
299
+ A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag: DiagnosticMessage;
300
+ _0_tag_already_specified: DiagnosticMessage;
301
+ Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces: DiagnosticMessage;
302
+ A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags: DiagnosticMessage;
303
+ The_tag_was_first_specified_here: DiagnosticMessage;
304
+ Unexpected_token: DiagnosticMessage;
305
+ Circularity_detected_while_resolving_configuration_Colon_0: DiagnosticMessage;
306
+ String_literal_with_double_quotes_expected: DiagnosticMessage;
307
+ Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal: DiagnosticMessage;
308
+ Unknown_option_excludes_Did_you_mean_exclude: DiagnosticMessage;
309
+ Command_line_Options: DiagnosticMessage;
310
+ Type_Checking: DiagnosticMessage;
311
+ Language_and_Environment: DiagnosticMessage;
312
+ Disable_including_any_library_files_including_the_default_efun_h: DiagnosticMessage;
313
+ When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible: DiagnosticMessage;
314
+ Enable_verbose_logging: DiagnosticMessage;
315
+ Print_this_message: DiagnosticMessage;
316
+ Watch_input_files: DiagnosticMessage;
317
+ Output_Formatting: DiagnosticMessage;
318
+ Disable_wiping_the_console_in_watch_mode: DiagnosticMessage;
319
+ Compiler_Diagnostics: DiagnosticMessage;
320
+ Print_all_of_the_files_read_during_the_compilation: DiagnosticMessage;
321
+ Print_files_read_during_the_compilation_including_why_it_was_included: DiagnosticMessage;
322
+ Print_the_names_of_emitted_files_after_a_compilation: DiagnosticMessage;
323
+ Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read: DiagnosticMessage;
324
+ Log_paths_used_during_the_moduleResolution_process: DiagnosticMessage;
325
+ Output_compiler_performance_information_after_building: DiagnosticMessage;
326
+ Output_more_detailed_compiler_performance_information_after_building: DiagnosticMessage;
327
+ FILE_OR_DIRECTORY: DiagnosticMessage;
328
+ KIND: DiagnosticMessage;
329
+ FILE: DiagnosticMessage;
330
+ VERSION: DiagnosticMessage;
331
+ LOCATION: DiagnosticMessage;
332
+ DIRECTORY: DiagnosticMessage;
333
+ STRATEGY: DiagnosticMessage;
334
+ Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging: DiagnosticMessage;
335
+ Generates_an_event_trace_and_a_list_of_types: DiagnosticMessage;
336
+ Projects: DiagnosticMessage;
337
+ Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects: DiagnosticMessage;
338
+ false_unless_composite_is_set: DiagnosticMessage;
339
+ Emit: DiagnosticMessage;
340
+ Create_source_map_files_for_emitted_JavaScript_files: DiagnosticMessage;
341
+ Include_sourcemap_files_inside_the_emitted_JavaScript: DiagnosticMessage;
342
+ Watch_and_Build_Modes: DiagnosticMessage;
343
+ Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it: DiagnosticMessage;
344
+ Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit: DiagnosticMessage;
345
+ Platform_specific: DiagnosticMessage;
346
+ Property_assignment_expected: DiagnosticMessage;
347
+ Compiler_option_0_may_only_be_used_with_build: DiagnosticMessage;
348
+ Unknown_compiler_option_0: DiagnosticMessage;
349
+ Unknown_compiler_option_0_Did_you_mean_1: DiagnosticMessage;
350
+ Compiler_option_0_expects_an_argument: DiagnosticMessage;
351
+ Option_0_can_only_be_specified_on_command_line: DiagnosticMessage;
352
+ Compiler_option_0_cannot_be_given_an_empty_string: DiagnosticMessage;
353
+ File_Management: DiagnosticMessage;
354
+ if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk: DiagnosticMessage;
355
+ node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified: DiagnosticMessage;
356
+ The_root_value_of_a_0_file_must_be_an_object: DiagnosticMessage;
357
+ Argument_for_0_option_must_be_Colon_1: DiagnosticMessage;
358
+ _0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file: DiagnosticMessage;
359
+ No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2: DiagnosticMessage;
360
+ Untyped_function_calls_may_not_accept_type_arguments: DiagnosticMessage;
361
+ Declaration_or_statement_expected: DiagnosticMessage;
362
+ case_or_default_expected: DiagnosticMessage;
363
+ Statement_expected: DiagnosticMessage;
364
+ Property_or_signature_expected: DiagnosticMessage;
365
+ Unexpected_token_A_constructor_method_accessor_or_property_was_expected: DiagnosticMessage;
366
+ _0_is_not_allowed_as_a_variable_declaration_name: DiagnosticMessage;
367
+ Property_destructuring_pattern_expected: DiagnosticMessage;
368
+ Array_element_destructuring_pattern_expected: DiagnosticMessage;
369
+ Argument_expression_expected: DiagnosticMessage;
370
+ Expression_or_comma_expected: DiagnosticMessage;
371
+ Parameter_declaration_expected: DiagnosticMessage;
372
+ _0_is_not_allowed_as_a_parameter_name: DiagnosticMessage;
373
+ Type_parameter_declaration_expected: DiagnosticMessage;
374
+ Type_argument_expected: DiagnosticMessage;
375
+ Type_expected: DiagnosticMessage;
376
+ Unexpected_token_expected: DiagnosticMessage;
377
+ Found_1_error_in_0: DiagnosticMessage;
378
+ Found_1_error: DiagnosticMessage;
379
+ Found_0_errors: DiagnosticMessage;
380
+ Found_0_errors_in_the_same_file_starting_at_Colon_1: DiagnosticMessage;
381
+ Found_0_errors_in_1_files: DiagnosticMessage;
382
+ Errors_Files: DiagnosticMessage;
383
+ File_is_output_of_project_reference_source_0: DiagnosticMessage;
384
+ The_file_is_in_the_program_because_Colon: DiagnosticMessage;
385
+ Root_file_specified_for_compilation: DiagnosticMessage;
386
+ Part_of_files_list_in_lpcconfig_json: DiagnosticMessage;
387
+ Matched_by_include_pattern_0_in_1: DiagnosticMessage;
388
+ Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk: DiagnosticMessage;
389
+ Output_from_referenced_project_0_included_because_1_specified: DiagnosticMessage;
390
+ Source_from_referenced_project_0_included_because_1_specified: DiagnosticMessage;
391
+ Output_from_referenced_project_0_included_because_module_is_specified_as_none: DiagnosticMessage;
392
+ Source_from_referenced_project_0_included_because_module_is_specified_as_none: DiagnosticMessage;
393
+ Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1: DiagnosticMessage;
394
+ Entry_point_of_type_library_0_specified_in_compilerOptions: DiagnosticMessage;
395
+ Entry_point_for_implicit_type_library_0_with_packageId_1: DiagnosticMessage;
396
+ Library_0_specified_in_compilerOptions: DiagnosticMessage;
397
+ Default_library_for_target_0: DiagnosticMessage;
398
+ Default_library: DiagnosticMessage;
399
+ File_is_included_via_import_here: DiagnosticMessage;
400
+ File_is_included_via_reference_here: DiagnosticMessage;
401
+ File_is_included_via_type_library_reference_here: DiagnosticMessage;
402
+ File_is_included_via_library_reference_here: DiagnosticMessage;
403
+ Cannot_find_lib_definition_for_0_Did_you_mean_1: DiagnosticMessage;
404
+ Cannot_find_lib_definition_for_0: DiagnosticMessage;
405
+ Modifiers_cannot_appear_here: DiagnosticMessage;
406
+ _0_modifier_cannot_appear_on_a_type_member: DiagnosticMessage;
407
+ _0_modifier_cannot_appear_on_an_index_signature: DiagnosticMessage;
408
+ Accessibility_modifier_already_seen: DiagnosticMessage;
409
+ _0_modifier_already_seen: DiagnosticMessage;
410
+ _0_modifier_cannot_appear_on_a_parameter: DiagnosticMessage;
411
+ A_parameter_property_may_not_be_declared_using_a_binding_pattern: DiagnosticMessage;
412
+ A_parameter_property_cannot_be_declared_using_a_rest_parameter: DiagnosticMessage;
413
+ _0_modifier_must_precede_1_modifier: DiagnosticMessage;
414
+ JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type: DiagnosticMessage;
415
+ Qualified_name_0_is_not_allowed_without_a_leading_param_object_1: DiagnosticMessage;
416
+ JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name: DiagnosticMessage;
417
+ A_rest_parameter_must_be_last_in_a_parameter_list: DiagnosticMessage;
418
+ A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma: DiagnosticMessage;
419
+ Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation: DiagnosticMessage;
420
+ Trailing_comma_not_allowed: DiagnosticMessage;
421
+ A_rest_parameter_cannot_have_an_initializer: DiagnosticMessage;
422
+ Block_scoped_variable_0_used_before_its_declaration: DiagnosticMessage;
423
+ Class_0_used_before_its_declaration: DiagnosticMessage;
424
+ Jump_target_cannot_cross_function_boundary: DiagnosticMessage;
425
+ A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement: DiagnosticMessage;
426
+ A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement: DiagnosticMessage;
427
+ A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement: DiagnosticMessage;
428
+ A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement: DiagnosticMessage;
429
+ Fallthrough_case_in_switch: DiagnosticMessage;
430
+ A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods: DiagnosticMessage;
431
+ A_type_predicate_cannot_reference_a_rest_parameter: DiagnosticMessage;
432
+ A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type: DiagnosticMessage;
433
+ Cannot_find_parameter_0: DiagnosticMessage;
434
+ A_type_predicate_cannot_reference_element_0_in_a_binding_pattern: DiagnosticMessage;
435
+ The_type_of_a_function_declaration_must_match_the_function_s_signature: DiagnosticMessage;
436
+ Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name: DiagnosticMessage;
437
+ Specify_the_root_folder_within_your_source_files: DiagnosticMessage;
438
+ Computed_from_the_list_of_input_files: DiagnosticMessage;
439
+ Imported_via_0_from_file_1: DiagnosticMessage;
440
+ Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions: DiagnosticMessage;
441
+ Referenced_via_0_from_file_1: DiagnosticMessage;
442
+ Library_referenced_via_0_from_file_1: DiagnosticMessage;
443
+ File_is_matched_by_files_list_specified_here: DiagnosticMessage;
444
+ File_is_matched_by_include_pattern_specified_here: DiagnosticMessage;
445
+ File_is_output_from_referenced_project_specified_here: DiagnosticMessage;
446
+ File_is_source_from_referenced_project_specified_here: DiagnosticMessage;
447
+ File_is_entry_point_of_type_library_specified_here: DiagnosticMessage;
448
+ File_is_library_specified_here: DiagnosticMessage;
449
+ File_is_default_library_for_target_specified_here: DiagnosticMessage;
450
+ Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3: DiagnosticMessage;
451
+ Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2: DiagnosticMessage;
452
+ Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved: DiagnosticMessage;
453
+ Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2: DiagnosticMessage;
454
+ Source_has_0_element_s_but_target_requires_1: DiagnosticMessage;
455
+ Source_has_0_element_s_but_target_allows_only_1: DiagnosticMessage;
456
+ Target_requires_0_element_s_but_source_may_have_fewer: DiagnosticMessage;
457
+ Target_allows_only_0_element_s_but_source_may_have_more: DiagnosticMessage;
458
+ Source_provides_no_match_for_variadic_element_at_position_0_in_target: DiagnosticMessage;
459
+ Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target: DiagnosticMessage;
460
+ Source_provides_no_match_for_required_element_at_position_0_in_target: DiagnosticMessage;
461
+ Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2: DiagnosticMessage;
462
+ Class_0_incorrectly_implements_interface_1: DiagnosticMessage;
463
+ Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass: DiagnosticMessage;
464
+ Property_0_is_missing_in_type_1_but_required_in_type_2: DiagnosticMessage;
465
+ Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more: DiagnosticMessage;
466
+ Type_0_is_missing_the_following_properties_from_type_1_Colon_2: DiagnosticMessage;
467
+ Types_have_separate_declarations_of_a_private_property_0: DiagnosticMessage;
468
+ Property_0_is_private_in_type_1_but_not_in_type_2: DiagnosticMessage;
469
+ Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2: DiagnosticMessage;
470
+ Property_0_is_protected_in_type_1_but_public_in_type_2: DiagnosticMessage;
471
+ Property_0_is_optional_in_type_1_but_required_in_type_2: DiagnosticMessage;
472
+ Index_signature_for_type_0_is_missing_in_type_1: DiagnosticMessage;
473
+ _0_index_signatures_are_incompatible: DiagnosticMessage;
474
+ _0_and_1_index_signatures_are_incompatible: DiagnosticMessage;
475
+ Property_0_is_incompatible_with_index_signature: DiagnosticMessage;
476
+ Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type: DiagnosticMessage;
477
+ Type_0_provides_no_match_for_the_signature_1: DiagnosticMessage;
478
+ Type_produces_a_tuple_type_that_is_too_large_to_represent: DiagnosticMessage;
479
+ Expression_produces_a_tuple_type_that_is_too_large_to_represent: DiagnosticMessage;
480
+ All_type_parameters_are_unused: DiagnosticMessage;
481
+ JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags: DiagnosticMessage;
482
+ Type_alias_name_cannot_be_0: DiagnosticMessage;
483
+ Type_parameter_0_has_a_circular_default: DiagnosticMessage;
484
+ Type_parameter_name_cannot_be_0: DiagnosticMessage;
485
+ Required_type_parameters_may_not_follow_optional_type_parameters: DiagnosticMessage;
486
+ Type_parameter_defaults_can_only_reference_previously_declared_type_parameters: DiagnosticMessage;
487
+ Type_0_does_not_satisfy_the_constraint_1: DiagnosticMessage;
488
+ Property_0_of_type_1_is_not_assignable_to_2_index_type_3: DiagnosticMessage;
489
+ _0_index_type_1_is_not_assignable_to_2_index_type_3: DiagnosticMessage;
490
+ Type_parameter_0_has_a_circular_constraint: DiagnosticMessage;
491
+ Circularity_originates_in_type_at_this_location: DiagnosticMessage;
492
+ Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter: DiagnosticMessage;
493
+ Cannot_assign_to_0_because_it_is_a_read_only_property: DiagnosticMessage;
494
+ A_tuple_type_cannot_be_indexed_with_a_negative_value: DiagnosticMessage;
495
+ Tuple_type_0_of_length_1_has_no_element_at_index_2: DiagnosticMessage;
496
+ _0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2: DiagnosticMessage;
497
+ _0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1: DiagnosticMessage;
498
+ The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1: DiagnosticMessage;
499
+ This_type_parameter_might_need_an_extends_0_constraint: DiagnosticMessage;
500
+ Type_of_property_0_circularly_references_itself_in_mapped_type_1: DiagnosticMessage;
501
+ false_unless_strict_is_set: DiagnosticMessage;
502
+ Generic_type_0_requires_1_type_argument_s: DiagnosticMessage;
503
+ Generic_type_0_requires_between_1_and_2_type_arguments: DiagnosticMessage;
504
+ Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types: DiagnosticMessage;
505
+ Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation: DiagnosticMessage;
506
+ Type_parameter_list_cannot_be_empty: DiagnosticMessage;
507
+ Type_argument_list_cannot_be_empty: DiagnosticMessage;
508
+ JSDoc_types_can_only_be_used_inside_documentation_comments: DiagnosticMessage;
509
+ Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1: DiagnosticMessage;
510
+ Unable_to_open_file_0: DiagnosticMessage;
511
+ Corrupted_locale_file_0: DiagnosticMessage;
512
+ Version_0: DiagnosticMessage;
513
+ Unused_lpc_expect_error_directive: DiagnosticMessage;
514
+ The_left_hand_side_of_a_for_each_statement_cannot_be_a_destructuring_pattern: DiagnosticMessage;
515
+ The_left_hand_side_of_a_for_each_mapping_statement_must_be_a_variable_or_a_property_access: DiagnosticMessage;
516
+ Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found: DiagnosticMessage;
517
+ };
518
+ //# sourceMappingURL=diagnosticInformation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"diagnosticInformation.d.ts","sourceRoot":"./src/","sources":["src/compiler/diagnosticInformation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAM1E,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6gBvB,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { Node, Printer, PrinterOptions, PrintHandlers, SourceFile } from "./_namespaces/lpc.js";
2
+ export declare function createPrinter(printerOptions?: PrinterOptions, handlers?: PrintHandlers): Printer;
3
+ export declare function emitNodeAsJsText(node: Node, sourceFile: SourceFile): string;
4
+ /**
5
+ * Creates a printer that will emit code as
6
+ * @param printerOptions
7
+ * @param handlers
8
+ * @returns
9
+ */
10
+ export declare function createJsPrinter(printerOptions?: PrinterOptions, handlers?: PrintHandlers): Printer;
11
+ //# sourceMappingURL=emitter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emitter.d.ts","sourceRoot":"./src/","sources":["src/compiler/emitter.ts"],"names":[],"mappings":"AACA,OAAO,EAAoT,IAAI,EAAkE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAuB,UAAU,EAAwuF,MAAM,sBAAsB,CAAC;AA4C7sG,wBAAgB,aAAa,CAAC,cAAc,GAAE,cAAmB,EAAE,QAAQ,GAAE,aAAkB,GAAG,OAAO,CAyjFxG;AAuED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,GAAG,MAAM,CAyC3E;AAGD;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,cAAc,GAAE,cAAmB,EAAE,QAAQ,GAAE,aAAkB,GAAG,OAAO,CAwrF1G"}