@harmoniclabs/pebble 0.1.0-dev0 → 0.1.0-dev2

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 (769) hide show
  1. package/package.json +1 -1
  2. package/dist/IR/IRHash.d.ts +0 -8
  3. package/dist/IR/IRHash.js +0 -78
  4. package/dist/IR/IRNodeKind.d.ts +0 -17
  5. package/dist/IR/IRNodeKind.js +0 -19
  6. package/dist/IR/IRNodes/BaseIRMetadata.d.ts +0 -3
  7. package/dist/IR/IRNodes/BaseIRMetadata.js +0 -1
  8. package/dist/IR/IRNodes/IRApp.d.ts +0 -36
  9. package/dist/IR/IRNodes/IRApp.js +0 -91
  10. package/dist/IR/IRNodes/IRCase.d.ts +0 -32
  11. package/dist/IR/IRNodes/IRCase.js +0 -91
  12. package/dist/IR/IRNodes/IRConst.d.ts +0 -49
  13. package/dist/IR/IRNodes/IRConst.js +0 -273
  14. package/dist/IR/IRNodes/IRConstr.d.ts +0 -30
  15. package/dist/IR/IRNodes/IRConstr.js +0 -87
  16. package/dist/IR/IRNodes/IRDelayed.d.ts +0 -31
  17. package/dist/IR/IRNodes/IRDelayed.js +0 -68
  18. package/dist/IR/IRNodes/IRError.d.ts +0 -32
  19. package/dist/IR/IRNodes/IRError.js +0 -44
  20. package/dist/IR/IRNodes/IRForced.d.ts +0 -31
  21. package/dist/IR/IRNodes/IRForced.js +0 -69
  22. package/dist/IR/IRNodes/IRFunc.d.ts +0 -33
  23. package/dist/IR/IRNodes/IRFunc.js +0 -91
  24. package/dist/IR/IRNodes/IRHoisted.d.ts +0 -55
  25. package/dist/IR/IRNodes/IRHoisted.js +0 -212
  26. package/dist/IR/IRNodes/IRLetted.d.ts +0 -108
  27. package/dist/IR/IRNodes/IRLetted.js +0 -444
  28. package/dist/IR/IRNodes/IRNative/IRNativeTag.d.ts +0 -138
  29. package/dist/IR/IRNodes/IRNative/IRNativeTag.js +0 -204
  30. package/dist/IR/IRNodes/IRNative/index.d.ts +0 -165
  31. package/dist/IR/IRNodes/IRNative/index.js +0 -240
  32. package/dist/IR/IRNodes/IRNative/isForcedNative.d.ts +0 -3
  33. package/dist/IR/IRNodes/IRNative/isForcedNative.js +0 -18
  34. package/dist/IR/IRNodes/IRRecursive.d.ts +0 -29
  35. package/dist/IR/IRNodes/IRRecursive.js +0 -90
  36. package/dist/IR/IRNodes/IRSelfCall.d.ts +0 -46
  37. package/dist/IR/IRNodes/IRSelfCall.js +0 -127
  38. package/dist/IR/IRNodes/IRVar.d.ts +0 -41
  39. package/dist/IR/IRNodes/IRVar.js +0 -93
  40. package/dist/IR/IRNodes/index.d.ts +0 -12
  41. package/dist/IR/IRNodes/index.js +0 -12
  42. package/dist/IR/IRNodes/utils/dependsByDbns.d.ts +0 -5
  43. package/dist/IR/IRNodes/utils/dependsByDbns.js +0 -29
  44. package/dist/IR/IRNodes/utils/isClosedAtDbn.d.ts +0 -2
  45. package/dist/IR/IRNodes/utils/isClosedAtDbn.js +0 -22
  46. package/dist/IR/IRNodes/utils/makeArrayLikeProxy.d.ts +0 -1
  47. package/dist/IR/IRNodes/utils/makeArrayLikeProxy.js +0 -34
  48. package/dist/IR/IRNodes/utils/mapArrayLike.d.ts +0 -1
  49. package/dist/IR/IRNodes/utils/mapArrayLike.js +0 -8
  50. package/dist/IR/IRTerm.d.ts +0 -15
  51. package/dist/IR/IRTerm.js +0 -1
  52. package/dist/IR/index.d.ts +0 -5
  53. package/dist/IR/index.js +0 -5
  54. package/dist/IR/interfaces/IHash.d.ts +0 -6
  55. package/dist/IR/interfaces/IHash.js +0 -1
  56. package/dist/IR/interfaces/IIRParent.d.ts +0 -4
  57. package/dist/IR/interfaces/IIRParent.js +0 -1
  58. package/dist/IR/interfaces/IRMetadata.d.ts +0 -3
  59. package/dist/IR/interfaces/IRMetadata.js +0 -2
  60. package/dist/IR/interfaces/ToIR.d.ts +0 -5
  61. package/dist/IR/interfaces/ToIR.js +0 -1
  62. package/dist/IR/interfaces/index.d.ts +0 -4
  63. package/dist/IR/interfaces/index.js +0 -4
  64. package/dist/IR/toUPLC/CompilerOptions.d.ts +0 -80
  65. package/dist/IR/toUPLC/CompilerOptions.js +0 -98
  66. package/dist/IR/toUPLC/_internal/_addDepth.d.ts +0 -2
  67. package/dist/IR/toUPLC/_internal/_addDepth.js +0 -58
  68. package/dist/IR/toUPLC/_internal/_irToUplc.d.ts +0 -9
  69. package/dist/IR/toUPLC/_internal/_irToUplc.js +0 -156
  70. package/dist/IR/toUPLC/_internal/_makeAllNegativeNativesHoisted.d.ts +0 -2
  71. package/dist/IR/toUPLC/_internal/_makeAllNegativeNativesHoisted.js +0 -12
  72. package/dist/IR/toUPLC/_internal/_modifyChildFromTo.d.ts +0 -10
  73. package/dist/IR/toUPLC/_internal/_modifyChildFromTo.js +0 -141
  74. package/dist/IR/toUPLC/_internal/depth.d.ts +0 -5
  75. package/dist/IR/toUPLC/_internal/depth.js +0 -8
  76. package/dist/IR/toUPLC/_internal/findAll.d.ts +0 -3
  77. package/dist/IR/toUPLC/_internal/findAll.js +0 -99
  78. package/dist/IR/toUPLC/_internal/getDebruijnInTerm.d.ts +0 -2
  79. package/dist/IR/toUPLC/_internal/getDebruijnInTerm.js +0 -51
  80. package/dist/IR/toUPLC/_internal/getDiffDbn.d.ts +0 -2
  81. package/dist/IR/toUPLC/_internal/getDiffDbn.js +0 -55
  82. package/dist/IR/toUPLC/_internal/includesLettedTerms.d.ts +0 -2
  83. package/dist/IR/toUPLC/_internal/includesLettedTerms.js +0 -50
  84. package/dist/IR/toUPLC/_internal/includesNode.d.ts +0 -2
  85. package/dist/IR/toUPLC/_internal/includesNode.js +0 -54
  86. package/dist/IR/toUPLC/_internal/iterTree.d.ts +0 -2
  87. package/dist/IR/toUPLC/_internal/iterTree.js +0 -93
  88. package/dist/IR/toUPLC/_internal/lowestCommonAncestor.d.ts +0 -3
  89. package/dist/IR/toUPLC/_internal/lowestCommonAncestor.js +0 -41
  90. package/dist/IR/toUPLC/compileIRToUPLC.d.ts +0 -4
  91. package/dist/IR/toUPLC/compileIRToUPLC.js +0 -118
  92. package/dist/IR/toUPLC/index.d.ts +0 -1
  93. package/dist/IR/toUPLC/index.js +0 -1
  94. package/dist/IR/toUPLC/subRoutines/handleHoistedAndReturnRoot/index.d.ts +0 -2
  95. package/dist/IR/toUPLC/subRoutines/handleHoistedAndReturnRoot/index.js +0 -161
  96. package/dist/IR/toUPLC/subRoutines/handleLetted/findHighestRecursiveParent.d.ts +0 -5
  97. package/dist/IR/toUPLC/subRoutines/handleLetted/findHighestRecursiveParent.js +0 -14
  98. package/dist/IR/toUPLC/subRoutines/handleLetted/groupByScope.d.ts +0 -20
  99. package/dist/IR/toUPLC/subRoutines/handleLetted/groupByScope.js +0 -107
  100. package/dist/IR/toUPLC/subRoutines/handleLetted/incrementUnboundDbns.d.ts +0 -9
  101. package/dist/IR/toUPLC/subRoutines/handleLetted/incrementUnboundDbns.js +0 -73
  102. package/dist/IR/toUPLC/subRoutines/handleLetted/index.d.ts +0 -2
  103. package/dist/IR/toUPLC/subRoutines/handleLetted/index.js +0 -304
  104. package/dist/IR/toUPLC/subRoutines/handleRecursiveTerms.d.ts +0 -3
  105. package/dist/IR/toUPLC/subRoutines/handleRecursiveTerms.js +0 -32
  106. package/dist/IR/toUPLC/subRoutines/hoistForcedNatives.d.ts +0 -2
  107. package/dist/IR/toUPLC/subRoutines/hoistForcedNatives.js +0 -58
  108. package/dist/IR/toUPLC/subRoutines/inlineSingleUseApplications.d.ts +0 -1
  109. package/dist/IR/toUPLC/subRoutines/inlineSingleUseApplications.js +0 -12
  110. package/dist/IR/toUPLC/subRoutines/markRecursiveHoistsAsForced.d.ts +0 -2
  111. package/dist/IR/toUPLC/subRoutines/markRecursiveHoistsAsForced.js +0 -82
  112. package/dist/IR/toUPLC/subRoutines/performUplcOptimizationsAndReturnRoot/expandFuncsAndReturnRoot.d.ts +0 -4
  113. package/dist/IR/toUPLC/subRoutines/performUplcOptimizationsAndReturnRoot/expandFuncsAndReturnRoot.js +0 -68
  114. package/dist/IR/toUPLC/subRoutines/performUplcOptimizationsAndReturnRoot/index.d.ts +0 -5
  115. package/dist/IR/toUPLC/subRoutines/performUplcOptimizationsAndReturnRoot/index.js +0 -227
  116. package/dist/IR/toUPLC/subRoutines/replaceClosedLettedWithHoisted.d.ts +0 -2
  117. package/dist/IR/toUPLC/subRoutines/replaceClosedLettedWithHoisted.js +0 -13
  118. package/dist/IR/toUPLC/subRoutines/replaceForcedNativesWithHoisted.d.ts +0 -2
  119. package/dist/IR/toUPLC/subRoutines/replaceForcedNativesWithHoisted.js +0 -11
  120. package/dist/IR/toUPLC/subRoutines/replaceHoistedWithLetted.d.ts +0 -2
  121. package/dist/IR/toUPLC/subRoutines/replaceHoistedWithLetted.js +0 -16
  122. package/dist/IR/toUPLC/subRoutines/replaceNatives/index.d.ts +0 -2
  123. package/dist/IR/toUPLC/subRoutines/replaceNatives/index.js +0 -16
  124. package/dist/IR/toUPLC/subRoutines/replaceNatives/nativeToIR.d.ts +0 -3
  125. package/dist/IR/toUPLC/subRoutines/replaceNatives/nativeToIR.js +0 -520
  126. package/dist/IR/toUPLC/subRoutines/sanifyTree.d.ts +0 -5
  127. package/dist/IR/toUPLC/subRoutines/sanifyTree.js +0 -84
  128. package/dist/IR/tree_utils/_ir_apps.d.ts +0 -3
  129. package/dist/IR/tree_utils/_ir_apps.js +0 -8
  130. package/dist/IR/tree_utils/_ir_lazyChooseList.d.ts +0 -3
  131. package/dist/IR/tree_utils/_ir_lazyChooseList.js +0 -5
  132. package/dist/IR/tree_utils/_ir_lazyIfThenElse.d.ts +0 -3
  133. package/dist/IR/tree_utils/_ir_lazyIfThenElse.js +0 -5
  134. package/dist/IR/tree_utils/_ir_let.d.ts +0 -3
  135. package/dist/IR/tree_utils/_ir_let.js +0 -4
  136. package/dist/IR/tree_utils/getChildren.d.ts +0 -2
  137. package/dist/IR/tree_utils/getChildren.js +0 -33
  138. package/dist/IR/tree_utils/getRoot.d.ts +0 -2
  139. package/dist/IR/tree_utils/getRoot.js +0 -6
  140. package/dist/IR/utils/MutArrayLike.d.ts +0 -5
  141. package/dist/IR/utils/MutArrayLike.js +0 -1
  142. package/dist/IR/utils/concatUint8Arr.d.ts +0 -1
  143. package/dist/IR/utils/concatUint8Arr.js +0 -11
  144. package/dist/IR/utils/equalIRTerm.d.ts +0 -12
  145. package/dist/IR/utils/equalIRTerm.js +0 -19
  146. package/dist/IR/utils/index.d.ts +0 -3
  147. package/dist/IR/utils/index.js +0 -3
  148. package/dist/IR/utils/isClosedIRTerm.d.ts +0 -2
  149. package/dist/IR/utils/isClosedIRTerm.js +0 -58
  150. package/dist/IR/utils/isIRParentTerm.d.ts +0 -12
  151. package/dist/IR/utils/isIRParentTerm.js +0 -26
  152. package/dist/IR/utils/isIRTerm.d.ts +0 -2
  153. package/dist/IR/utils/isIRTerm.js +0 -30
  154. package/dist/IR/utils/positiveIntAsBytes.d.ts +0 -5
  155. package/dist/IR/utils/positiveIntAsBytes.js +0 -27
  156. package/dist/IR/utils/showIR.d.ts +0 -43
  157. package/dist/IR/utils/showIR.js +0 -372
  158. package/dist/ast/PebbleAst.d.ts +0 -8
  159. package/dist/ast/PebbleAst.js +0 -15
  160. package/dist/ast/Source/Source.d.ts +0 -47
  161. package/dist/ast/Source/Source.js +0 -89
  162. package/dist/ast/Source/SourceRange.d.ts +0 -16
  163. package/dist/ast/Source/SourceRange.js +0 -49
  164. package/dist/ast/nodes/HasSourceRange.d.ts +0 -5
  165. package/dist/ast/nodes/HasSourceRange.js +0 -6
  166. package/dist/ast/nodes/common/Identifier.d.ts +0 -13
  167. package/dist/ast/nodes/common/Identifier.js +0 -20
  168. package/dist/ast/nodes/expr/CaseExpr.d.ts +0 -22
  169. package/dist/ast/nodes/expr/CaseExpr.js +0 -30
  170. package/dist/ast/nodes/expr/ElemAccessExpr.d.ts +0 -12
  171. package/dist/ast/nodes/expr/ElemAccessExpr.js +0 -13
  172. package/dist/ast/nodes/expr/IsExpr.d.ts +0 -1
  173. package/dist/ast/nodes/expr/IsExpr.js +0 -14
  174. package/dist/ast/nodes/expr/ParentesizedExpr.d.ts +0 -8
  175. package/dist/ast/nodes/expr/ParentesizedExpr.js +0 -8
  176. package/dist/ast/nodes/expr/PebbleExpr.d.ts +0 -18
  177. package/dist/ast/nodes/expr/PebbleExpr.js +0 -31
  178. package/dist/ast/nodes/expr/PropAccessExpr.d.ts +0 -28
  179. package/dist/ast/nodes/expr/PropAccessExpr.js +0 -46
  180. package/dist/ast/nodes/expr/TernaryExpr.d.ts +0 -10
  181. package/dist/ast/nodes/expr/TernaryExpr.js +0 -12
  182. package/dist/ast/nodes/expr/TypeConversionExpr.d.ts +0 -10
  183. package/dist/ast/nodes/expr/TypeConversionExpr.js +0 -11
  184. package/dist/ast/nodes/expr/binary/BinaryExpr.d.ts +0 -133
  185. package/dist/ast/nodes/expr/binary/BinaryExpr.js +0 -253
  186. package/dist/ast/nodes/expr/functions/ArrowKind.d.ts +0 -9
  187. package/dist/ast/nodes/expr/functions/ArrowKind.js +0 -11
  188. package/dist/ast/nodes/expr/functions/CallExpr.d.ts +0 -17
  189. package/dist/ast/nodes/expr/functions/CallExpr.js +0 -16
  190. package/dist/ast/nodes/expr/functions/FuncExpr.d.ts +0 -21
  191. package/dist/ast/nodes/expr/functions/FuncExpr.js +0 -21
  192. package/dist/ast/nodes/expr/litteral/LitArrExpr.d.ts +0 -8
  193. package/dist/ast/nodes/expr/litteral/LitArrExpr.js +0 -8
  194. package/dist/ast/nodes/expr/litteral/LitFalseExpr.d.ts +0 -6
  195. package/dist/ast/nodes/expr/litteral/LitFalseExpr.js +0 -6
  196. package/dist/ast/nodes/expr/litteral/LitHexBytesExpr.d.ts +0 -7
  197. package/dist/ast/nodes/expr/litteral/LitHexBytesExpr.js +0 -8
  198. package/dist/ast/nodes/expr/litteral/LitIntExpr.d.ts +0 -7
  199. package/dist/ast/nodes/expr/litteral/LitIntExpr.js +0 -8
  200. package/dist/ast/nodes/expr/litteral/LitNamedObjExpr.d.ts +0 -12
  201. package/dist/ast/nodes/expr/litteral/LitNamedObjExpr.js +0 -12
  202. package/dist/ast/nodes/expr/litteral/LitObjExpr.d.ts +0 -14
  203. package/dist/ast/nodes/expr/litteral/LitObjExpr.js +0 -10
  204. package/dist/ast/nodes/expr/litteral/LitStrExpr.d.ts +0 -7
  205. package/dist/ast/nodes/expr/litteral/LitStrExpr.js +0 -8
  206. package/dist/ast/nodes/expr/litteral/LitThisExpr.d.ts +0 -6
  207. package/dist/ast/nodes/expr/litteral/LitThisExpr.js +0 -6
  208. package/dist/ast/nodes/expr/litteral/LitTrueExpr.d.ts +0 -6
  209. package/dist/ast/nodes/expr/litteral/LitTrueExpr.js +0 -6
  210. package/dist/ast/nodes/expr/litteral/LitUndefExpr.d.ts +0 -6
  211. package/dist/ast/nodes/expr/litteral/LitUndefExpr.js +0 -6
  212. package/dist/ast/nodes/expr/litteral/LitVoidExpr.d.ts +0 -6
  213. package/dist/ast/nodes/expr/litteral/LitVoidExpr.js +0 -6
  214. package/dist/ast/nodes/expr/litteral/LitteralExpr.d.ts +0 -13
  215. package/dist/ast/nodes/expr/litteral/LitteralExpr.js +0 -24
  216. package/dist/ast/nodes/expr/unary/IUnaryExpression.d.ts +0 -4
  217. package/dist/ast/nodes/expr/unary/IUnaryExpression.js +0 -1
  218. package/dist/ast/nodes/expr/unary/NonNullExpr.d.ts +0 -8
  219. package/dist/ast/nodes/expr/unary/NonNullExpr.js +0 -8
  220. package/dist/ast/nodes/expr/unary/UnaryExclamation.d.ts +0 -9
  221. package/dist/ast/nodes/expr/unary/UnaryExclamation.js +0 -8
  222. package/dist/ast/nodes/expr/unary/UnaryMinus.d.ts +0 -9
  223. package/dist/ast/nodes/expr/unary/UnaryMinus.js +0 -8
  224. package/dist/ast/nodes/expr/unary/UnaryPlus.d.ts +0 -9
  225. package/dist/ast/nodes/expr/unary/UnaryPlus.js +0 -8
  226. package/dist/ast/nodes/expr/unary/UnaryPrefixExpr.d.ts +0 -14
  227. package/dist/ast/nodes/expr/unary/UnaryPrefixExpr.js +0 -27
  228. package/dist/ast/nodes/expr/unary/UnaryTilde.d.ts +0 -9
  229. package/dist/ast/nodes/expr/unary/UnaryTilde.js +0 -8
  230. package/dist/ast/nodes/statements/AssertStmt.d.ts +0 -15
  231. package/dist/ast/nodes/statements/AssertStmt.js +0 -14
  232. package/dist/ast/nodes/statements/AssignmentStmt.d.ts +0 -105
  233. package/dist/ast/nodes/statements/AssignmentStmt.js +0 -211
  234. package/dist/ast/nodes/statements/BlockStmt.d.ts +0 -8
  235. package/dist/ast/nodes/statements/BlockStmt.js +0 -8
  236. package/dist/ast/nodes/statements/BreakStmt.d.ts +0 -6
  237. package/dist/ast/nodes/statements/BreakStmt.js +0 -6
  238. package/dist/ast/nodes/statements/ContinueStmt.d.ts +0 -6
  239. package/dist/ast/nodes/statements/ContinueStmt.js +0 -6
  240. package/dist/ast/nodes/statements/DecrStmt.d.ts +0 -11
  241. package/dist/ast/nodes/statements/DecrStmt.js +0 -11
  242. package/dist/ast/nodes/statements/DoWhileStmt.d.ts +0 -10
  243. package/dist/ast/nodes/statements/DoWhileStmt.js +0 -10
  244. package/dist/ast/nodes/statements/EmptyStmt.d.ts +0 -6
  245. package/dist/ast/nodes/statements/EmptyStmt.js +0 -6
  246. package/dist/ast/nodes/statements/ExportImportStmt.d.ts +0 -15
  247. package/dist/ast/nodes/statements/ExportImportStmt.js +0 -15
  248. package/dist/ast/nodes/statements/ExportStarStmt.d.ts +0 -8
  249. package/dist/ast/nodes/statements/ExportStarStmt.js +0 -8
  250. package/dist/ast/nodes/statements/ExportStmt.d.ts +0 -13
  251. package/dist/ast/nodes/statements/ExportStmt.js +0 -13
  252. package/dist/ast/nodes/statements/ExprStmt.d.ts +0 -8
  253. package/dist/ast/nodes/statements/ExprStmt.js +0 -18
  254. package/dist/ast/nodes/statements/FailStmt.d.ts +0 -11
  255. package/dist/ast/nodes/statements/FailStmt.js +0 -10
  256. package/dist/ast/nodes/statements/ForOfStmt.d.ts +0 -16
  257. package/dist/ast/nodes/statements/ForOfStmt.js +0 -15
  258. package/dist/ast/nodes/statements/ForStmt.d.ts +0 -19
  259. package/dist/ast/nodes/statements/ForStmt.js +0 -19
  260. package/dist/ast/nodes/statements/IfStmt.d.ts +0 -11
  261. package/dist/ast/nodes/statements/IfStmt.js +0 -12
  262. package/dist/ast/nodes/statements/ImportStarStmt.d.ts +0 -15
  263. package/dist/ast/nodes/statements/ImportStarStmt.js +0 -15
  264. package/dist/ast/nodes/statements/ImportStmt.d.ts +0 -21
  265. package/dist/ast/nodes/statements/ImportStmt.js +0 -25
  266. package/dist/ast/nodes/statements/IncrStmt.d.ts +0 -8
  267. package/dist/ast/nodes/statements/IncrStmt.js +0 -8
  268. package/dist/ast/nodes/statements/MatchStmt.d.ts +0 -17
  269. package/dist/ast/nodes/statements/MatchStmt.js +0 -20
  270. package/dist/ast/nodes/statements/PebbleStmt.d.ts +0 -29
  271. package/dist/ast/nodes/statements/PebbleStmt.js +0 -62
  272. package/dist/ast/nodes/statements/ReturnStmt.d.ts +0 -8
  273. package/dist/ast/nodes/statements/ReturnStmt.js +0 -8
  274. package/dist/ast/nodes/statements/TestStmt.d.ts +0 -10
  275. package/dist/ast/nodes/statements/TestStmt.js +0 -10
  276. package/dist/ast/nodes/statements/TypeImplementsStmt.d.ts +0 -21
  277. package/dist/ast/nodes/statements/TypeImplementsStmt.js +0 -26
  278. package/dist/ast/nodes/statements/UsingStmt.d.ts +0 -16
  279. package/dist/ast/nodes/statements/UsingStmt.js +0 -20
  280. package/dist/ast/nodes/statements/VarStmt.d.ts +0 -10
  281. package/dist/ast/nodes/statements/VarStmt.js +0 -11
  282. package/dist/ast/nodes/statements/WhileStmt.d.ts +0 -10
  283. package/dist/ast/nodes/statements/WhileStmt.js +0 -10
  284. package/dist/ast/nodes/statements/declarations/EnumDecl.d.ts +0 -18
  285. package/dist/ast/nodes/statements/declarations/EnumDecl.js +0 -22
  286. package/dist/ast/nodes/statements/declarations/FuncDecl.d.ts +0 -8
  287. package/dist/ast/nodes/statements/declarations/FuncDecl.js +0 -9
  288. package/dist/ast/nodes/statements/declarations/InterfaceDecl.d.ts +0 -19
  289. package/dist/ast/nodes/statements/declarations/InterfaceDecl.js +0 -26
  290. package/dist/ast/nodes/statements/declarations/PebbleTypeDecl.d.ts +0 -5
  291. package/dist/ast/nodes/statements/declarations/PebbleTypeDecl.js +0 -8
  292. package/dist/ast/nodes/statements/declarations/StructDecl.d.ts +0 -25
  293. package/dist/ast/nodes/statements/declarations/StructDecl.js +0 -36
  294. package/dist/ast/nodes/statements/declarations/TypeAliasDecl.d.ts +0 -11
  295. package/dist/ast/nodes/statements/declarations/TypeAliasDecl.js +0 -12
  296. package/dist/ast/nodes/statements/declarations/VarDecl/ArrayLikeDeconstr.d.ts +0 -19
  297. package/dist/ast/nodes/statements/declarations/VarDecl/ArrayLikeDeconstr.js +0 -19
  298. package/dist/ast/nodes/statements/declarations/VarDecl/HasInit.d.ts +0 -5
  299. package/dist/ast/nodes/statements/declarations/VarDecl/HasInit.js +0 -7
  300. package/dist/ast/nodes/statements/declarations/VarDecl/NamedDeconstructVarDecl.d.ts +0 -24
  301. package/dist/ast/nodes/statements/declarations/VarDecl/NamedDeconstructVarDecl.js +0 -30
  302. package/dist/ast/nodes/statements/declarations/VarDecl/SimpleVarDecl.d.ts +0 -17
  303. package/dist/ast/nodes/statements/declarations/VarDecl/SimpleVarDecl.js +0 -21
  304. package/dist/ast/nodes/statements/declarations/VarDecl/SingleDeconstructVarDecl.d.ts +0 -24
  305. package/dist/ast/nodes/statements/declarations/VarDecl/SingleDeconstructVarDecl.js +0 -20
  306. package/dist/ast/nodes/statements/declarations/VarDecl/VarDecl.d.ts +0 -8
  307. package/dist/ast/nodes/statements/declarations/VarDecl/VarDecl.js +0 -13
  308. package/dist/ast/nodes/types/AstNamedTypeExpr.d.ts +0 -14
  309. package/dist/ast/nodes/types/AstNamedTypeExpr.js +0 -14
  310. package/dist/ast/nodes/types/AstNativeTypeExpr.d.ts +0 -52
  311. package/dist/ast/nodes/types/AstNativeTypeExpr.js +0 -82
  312. package/dist/ast/nodes/types/AstTypeExpr.d.ts +0 -4
  313. package/dist/ast/nodes/types/AstTypeExpr.js +0 -7
  314. package/dist/common.d.ts +0 -194
  315. package/dist/common.js +0 -224
  316. package/dist/compiler/AstCompiler/AstCompilationCtx.d.ts +0 -35
  317. package/dist/compiler/AstCompiler/AstCompilationCtx.js +0 -43
  318. package/dist/compiler/AstCompiler/AstCompiler.d.ts +0 -73
  319. package/dist/compiler/AstCompiler/AstCompiler.js +0 -532
  320. package/dist/compiler/AstCompiler/compileAst.d.ts +0 -0
  321. package/dist/compiler/AstCompiler/compileAst.js +0 -0
  322. package/dist/compiler/AstCompiler/index.d.ts +0 -1
  323. package/dist/compiler/AstCompiler/index.js +0 -1
  324. package/dist/compiler/AstCompiler/internal/exprs/_compileBinaryExpr.d.ts +0 -5
  325. package/dist/compiler/AstCompiler/internal/exprs/_compileBinaryExpr.js +0 -66
  326. package/dist/compiler/AstCompiler/internal/exprs/_compileCallExpr.d.ts +0 -5
  327. package/dist/compiler/AstCompiler/internal/exprs/_compileCallExpr.js +0 -36
  328. package/dist/compiler/AstCompiler/internal/exprs/_compileCaseExpr.d.ts +0 -6
  329. package/dist/compiler/AstCompiler/internal/exprs/_compileCaseExpr.js +0 -47
  330. package/dist/compiler/AstCompiler/internal/exprs/_compileElemAccessExpr.d.ts +0 -5
  331. package/dist/compiler/AstCompiler/internal/exprs/_compileElemAccessExpr.js +0 -23
  332. package/dist/compiler/AstCompiler/internal/exprs/_compileExpr.d.ts +0 -22
  333. package/dist/compiler/AstCompiler/internal/exprs/_compileExpr.js +0 -77
  334. package/dist/compiler/AstCompiler/internal/exprs/_compileFuncExpr.d.ts +0 -26
  335. package/dist/compiler/AstCompiler/internal/exprs/_compileFuncExpr.js +0 -163
  336. package/dist/compiler/AstCompiler/internal/exprs/_compileIsExpr.d.ts +0 -1
  337. package/dist/compiler/AstCompiler/internal/exprs/_compileIsExpr.js +0 -43
  338. package/dist/compiler/AstCompiler/internal/exprs/_compileLitteralExpr.d.ts +0 -19
  339. package/dist/compiler/AstCompiler/internal/exprs/_compileLitteralExpr.js +0 -202
  340. package/dist/compiler/AstCompiler/internal/exprs/_compileNonNullExpr.d.ts +0 -5
  341. package/dist/compiler/AstCompiler/internal/exprs/_compileNonNullExpr.js +0 -43
  342. package/dist/compiler/AstCompiler/internal/exprs/_compilePropAccessExpr.d.ts +0 -9
  343. package/dist/compiler/AstCompiler/internal/exprs/_compilePropAccessExpr.js +0 -102
  344. package/dist/compiler/AstCompiler/internal/exprs/_compileTernaryExpr.d.ts +0 -5
  345. package/dist/compiler/AstCompiler/internal/exprs/_compileTernaryExpr.js +0 -22
  346. package/dist/compiler/AstCompiler/internal/exprs/_compileTypeConversionExpr.d.ts +0 -5
  347. package/dist/compiler/AstCompiler/internal/exprs/_compileTypeConversionExpr.js +0 -25
  348. package/dist/compiler/AstCompiler/internal/exprs/_compileUnaryPrefixExpr.d.ts +0 -5
  349. package/dist/compiler/AstCompiler/internal/exprs/_compileUnaryPrefixExpr.js +0 -54
  350. package/dist/compiler/AstCompiler/internal/exprs/_compileVarAccessExpr.d.ts +0 -5
  351. package/dist/compiler/AstCompiler/internal/exprs/_compileVarAccessExpr.js +0 -9
  352. package/dist/compiler/AstCompiler/internal/exprs/_hasDuplicateTypeParams.d.ts +0 -3
  353. package/dist/compiler/AstCompiler/internal/exprs/_hasDuplicateTypeParams.js +0 -13
  354. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileAddExpr.d.ts +0 -5
  355. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileAddExpr.js +0 -20
  356. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileBitwiseAndExpr.d.ts +0 -5
  357. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileBitwiseAndExpr.js +0 -20
  358. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileBitwiseOrExpr.d.ts +0 -5
  359. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileBitwiseOrExpr.js +0 -20
  360. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileBitwiseXorExpr.d.ts +0 -5
  361. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileBitwiseXorExpr.js +0 -20
  362. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileDivExpr.d.ts +0 -5
  363. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileDivExpr.js +0 -20
  364. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileEqualExpr.d.ts +0 -5
  365. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileEqualExpr.js +0 -18
  366. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileExponentiationExpr.d.ts +0 -5
  367. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileExponentiationExpr.js +0 -20
  368. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileGreaterThanEqualExpr.d.ts +0 -5
  369. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileGreaterThanEqualExpr.js +0 -27
  370. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileGreaterThanExpr.d.ts +0 -5
  371. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileGreaterThanExpr.js +0 -26
  372. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileLessThanEqualExpr.d.ts +0 -5
  373. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileLessThanEqualExpr.js +0 -25
  374. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileLessThanExpr.d.ts +0 -5
  375. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileLessThanExpr.js +0 -26
  376. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileLogicalAndExpr.d.ts +0 -5
  377. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileLogicalAndExpr.js +0 -22
  378. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileLogicalOrExpr.d.ts +0 -5
  379. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileLogicalOrExpr.js +0 -22
  380. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileModuloExpr.d.ts +0 -5
  381. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileModuloExpr.js +0 -20
  382. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileMultExpr.d.ts +0 -5
  383. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileMultExpr.js +0 -20
  384. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileNotEqualExpr.d.ts +0 -5
  385. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileNotEqualExpr.js +0 -18
  386. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileOptionalDefaultExpr.d.ts +0 -5
  387. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileOptionalDefaultExpr.js +0 -60
  388. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileShiftLeftExpr.d.ts +0 -5
  389. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileShiftLeftExpr.js +0 -21
  390. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileShiftRightExpr.d.ts +0 -5
  391. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileShiftRightExpr.js +0 -21
  392. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileSubExpr.d.ts +0 -5
  393. package/dist/compiler/AstCompiler/internal/exprs/binary/_compileSubExpr.js +0 -20
  394. package/dist/compiler/AstCompiler/internal/statements/_compileAssertStmt.d.ts +0 -4
  395. package/dist/compiler/AstCompiler/internal/statements/_compileAssertStmt.js +0 -30
  396. package/dist/compiler/AstCompiler/internal/statements/_compileAssignmentStmt.d.ts +0 -8
  397. package/dist/compiler/AstCompiler/internal/statements/_compileAssignmentStmt.js +0 -154
  398. package/dist/compiler/AstCompiler/internal/statements/_compileBlockStmt.d.ts +0 -4
  399. package/dist/compiler/AstCompiler/internal/statements/_compileBlockStmt.js +0 -14
  400. package/dist/compiler/AstCompiler/internal/statements/_compileBreakStmt.d.ts +0 -4
  401. package/dist/compiler/AstCompiler/internal/statements/_compileBreakStmt.js +0 -7
  402. package/dist/compiler/AstCompiler/internal/statements/_compileContinueStmt.d.ts +0 -4
  403. package/dist/compiler/AstCompiler/internal/statements/_compileContinueStmt.js +0 -7
  404. package/dist/compiler/AstCompiler/internal/statements/_compileExprStmt.d.ts +0 -1
  405. package/dist/compiler/AstCompiler/internal/statements/_compileExprStmt.js +0 -12
  406. package/dist/compiler/AstCompiler/internal/statements/_compileFailStmt.d.ts +0 -4
  407. package/dist/compiler/AstCompiler/internal/statements/_compileFailStmt.js +0 -18
  408. package/dist/compiler/AstCompiler/internal/statements/_compileForOfStmt.d.ts +0 -4
  409. package/dist/compiler/AstCompiler/internal/statements/_compileForOfStmt.js +0 -30
  410. package/dist/compiler/AstCompiler/internal/statements/_compileForStmt.d.ts +0 -7
  411. package/dist/compiler/AstCompiler/internal/statements/_compileForStmt.js +0 -46
  412. package/dist/compiler/AstCompiler/internal/statements/_compileIfStmt.d.ts +0 -4
  413. package/dist/compiler/AstCompiler/internal/statements/_compileIfStmt.js +0 -27
  414. package/dist/compiler/AstCompiler/internal/statements/_compileMatchStmt.d.ts +0 -6
  415. package/dist/compiler/AstCompiler/internal/statements/_compileMatchStmt.js +0 -182
  416. package/dist/compiler/AstCompiler/internal/statements/_compileReturnStmt.d.ts +0 -4
  417. package/dist/compiler/AstCompiler/internal/statements/_compileReturnStmt.js +0 -17
  418. package/dist/compiler/AstCompiler/internal/statements/_compileStatement.d.ts +0 -11
  419. package/dist/compiler/AstCompiler/internal/statements/_compileStatement.js +0 -73
  420. package/dist/compiler/AstCompiler/internal/statements/_compileTestStmt.d.ts +0 -1
  421. package/dist/compiler/AstCompiler/internal/statements/_compileTestStmt.js +0 -32
  422. package/dist/compiler/AstCompiler/internal/statements/_compileUsingStmt.d.ts +0 -11
  423. package/dist/compiler/AstCompiler/internal/statements/_compileUsingStmt.js +0 -41
  424. package/dist/compiler/AstCompiler/internal/statements/_compileVarStmt.d.ts +0 -34
  425. package/dist/compiler/AstCompiler/internal/statements/_compileVarStmt.js +0 -207
  426. package/dist/compiler/AstCompiler/internal/statements/_compileWhileStmt.d.ts +0 -4
  427. package/dist/compiler/AstCompiler/internal/statements/_compileWhileStmt.js +0 -19
  428. package/dist/compiler/AstCompiler/internal/types/_compileDataEncodedConcreteType.d.ts +0 -4
  429. package/dist/compiler/AstCompiler/internal/types/_compileDataEncodedConcreteType.js +0 -61
  430. package/dist/compiler/AstCompiler/internal/types/_compileSopEncodedConcreteType.d.ts +0 -4
  431. package/dist/compiler/AstCompiler/internal/types/_compileSopEncodedConcreteType.js +0 -59
  432. package/dist/compiler/AstCompiler/scope/AstScope.d.ts +0 -102
  433. package/dist/compiler/AstCompiler/scope/AstScope.js +0 -195
  434. package/dist/compiler/AstCompiler/utils/deps/ResolveStackNode.d.ts +0 -14
  435. package/dist/compiler/AstCompiler/utils/deps/ResolveStackNode.js +0 -36
  436. package/dist/compiler/AstCompiler/utils/getPropAccessReturnType.d.ts +0 -4
  437. package/dist/compiler/AstCompiler/utils/getPropAccessReturnType.js +0 -121
  438. package/dist/compiler/AstCompiler/utils/getTirFuncSigTree/TirFuncSigTree.d.ts +0 -39
  439. package/dist/compiler/AstCompiler/utils/getTirFuncSigTree/TirFuncSigTree.js +0 -129
  440. package/dist/compiler/AstCompiler/utils/getTirFuncSigTree/getTirFuncSigTree.d.ts +0 -4
  441. package/dist/compiler/AstCompiler/utils/getTirFuncSigTree/getTirFuncSigTree.js +0 -49
  442. package/dist/compiler/AstCompiler/utils/wrapManyStatementsOrReturnSame.d.ts +0 -3
  443. package/dist/compiler/AstCompiler/utils/wrapManyStatementsOrReturnSame.js +0 -12
  444. package/dist/compiler/Compiler.d.ts +0 -10
  445. package/dist/compiler/Compiler.js +0 -39
  446. package/dist/compiler/TirCompiler/TirCompilerCtx.d.ts +0 -7
  447. package/dist/compiler/TirCompiler/TirCompilerCtx.js +0 -8
  448. package/dist/compiler/TirCompiler/compileTirProgram.d.ts +0 -9
  449. package/dist/compiler/TirCompiler/compileTirProgram.js +0 -18
  450. package/dist/compiler/TirCompiler/expressify/ExpressifyCtx.d.ts +0 -72
  451. package/dist/compiler/TirCompiler/expressify/ExpressifyCtx.js +0 -282
  452. package/dist/compiler/TirCompiler/expressify/determineReassignedVariablesAndReturn.d.ts +0 -27
  453. package/dist/compiler/TirCompiler/expressify/determineReassignedVariablesAndReturn.js +0 -248
  454. package/dist/compiler/TirCompiler/expressify/expressify.d.ts +0 -15
  455. package/dist/compiler/TirCompiler/expressify/expressify.js +0 -403
  456. package/dist/compiler/TirCompiler/expressify/expressifyForStmt.d.ts +0 -8
  457. package/dist/compiler/TirCompiler/expressify/expressifyForStmt.js +0 -115
  458. package/dist/compiler/TirCompiler/expressify/expressifyIfBranch.d.ts +0 -6
  459. package/dist/compiler/TirCompiler/expressify/expressifyIfBranch.js +0 -105
  460. package/dist/compiler/TirCompiler/expressify/expressifyTerminatingIfStmt.d.ts +0 -5
  461. package/dist/compiler/TirCompiler/expressify/expressifyTerminatingIfStmt.js +0 -15
  462. package/dist/compiler/TirCompiler/expressify/expressifyVarAssignmentStmt.d.ts +0 -4
  463. package/dist/compiler/TirCompiler/expressify/expressifyVarAssignmentStmt.js +0 -20
  464. package/dist/compiler/TirCompiler/expressify/expressifyVarDecl.d.ts +0 -3
  465. package/dist/compiler/TirCompiler/expressify/expressifyVarDecl.js +0 -34
  466. package/dist/compiler/TirCompiler/expressify/expressifyVars.d.ts +0 -10
  467. package/dist/compiler/TirCompiler/expressify/expressifyVars.js +0 -320
  468. package/dist/compiler/TirCompiler/expressify/flattenSopNamedDeconstructInplace_addTopDestructToCtx_getNestedDeconstruct.d.ts +0 -9
  469. package/dist/compiler/TirCompiler/expressify/flattenSopNamedDeconstructInplace_addTopDestructToCtx_getNestedDeconstruct.js +0 -59
  470. package/dist/compiler/TirCompiler/expressify/isSingleConstrStruct.d.ts +0 -3
  471. package/dist/compiler/TirCompiler/expressify/isSingleConstrStruct.js +0 -9
  472. package/dist/compiler/TirCompiler/expressify/toNamedDeconstructVarDecl.d.ts +0 -3
  473. package/dist/compiler/TirCompiler/expressify/toNamedDeconstructVarDecl.js +0 -15
  474. package/dist/compiler/TirCompiler/index.d.ts +0 -2
  475. package/dist/compiler/TirCompiler/index.js +0 -2
  476. package/dist/compiler/TirCompiler/internal/_compileHoistedDeps.d.ts +0 -5
  477. package/dist/compiler/TirCompiler/internal/_compileHoistedDeps.js +0 -37
  478. package/dist/compiler/TirCompiler/internal/deps/DepsNode.d.ts +0 -13
  479. package/dist/compiler/TirCompiler/internal/deps/DepsNode.js +0 -36
  480. package/dist/compiler/index.d.ts +0 -4
  481. package/dist/compiler/index.js +0 -4
  482. package/dist/compiler/internalVar.d.ts +0 -19
  483. package/dist/compiler/internalVar.js +0 -56
  484. package/dist/compiler/io/CompilerIoApi.d.ts +0 -36
  485. package/dist/compiler/io/CompilerIoApi.js +0 -62
  486. package/dist/compiler/io/IOutputStream.d.ts +0 -28
  487. package/dist/compiler/io/IOutputStream.js +0 -45
  488. package/dist/compiler/io/index.d.ts +0 -2
  489. package/dist/compiler/io/index.js +0 -2
  490. package/dist/compiler/path/getAbsolutePath.d.ts +0 -12
  491. package/dist/compiler/path/getAbsolutePath.js +0 -114
  492. package/dist/compiler/path/path.d.ts +0 -5
  493. package/dist/compiler/path/path.js +0 -160
  494. package/dist/compiler/tir/expressions/ITirExpr.d.ts +0 -11
  495. package/dist/compiler/tir/expressions/ITirExpr.js +0 -1
  496. package/dist/compiler/tir/expressions/TirAssertAndContinueExpr.d.ts +0 -19
  497. package/dist/compiler/tir/expressions/TirAssertAndContinueExpr.js +0 -41
  498. package/dist/compiler/tir/expressions/TirCallExpr.d.ts +0 -17
  499. package/dist/compiler/tir/expressions/TirCallExpr.js +0 -28
  500. package/dist/compiler/tir/expressions/TirCaseExpr.d.ts +0 -36
  501. package/dist/compiler/tir/expressions/TirCaseExpr.js +0 -257
  502. package/dist/compiler/tir/expressions/TirElemAccessExpr.d.ts +0 -20
  503. package/dist/compiler/tir/expressions/TirElemAccessExpr.js +0 -43
  504. package/dist/compiler/tir/expressions/TirExpr.d.ts +0 -23
  505. package/dist/compiler/tir/expressions/TirExpr.js +0 -46
  506. package/dist/compiler/tir/expressions/TirFailExpr.d.ts +0 -19
  507. package/dist/compiler/tir/expressions/TirFailExpr.js +0 -28
  508. package/dist/compiler/tir/expressions/TirFromDataExpr.d.ts +0 -22
  509. package/dist/compiler/tir/expressions/TirFromDataExpr.js +0 -196
  510. package/dist/compiler/tir/expressions/TirFuncExpr.d.ts +0 -37
  511. package/dist/compiler/tir/expressions/TirFuncExpr.js +0 -92
  512. package/dist/compiler/tir/expressions/TirHoistedExpr.d.ts +0 -18
  513. package/dist/compiler/tir/expressions/TirHoistedExpr.js +0 -28
  514. package/dist/compiler/tir/expressions/TirInlineClosedIR.d.ts +0 -16
  515. package/dist/compiler/tir/expressions/TirInlineClosedIR.js +0 -25
  516. package/dist/compiler/tir/expressions/TirLettedExpr.d.ts +0 -18
  517. package/dist/compiler/tir/expressions/TirLettedExpr.js +0 -28
  518. package/dist/compiler/tir/expressions/TirNativeFunc.d.ts +0 -104
  519. package/dist/compiler/tir/expressions/TirNativeFunc.js +0 -805
  520. package/dist/compiler/tir/expressions/TirParentesizedExpr.d.ts +0 -17
  521. package/dist/compiler/tir/expressions/TirParentesizedExpr.js +0 -20
  522. package/dist/compiler/tir/expressions/TirPropAccessExpr.d.ts +0 -18
  523. package/dist/compiler/tir/expressions/TirPropAccessExpr.js +0 -29
  524. package/dist/compiler/tir/expressions/TirTernaryExpr.d.ts +0 -18
  525. package/dist/compiler/tir/expressions/TirTernaryExpr.js +0 -36
  526. package/dist/compiler/tir/expressions/TirToDataExpr.d.ts +0 -28
  527. package/dist/compiler/tir/expressions/TirToDataExpr.js +0 -172
  528. package/dist/compiler/tir/expressions/TirTraceIfFalseExpr.d.ts +0 -23
  529. package/dist/compiler/tir/expressions/TirTraceIfFalseExpr.js +0 -32
  530. package/dist/compiler/tir/expressions/TirTypeConversionExpr.d.ts +0 -16
  531. package/dist/compiler/tir/expressions/TirTypeConversionExpr.js +0 -66
  532. package/dist/compiler/tir/expressions/TirVariableAccessExpr.d.ts +0 -18
  533. package/dist/compiler/tir/expressions/TirVariableAccessExpr.js +0 -30
  534. package/dist/compiler/tir/expressions/ToIRTermCtx.d.ts +0 -29
  535. package/dist/compiler/tir/expressions/ToIRTermCtx.js +0 -77
  536. package/dist/compiler/tir/expressions/binary/TirBinaryExpr.d.ts +0 -221
  537. package/dist/compiler/tir/expressions/binary/TirBinaryExpr.js +0 -532
  538. package/dist/compiler/tir/expressions/litteral/TirLitArrExpr.d.ts +0 -16
  539. package/dist/compiler/tir/expressions/litteral/TirLitArrExpr.js +0 -60
  540. package/dist/compiler/tir/expressions/litteral/TirLitFalseExpr.d.ts +0 -14
  541. package/dist/compiler/tir/expressions/litteral/TirLitFalseExpr.js +0 -17
  542. package/dist/compiler/tir/expressions/litteral/TirLitHexBytesExpr.d.ts +0 -15
  543. package/dist/compiler/tir/expressions/litteral/TirLitHexBytesExpr.js +0 -19
  544. package/dist/compiler/tir/expressions/litteral/TirLitIntExpr.d.ts +0 -15
  545. package/dist/compiler/tir/expressions/litteral/TirLitIntExpr.js +0 -19
  546. package/dist/compiler/tir/expressions/litteral/TirLitNamedObjExpr.d.ts +0 -22
  547. package/dist/compiler/tir/expressions/litteral/TirLitNamedObjExpr.js +0 -105
  548. package/dist/compiler/tir/expressions/litteral/TirLitObjExpr.d.ts +0 -22
  549. package/dist/compiler/tir/expressions/litteral/TirLitObjExpr.js +0 -102
  550. package/dist/compiler/tir/expressions/litteral/TirLitStrExpr.d.ts +0 -15
  551. package/dist/compiler/tir/expressions/litteral/TirLitStrExpr.js +0 -20
  552. package/dist/compiler/tir/expressions/litteral/TirLitThisExpr.d.ts +0 -14
  553. package/dist/compiler/tir/expressions/litteral/TirLitThisExpr.js +0 -20
  554. package/dist/compiler/tir/expressions/litteral/TirLitTrueExpr.d.ts +0 -14
  555. package/dist/compiler/tir/expressions/litteral/TirLitTrueExpr.js +0 -17
  556. package/dist/compiler/tir/expressions/litteral/TirLitUndefExpr.d.ts +0 -18
  557. package/dist/compiler/tir/expressions/litteral/TirLitUndefExpr.js +0 -23
  558. package/dist/compiler/tir/expressions/litteral/TirLitVoidExpr.d.ts +0 -14
  559. package/dist/compiler/tir/expressions/litteral/TirLitVoidExpr.js +0 -17
  560. package/dist/compiler/tir/expressions/litteral/TirLitteralExpr.d.ts +0 -13
  561. package/dist/compiler/tir/expressions/litteral/TirLitteralExpr.js +0 -24
  562. package/dist/compiler/tir/expressions/unary/ITirUnaryExpression.d.ts +0 -4
  563. package/dist/compiler/tir/expressions/unary/ITirUnaryExpression.js +0 -1
  564. package/dist/compiler/tir/expressions/unary/TirUnaryExclamation.d.ts +0 -17
  565. package/dist/compiler/tir/expressions/unary/TirUnaryExclamation.js +0 -23
  566. package/dist/compiler/tir/expressions/unary/TirUnaryMinus.d.ts +0 -17
  567. package/dist/compiler/tir/expressions/unary/TirUnaryMinus.js +0 -22
  568. package/dist/compiler/tir/expressions/unary/TirUnaryPlus.d.ts +0 -15
  569. package/dist/compiler/tir/expressions/unary/TirUnaryPlus.js +0 -20
  570. package/dist/compiler/tir/expressions/unary/TirUnaryPrefixExpr.d.ts +0 -6
  571. package/dist/compiler/tir/expressions/unary/TirUnaryPrefixExpr.js +0 -10
  572. package/dist/compiler/tir/expressions/unary/TirUnaryTilde.d.ts +0 -17
  573. package/dist/compiler/tir/expressions/unary/TirUnaryTilde.js +0 -22
  574. package/dist/compiler/tir/expressions/utils/NamedExpr.d.ts +0 -5
  575. package/dist/compiler/tir/expressions/utils/NamedExpr.js +0 -1
  576. package/dist/compiler/tir/program/TypedProgram.d.ts +0 -44
  577. package/dist/compiler/tir/program/TypedProgram.js +0 -126
  578. package/dist/compiler/tir/program/stdScope/StdTypes.d.ts +0 -34
  579. package/dist/compiler/tir/program/stdScope/StdTypes.js +0 -40
  580. package/dist/compiler/tir/program/stdScope/prelude/preludeTypesSrc.d.ts +0 -0
  581. package/dist/compiler/tir/program/stdScope/prelude/preludeTypesSrc.js +0 -288
  582. package/dist/compiler/tir/program/stdScope/stdScope.d.ts +0 -15
  583. package/dist/compiler/tir/program/stdScope/stdScope.js +0 -730
  584. package/dist/compiler/tir/statements/TirAssertStmt.d.ts +0 -18
  585. package/dist/compiler/tir/statements/TirAssertStmt.js +0 -29
  586. package/dist/compiler/tir/statements/TirAssignmentStmt.d.ts +0 -12
  587. package/dist/compiler/tir/statements/TirAssignmentStmt.js +0 -14
  588. package/dist/compiler/tir/statements/TirBlockStmt.d.ts +0 -9
  589. package/dist/compiler/tir/statements/TirBlockStmt.js +0 -25
  590. package/dist/compiler/tir/statements/TirBreakStmt.d.ts +0 -8
  591. package/dist/compiler/tir/statements/TirBreakStmt.js +0 -11
  592. package/dist/compiler/tir/statements/TirContinueStmt.d.ts +0 -8
  593. package/dist/compiler/tir/statements/TirContinueStmt.js +0 -13
  594. package/dist/compiler/tir/statements/TirFailStmt.d.ts +0 -13
  595. package/dist/compiler/tir/statements/TirFailStmt.js +0 -14
  596. package/dist/compiler/tir/statements/TirForOfStmt.d.ts +0 -16
  597. package/dist/compiler/tir/statements/TirForOfStmt.js +0 -25
  598. package/dist/compiler/tir/statements/TirForStmt.d.ts +0 -19
  599. package/dist/compiler/tir/statements/TirForStmt.js +0 -39
  600. package/dist/compiler/tir/statements/TirIfStmt.d.ts +0 -12
  601. package/dist/compiler/tir/statements/TirIfStmt.js +0 -23
  602. package/dist/compiler/tir/statements/TirMatchStmt.d.ts +0 -27
  603. package/dist/compiler/tir/statements/TirMatchStmt.js +0 -51
  604. package/dist/compiler/tir/statements/TirReturnStmt.d.ts +0 -10
  605. package/dist/compiler/tir/statements/TirReturnStmt.js +0 -12
  606. package/dist/compiler/tir/statements/TirStmt.d.ts +0 -32
  607. package/dist/compiler/tir/statements/TirStmt.js +0 -40
  608. package/dist/compiler/tir/statements/TirVarDecl/TirArrayLikeDeconstr.d.ts +0 -17
  609. package/dist/compiler/tir/statements/TirVarDecl/TirArrayLikeDeconstr.js +0 -30
  610. package/dist/compiler/tir/statements/TirVarDecl/TirNamedDeconstructVarDecl.d.ts +0 -21
  611. package/dist/compiler/tir/statements/TirVarDecl/TirNamedDeconstructVarDecl.js +0 -34
  612. package/dist/compiler/tir/statements/TirVarDecl/TirSimpleVarDecl.d.ts +0 -17
  613. package/dist/compiler/tir/statements/TirVarDecl/TirSimpleVarDecl.js +0 -22
  614. package/dist/compiler/tir/statements/TirVarDecl/TirSingleDeconstructVarDecl.d.ts +0 -17
  615. package/dist/compiler/tir/statements/TirVarDecl/TirSingleDeconstructVarDecl.js +0 -30
  616. package/dist/compiler/tir/statements/TirVarDecl/TirVarDecl.d.ts +0 -10
  617. package/dist/compiler/tir/statements/TirVarDecl/TirVarDecl.js +0 -11
  618. package/dist/compiler/tir/statements/TirWhileStmt.d.ts +0 -11
  619. package/dist/compiler/tir/statements/TirWhileStmt.js +0 -19
  620. package/dist/compiler/tir/statements/utils/definitelyFails.d.ts +0 -3
  621. package/dist/compiler/tir/statements/utils/definitelyFails.js +0 -52
  622. package/dist/compiler/tir/types/TirAliasType.d.ts +0 -32
  623. package/dist/compiler/tir/types/TirAliasType.js +0 -49
  624. package/dist/compiler/tir/types/TirInterfaceImpl.d.ts +0 -44
  625. package/dist/compiler/tir/types/TirInterfaceImpl.js +0 -32
  626. package/dist/compiler/tir/types/TirInterfaceType.d.ts +0 -28
  627. package/dist/compiler/tir/types/TirInterfaceType.js +0 -36
  628. package/dist/compiler/tir/types/TirNativeType/TirNativeType.d.ts +0 -41
  629. package/dist/compiler/tir/types/TirNativeType/TirNativeType.js +0 -86
  630. package/dist/compiler/tir/types/TirNativeType/index.d.ts +0 -2
  631. package/dist/compiler/tir/types/TirNativeType/index.js +0 -2
  632. package/dist/compiler/tir/types/TirNativeType/native/Optional/data.d.ts +0 -17
  633. package/dist/compiler/tir/types/TirNativeType/native/Optional/data.js +0 -47
  634. package/dist/compiler/tir/types/TirNativeType/native/Optional/index.d.ts +0 -3
  635. package/dist/compiler/tir/types/TirNativeType/native/Optional/index.js +0 -3
  636. package/dist/compiler/tir/types/TirNativeType/native/Optional/isTirOptType.d.ts +0 -4
  637. package/dist/compiler/tir/types/TirNativeType/native/Optional/isTirOptType.js +0 -6
  638. package/dist/compiler/tir/types/TirNativeType/native/Optional/sop.d.ts +0 -17
  639. package/dist/compiler/tir/types/TirNativeType/native/Optional/sop.js +0 -48
  640. package/dist/compiler/tir/types/TirNativeType/native/bool.d.ts +0 -13
  641. package/dist/compiler/tir/types/TirNativeType/native/bool.js +0 -12
  642. package/dist/compiler/tir/types/TirNativeType/native/bytes.d.ts +0 -13
  643. package/dist/compiler/tir/types/TirNativeType/native/bytes.js +0 -12
  644. package/dist/compiler/tir/types/TirNativeType/native/data.d.ts +0 -13
  645. package/dist/compiler/tir/types/TirNativeType/native/data.js +0 -12
  646. package/dist/compiler/tir/types/TirNativeType/native/function.d.ts +0 -16
  647. package/dist/compiler/tir/types/TirNativeType/native/function.js +0 -38
  648. package/dist/compiler/tir/types/TirNativeType/native/index.d.ts +0 -10
  649. package/dist/compiler/tir/types/TirNativeType/native/index.js +0 -10
  650. package/dist/compiler/tir/types/TirNativeType/native/int.d.ts +0 -13
  651. package/dist/compiler/tir/types/TirNativeType/native/int.js +0 -12
  652. package/dist/compiler/tir/types/TirNativeType/native/linearMap.d.ts +0 -17
  653. package/dist/compiler/tir/types/TirNativeType/native/linearMap.js +0 -44
  654. package/dist/compiler/tir/types/TirNativeType/native/list.d.ts +0 -16
  655. package/dist/compiler/tir/types/TirNativeType/native/list.js +0 -38
  656. package/dist/compiler/tir/types/TirNativeType/native/string.d.ts +0 -13
  657. package/dist/compiler/tir/types/TirNativeType/native/string.js +0 -12
  658. package/dist/compiler/tir/types/TirNativeType/native/void.d.ts +0 -13
  659. package/dist/compiler/tir/types/TirNativeType/native/void.js +0 -12
  660. package/dist/compiler/tir/types/TirStructType.d.ts +0 -68
  661. package/dist/compiler/tir/types/TirStructType.js +0 -128
  662. package/dist/compiler/tir/types/TirType.d.ts +0 -34
  663. package/dist/compiler/tir/types/TirType.js +0 -16
  664. package/dist/compiler/tir/types/TirTypeParam.d.ts +0 -18
  665. package/dist/compiler/tir/types/TirTypeParam.js +0 -39
  666. package/dist/compiler/tir/types/utils/canAssignTo.d.ts +0 -24
  667. package/dist/compiler/tir/types/utils/canAssignTo.js +0 -337
  668. package/dist/compiler/tir/types/utils/canCastTo.d.ts +0 -9
  669. package/dist/compiler/tir/types/utils/canCastTo.js +0 -155
  670. package/dist/compiler/tir/types/utils/getDeconstructableType.d.ts +0 -9
  671. package/dist/compiler/tir/types/utils/getDeconstructableType.js +0 -20
  672. package/dist/compiler/tir/types/utils/getListTypeArg.d.ts +0 -2
  673. package/dist/compiler/tir/types/utils/getListTypeArg.js +0 -9
  674. package/dist/compiler/tir/types/utils/getOptTypeArg.d.ts +0 -2
  675. package/dist/compiler/tir/types/utils/getOptTypeArg.js +0 -14
  676. package/dist/compiler/tir/types/utils/getUnaliased.d.ts +0 -3
  677. package/dist/compiler/tir/types/utils/getUnaliased.js +0 -9
  678. package/dist/diagnostics/DiagnosticCategory.d.ts +0 -16
  679. package/dist/diagnostics/DiagnosticCategory.js +0 -39
  680. package/dist/diagnostics/DiagnosticEmitter.d.ts +0 -32
  681. package/dist/diagnostics/DiagnosticEmitter.js +0 -95
  682. package/dist/diagnostics/DiagnosticMessage.d.ts +0 -37
  683. package/dist/diagnostics/DiagnosticMessage.js +0 -229
  684. package/dist/diagnostics/diagnosticMessages.generated.d.ts +0 -275
  685. package/dist/diagnostics/diagnosticMessages.generated.js +0 -551
  686. package/dist/diagnostics/utils/types.d.ts +0 -5
  687. package/dist/diagnostics/utils/types.js +0 -1
  688. package/dist/index.d.ts +0 -12
  689. package/dist/index.js +0 -13
  690. package/dist/parser/Parser.d.ts +0 -150
  691. package/dist/parser/Parser.js +0 -2416
  692. package/dist/parser/Precedence.d.ts +0 -38
  693. package/dist/parser/Precedence.js +0 -98
  694. package/dist/parser/hoistStatementsInplace.d.ts +0 -14
  695. package/dist/parser/hoistStatementsInplace.js +0 -94
  696. package/dist/parser/index.d.ts +0 -1
  697. package/dist/parser/index.js +0 -1
  698. package/dist/parser/parseFile.d.ts +0 -3
  699. package/dist/parser/parseFile.js +0 -8
  700. package/dist/tokenizer/IdentifierHandling.d.ts +0 -5
  701. package/dist/tokenizer/IdentifierHandling.js +0 -6
  702. package/dist/tokenizer/OnNewLine.d.ts +0 -6
  703. package/dist/tokenizer/OnNewLine.js +0 -8
  704. package/dist/tokenizer/Token.d.ts +0 -160
  705. package/dist/tokenizer/Token.js +0 -213
  706. package/dist/tokenizer/Tokenizer.d.ts +0 -129
  707. package/dist/tokenizer/Tokenizer.js +0 -1323
  708. package/dist/tokenizer/TokenizerState.d.ts +0 -17
  709. package/dist/tokenizer/TokenizerState.js +0 -17
  710. package/dist/tokenizer/index.d.ts +0 -2
  711. package/dist/tokenizer/index.js +0 -2
  712. package/dist/tokenizer/utils/isIllegalVariableIdentifier.d.ts +0 -1
  713. package/dist/tokenizer/utils/isIllegalVariableIdentifier.js +0 -12
  714. package/dist/tokenizer/utils/operatorTokenToString.d.ts +0 -2
  715. package/dist/tokenizer/utils/operatorTokenToString.js +0 -57
  716. package/dist/tokenizer/utils/tokenFromKeyword.d.ts +0 -2
  717. package/dist/tokenizer/utils/tokenFromKeyword.js +0 -222
  718. package/dist/tokenizer/utils/tokenIsAlsoIdentifier.d.ts +0 -2
  719. package/dist/tokenizer/utils/tokenIsAlsoIdentifier.js +0 -24
  720. package/dist/utils/BasePlutsError.d.ts +0 -2
  721. package/dist/utils/BasePlutsError.js +0 -2
  722. package/dist/utils/BitUtils/index.d.ts +0 -30
  723. package/dist/utils/BitUtils/index.js +0 -60
  724. package/dist/utils/CharCode.d.ts +0 -125
  725. package/dist/utils/CharCode.js +0 -1
  726. package/dist/utils/Cloneable.d.ts +0 -6
  727. package/dist/utils/Cloneable.js +0 -4
  728. package/dist/utils/InvalidCborFormatError.d.ts +0 -3
  729. package/dist/utils/InvalidCborFormatError.js +0 -5
  730. package/dist/utils/IsSingleKey.d.ts +0 -7
  731. package/dist/utils/IsSingleKey.js +0 -1
  732. package/dist/utils/MaybePromise.d.ts +0 -2
  733. package/dist/utils/MaybePromise.js +0 -4
  734. package/dist/utils/PlutusScriptType.d.ts +0 -12
  735. package/dist/utils/PlutusScriptType.js +0 -1
  736. package/dist/utils/ToJson.d.ts +0 -4
  737. package/dist/utils/ToJson.js +0 -5
  738. package/dist/utils/UPLCFlatUtils/index.d.ts +0 -46
  739. package/dist/utils/UPLCFlatUtils/index.js +0 -124
  740. package/dist/utils/array/filterSortedStrArrInplace.d.ts +0 -7
  741. package/dist/utils/array/filterSortedStrArrInplace.js +0 -46
  742. package/dist/utils/array/keepSortedArrInplace.d.ts +0 -7
  743. package/dist/utils/array/keepSortedArrInplace.js +0 -49
  744. package/dist/utils/array/mergeSortedStrArrInplace.d.ts +0 -6
  745. package/dist/utils/array/mergeSortedStrArrInplace.js +0 -52
  746. package/dist/utils/assert.d.ts +0 -1
  747. package/dist/utils/assert.js +0 -5
  748. package/dist/utils/capitalize.d.ts +0 -1
  749. package/dist/utils/capitalize.js +0 -5
  750. package/dist/utils/combinators.d.ts +0 -37
  751. package/dist/utils/combinators.js +0 -76
  752. package/dist/utils/getCallStackAt/index.d.ts +0 -43
  753. package/dist/utils/getCallStackAt/index.js +0 -295
  754. package/dist/utils/hex.d.ts +0 -1
  755. package/dist/utils/hex.js +0 -6
  756. package/dist/utils/ints.d.ts +0 -4
  757. package/dist/utils/ints.js +0 -19
  758. package/dist/utils/isNonEmpty.d.ts +0 -1
  759. package/dist/utils/isNonEmpty.js +0 -3
  760. package/dist/utils/maybeData.d.ts +0 -4
  761. package/dist/utils/maybeData.js +0 -10
  762. package/dist/utils/stringify.d.ts +0 -2
  763. package/dist/utils/stringify.js +0 -31
  764. package/dist/utils/terminal.d.ts +0 -28
  765. package/dist/utils/terminal.js +0 -38
  766. package/dist/utils/text.d.ts +0 -172
  767. package/dist/utils/text.js +0 -672
  768. package/dist/utils/types.d.ts +0 -12
  769. package/dist/utils/types.js +0 -1
@@ -1,551 +0,0 @@
1
- // GENERATED FILE. DO NOT EDIT.
2
- /** Enum of available diagnostic codes. */
3
- export var DiagnosticCode;
4
- (function (DiagnosticCode) {
5
- DiagnosticCode[DiagnosticCode["Not_implemented_0"] = 100] = "Not_implemented_0";
6
- DiagnosticCode[DiagnosticCode["Main_function_is_missing"] = 101] = "Main_function_is_missing";
7
- DiagnosticCode[DiagnosticCode["Conversion_from_type_0_to_1_requires_an_explicit_cast"] = 200] = "Conversion_from_type_0_to_1_requires_an_explicit_cast";
8
- DiagnosticCode[DiagnosticCode["Conversion_from_type_0_to_1_will_require_an_explicit_cast_when_switching_between_32_64_bit"] = 201] = "Conversion_from_type_0_to_1_will_require_an_explicit_cast_when_switching_between_32_64_bit";
9
- DiagnosticCode[DiagnosticCode["Type_0_cannot_be_changed_to_type_1"] = 202] = "Type_0_cannot_be_changed_to_type_1";
10
- DiagnosticCode[DiagnosticCode["Operation_0_cannot_be_applied_to_type_1"] = 203] = "Operation_0_cannot_be_applied_to_type_1";
11
- DiagnosticCode[DiagnosticCode["Type_0_cannot_be_nullable"] = 204] = "Type_0_cannot_be_nullable";
12
- DiagnosticCode[DiagnosticCode["Mutable_value_cannot_be_inlined"] = 206] = "Mutable_value_cannot_be_inlined";
13
- DiagnosticCode[DiagnosticCode["Unmanaged_classes_cannot_extend_managed_classes_and_vice_versa"] = 207] = "Unmanaged_classes_cannot_extend_managed_classes_and_vice_versa";
14
- DiagnosticCode[DiagnosticCode["Unmanaged_classes_cannot_implement_interfaces"] = 208] = "Unmanaged_classes_cannot_implement_interfaces";
15
- DiagnosticCode[DiagnosticCode["Invalid_regular_expression_flags"] = 209] = "Invalid_regular_expression_flags";
16
- DiagnosticCode[DiagnosticCode["Expression_is_never_null"] = 210] = "Expression_is_never_null";
17
- DiagnosticCode[DiagnosticCode["Class_0_is_final_and_cannot_be_extended"] = 211] = "Class_0_is_final_and_cannot_be_extended";
18
- DiagnosticCode[DiagnosticCode["Decorator_0_is_not_valid_here"] = 212] = "Decorator_0_is_not_valid_here";
19
- DiagnosticCode[DiagnosticCode["Duplicate_decorator"] = 213] = "Duplicate_decorator";
20
- DiagnosticCode[DiagnosticCode["Type_0_is_illegal_in_this_context"] = 214] = "Type_0_is_illegal_in_this_context";
21
- DiagnosticCode[DiagnosticCode["Optional_parameter_must_have_an_initializer"] = 215] = "Optional_parameter_must_have_an_initializer";
22
- DiagnosticCode[DiagnosticCode["Class_0_cannot_declare_a_constructor_when_instantiated_from_an_object_literal"] = 216] = "Class_0_cannot_declare_a_constructor_when_instantiated_from_an_object_literal";
23
- DiagnosticCode[DiagnosticCode["Function_0_cannot_be_inlined_into_itself"] = 217] = "Function_0_cannot_be_inlined_into_itself";
24
- DiagnosticCode[DiagnosticCode["Cannot_access_method_0_without_calling_it_as_it_requires_this_to_be_set"] = 218] = "Cannot_access_method_0_without_calling_it_as_it_requires_this_to_be_set";
25
- DiagnosticCode[DiagnosticCode["Optional_properties_are_not_supported"] = 219] = "Optional_properties_are_not_supported";
26
- DiagnosticCode[DiagnosticCode["Expression_must_be_a_compile_time_constant"] = 220] = "Expression_must_be_a_compile_time_constant";
27
- DiagnosticCode[DiagnosticCode["Type_0_is_not_a_function_index_or_function_reference"] = 221] = "Type_0_is_not_a_function_index_or_function_reference";
28
- DiagnosticCode[DiagnosticCode["_0_must_be_a_value_between_1_and_2_inclusive"] = 222] = "_0_must_be_a_value_between_1_and_2_inclusive";
29
- DiagnosticCode[DiagnosticCode["_0_must_be_a_power_of_two"] = 223] = "_0_must_be_a_power_of_two";
30
- DiagnosticCode[DiagnosticCode["_0_is_not_a_valid_operator"] = 224] = "_0_is_not_a_valid_operator";
31
- DiagnosticCode[DiagnosticCode["Expression_cannot_be_represented_by_a_type"] = 225] = "Expression_cannot_be_represented_by_a_type";
32
- DiagnosticCode[DiagnosticCode["Expression_resolves_to_unusual_type_0"] = 226] = "Expression_resolves_to_unusual_type_0";
33
- DiagnosticCode[DiagnosticCode["Array_literal_expected"] = 227] = "Array_literal_expected";
34
- DiagnosticCode[DiagnosticCode["Function_0_is_virtual_and_will_not_be_inlined"] = 228] = "Function_0_is_virtual_and_will_not_be_inlined";
35
- DiagnosticCode[DiagnosticCode["Property_0_only_has_a_setter_and_is_missing_a_getter"] = 229] = "Property_0_only_has_a_setter_and_is_missing_a_getter";
36
- DiagnosticCode[DiagnosticCode["_0_keyword_cannot_be_used_here"] = 230] = "_0_keyword_cannot_be_used_here";
37
- DiagnosticCode[DiagnosticCode["A_class_with_a_constructor_explicitly_returning_something_else_than_this_must_be_final"] = 231] = "A_class_with_a_constructor_explicitly_returning_something_else_than_this_must_be_final";
38
- DiagnosticCode[DiagnosticCode["Property_0_is_always_assigned_before_being_used"] = 233] = "Property_0_is_always_assigned_before_being_used";
39
- DiagnosticCode[DiagnosticCode["Expression_does_not_compile_to_a_value_at_runtime"] = 234] = "Expression_does_not_compile_to_a_value_at_runtime";
40
- DiagnosticCode[DiagnosticCode["Literal_0_does_not_fit_into_i64_or_u64_types"] = 236] = "Literal_0_does_not_fit_into_i64_or_u64_types";
41
- DiagnosticCode[DiagnosticCode["Index_signature_accessors_in_type_0_differ_in_types"] = 237] = "Index_signature_accessors_in_type_0_differ_in_types";
42
- DiagnosticCode[DiagnosticCode["Initializer_definitive_assignment_or_nullable_type_expected"] = 238] = "Initializer_definitive_assignment_or_nullable_type_expected";
43
- DiagnosticCode[DiagnosticCode["Definitive_assignment_has_no_effect_on_local_variables"] = 239] = "Definitive_assignment_has_no_effect_on_local_variables";
44
- DiagnosticCode[DiagnosticCode["Ambiguous_operator_overload_0_conflicting_overloads_1_and_2"] = 240] = "Ambiguous_operator_overload_0_conflicting_overloads_1_and_2";
45
- DiagnosticCode[DiagnosticCode["A_variable_statement_must_have_at_least_one_variable_declaration"] = 241] = "A_variable_statement_must_have_at_least_one_variable_declaration";
46
- DiagnosticCode[DiagnosticCode["A_field_in_a_deconstructed_declaration_cannot_have_an_initialization"] = 242] = "A_field_in_a_deconstructed_declaration_cannot_have_an_initialization";
47
- DiagnosticCode[DiagnosticCode["A_field_in_a_deconstructed_declaration_cannot_have_an_explicit_type_did_you_mean_to_cast_using_the_as_keyword"] = 243] = "A_field_in_a_deconstructed_declaration_cannot_have_an_explicit_type_did_you_mean_to_cast_using_the_as_keyword";
48
- DiagnosticCode[DiagnosticCode["Object_literal_expected"] = 244] = "Object_literal_expected";
49
- DiagnosticCode[DiagnosticCode["Initialization_expressions_are_not_allowed_in_a_struct_declaration"] = 245] = "Initialization_expressions_are_not_allowed_in_a_struct_declaration";
50
- DiagnosticCode[DiagnosticCode["Empty_array_litteral_must_be_explicitly_cast_to_a_type"] = 246] = "Empty_array_litteral_must_be_explicitly_cast_to_a_type";
51
- DiagnosticCode[DiagnosticCode["Cannot_infer_type_for_empty_array_litteral"] = 247] = "Cannot_infer_type_for_empty_array_litteral";
52
- DiagnosticCode[DiagnosticCode["Litteral_value_undefined_must_be_explicitly_cast_to_an_Optional_type"] = 248] = "Litteral_value_undefined_must_be_explicitly_cast_to_an_Optional_type";
53
- DiagnosticCode[DiagnosticCode["Unnamed_object_litteral_must_be_explicitly_cast_to_a_type"] = 249] = "Unnamed_object_litteral_must_be_explicitly_cast_to_a_type";
54
- DiagnosticCode[DiagnosticCode["Unnamed_object_litteral_does_not_match_0_struct_definition"] = 250] = "Unnamed_object_litteral_does_not_match_0_struct_definition";
55
- DiagnosticCode[DiagnosticCode["Unnamed_object_litteral_is_not_assignable_to_0_An_explicit_constrctor_must_be_used"] = 251] = "Unnamed_object_litteral_is_not_assignable_to_0_An_explicit_constrctor_must_be_used";
56
- DiagnosticCode[DiagnosticCode["Unnamed_object_litteral_is_not_assignable_to_0"] = 252] = "Unnamed_object_litteral_is_not_assignable_to_0";
57
- DiagnosticCode[DiagnosticCode["Unnamed_object_litteral_is_not_assignable_to_0_The_fields_do_not_match_the_the_type_definition"] = 253] = "Unnamed_object_litteral_is_not_assignable_to_0_The_fields_do_not_match_the_the_type_definition";
58
- DiagnosticCode[DiagnosticCode["Field_0_is_not_part_of_the_1_constructor_for_2_struct"] = 254] = "Field_0_is_not_part_of_the_1_constructor_for_2_struct";
59
- DiagnosticCode[DiagnosticCode["Field_0_is_missing_but_required_by_the_1_constructor_of_the_2_struct"] = 254] = "Field_0_is_missing_but_required_by_the_1_constructor_of_the_2_struct";
60
- DiagnosticCode[DiagnosticCode["Named_object_litteral_is_not_assignable_to_0"] = 255] = "Named_object_litteral_is_not_assignable_to_0";
61
- DiagnosticCode[DiagnosticCode["_0_is_not_defined"] = 256] = "_0_is_not_defined";
62
- DiagnosticCode[DiagnosticCode["Cannot_infer_struct_type_from_constructor_0_Declare_it_with_a_using_keyword_declaration"] = 257] = "Cannot_infer_struct_type_from_constructor_0_Declare_it_with_a_using_keyword_declaration";
63
- DiagnosticCode[DiagnosticCode["Constructor_0_aliased_as_1_is_not_part_of_the_2_definition"] = 258] = "Constructor_0_aliased_as_1_is_not_part_of_the_2_definition";
64
- DiagnosticCode[DiagnosticCode["Deconstructing_0_requires_the_name_of_the_constructor"] = 259] = "Deconstructing_0_requires_the_name_of_the_constructor";
65
- DiagnosticCode[DiagnosticCode["Construcotr_0_is_not_part_of_the_definiton_of_1"] = 260] = "Construcotr_0_is_not_part_of_the_definiton_of_1";
66
- DiagnosticCode[DiagnosticCode["Invalid_rest_parameter_there_are_no_more_fields"] = 261] = "Invalid_rest_parameter_there_are_no_more_fields";
67
- DiagnosticCode[DiagnosticCode["Cannot_infer_variable_type_Try_to_make_the_type_explicit"] = 262] = "Cannot_infer_variable_type_Try_to_make_the_type_explicit";
68
- DiagnosticCode[DiagnosticCode["Cannot_infer_return_type_Try_to_make_the_type_explicit"] = 263] = "Cannot_infer_return_type_Try_to_make_the_type_explicit";
69
- DiagnosticCode[DiagnosticCode["Cannot_use_is_operator_on_a_value_that_is_not_a_struct_type"] = 264] = "Cannot_use_is_operator_on_a_value_that_is_not_a_struct_type";
70
- DiagnosticCode[DiagnosticCode["Constructor_0_is_not_part_of_the_definition_of_1"] = 265] = "Constructor_0_is_not_part_of_the_definition_of_1";
71
- DiagnosticCode[DiagnosticCode["This_check_is_redundant_Struct_0_has_only_one_possible_constructor"] = 266] = "This_check_is_redundant_Struct_0_has_only_one_possible_constructor";
72
- DiagnosticCode[DiagnosticCode["This_expression_cannot_be_indexed"] = 267] = "This_expression_cannot_be_indexed";
73
- DiagnosticCode[DiagnosticCode["Cannot_evaluate_type_expression"] = 268] = "Cannot_evaluate_type_expression";
74
- DiagnosticCode[DiagnosticCode["Type_0_does_not_have_constructors"] = 269] = "Type_0_does_not_have_constructors";
75
- DiagnosticCode[DiagnosticCode["Constructor_name_0_is_already_declared_in_this_scope"] = 270] = "Constructor_name_0_is_already_declared_in_this_scope";
76
- DiagnosticCode[DiagnosticCode["Unterminated_Unicode_escape_sequence"] = 271] = "Unterminated_Unicode_escape_sequence";
77
- DiagnosticCode[DiagnosticCode["Left_side_of_opeartor_is_not_optional_right_side_is_unused"] = 272] = "Left_side_of_opeartor_is_not_optional_right_side_is_unused";
78
- DiagnosticCode[DiagnosticCode["_0_is_already_defined"] = 273] = "_0_is_already_defined";
79
- DiagnosticCode[DiagnosticCode["_0_is_already_exported"] = 274] = "_0_is_already_exported";
80
- DiagnosticCode[DiagnosticCode["_export_keyword_cannot_be_used_here"] = 275] = "_export_keyword_cannot_be_used_here";
81
- DiagnosticCode[DiagnosticCode["Only_constants_can_be_declared_outside_of_a_function"] = 276] = "Only_constants_can_be_declared_outside_of_a_function";
82
- DiagnosticCode[DiagnosticCode["Only_function_declarations_and_constants_can_be_exported"] = 277] = "Only_function_declarations_and_constants_can_be_exported";
83
- DiagnosticCode[DiagnosticCode["function_declarations_are_only_allowed_at_the_top_level"] = 278] = "function_declarations_are_only_allowed_at_the_top_level";
84
- DiagnosticCode[DiagnosticCode["type_declarations_and_interfaces_are_only_allowed_at_the_top_level"] = 279] = "type_declarations_and_interfaces_are_only_allowed_at_the_top_level";
85
- DiagnosticCode[DiagnosticCode["Type_0_cannot_be_encoded_as_data"] = 280] = "Type_0_cannot_be_encoded_as_data";
86
- DiagnosticCode[DiagnosticCode["Type_0_cannot_be_encoded_as_data_but_it_has_a_runtime_encoding_Use_runtime_keyword_modifier_for_the_declaration"] = 281] = "Type_0_cannot_be_encoded_as_data_but_it_has_a_runtime_encoding_Use_runtime_keyword_modifier_for_the_declaration";
87
- DiagnosticCode[DiagnosticCode["Default_method_implementatitons_are_not_supported_default_implementation_will_be_ignored"] = 282] = "Default_method_implementatitons_are_not_supported_default_implementation_will_be_ignored";
88
- DiagnosticCode[DiagnosticCode["Interface_implementations_cannot_be_exported"] = 282] = "Interface_implementations_cannot_be_exported";
89
- DiagnosticCode[DiagnosticCode["Method_implementations_are_only_allowed_for_types_declared_locally"] = 283] = "Method_implementations_are_only_allowed_for_types_declared_locally";
90
- DiagnosticCode[DiagnosticCode["Method_0_is_already_implemented"] = 283] = "Method_0_is_already_implemented";
91
- DiagnosticCode[DiagnosticCode["While_compiling_function_expression_expected_type_was_not_a_function"] = 284] = "While_compiling_function_expression_expected_type_was_not_a_function";
92
- DiagnosticCode[DiagnosticCode["Could_not_infer_function_signature_parameter_type_is_missing"] = 285] = "Could_not_infer_function_signature_parameter_type_is_missing";
93
- DiagnosticCode[DiagnosticCode["Could_not_infer_function_signature_return_type_is_missing"] = 286] = "Could_not_infer_function_signature_return_type_is_missing";
94
- DiagnosticCode[DiagnosticCode["_case_expression_must_decontructed_the_inspected_value"] = 287] = "_case_expression_must_decontructed_the_inspected_value";
95
- DiagnosticCode[DiagnosticCode["for_loop_initialization_variables_cannot_be_destructured_Declare_it_as_a_simple_variable_and_move_the_destructuring_in_the_loop_body"] = 288] = "for_loop_initialization_variables_cannot_be_destructured_Declare_it_as_a_simple_variable_and_move_the_destructuring_in_the_loop_body";
96
- DiagnosticCode[DiagnosticCode["Match_cases_are_not_exhaustive"] = 289] = "Match_cases_are_not_exhaustive";
97
- DiagnosticCode[DiagnosticCode["Importing_the_table_disables_some_indirect_call_optimizations"] = 901] = "Importing_the_table_disables_some_indirect_call_optimizations";
98
- DiagnosticCode[DiagnosticCode["Exporting_the_table_disables_some_indirect_call_optimizations"] = 902] = "Exporting_the_table_disables_some_indirect_call_optimizations";
99
- DiagnosticCode[DiagnosticCode["Expression_compiles_to_a_dynamic_check_at_runtime"] = 903] = "Expression_compiles_to_a_dynamic_check_at_runtime";
100
- DiagnosticCode[DiagnosticCode["Indexed_access_may_involve_bounds_checking"] = 904] = "Indexed_access_may_involve_bounds_checking";
101
- DiagnosticCode[DiagnosticCode["Explicitly_returning_constructor_drops_this_allocation"] = 905] = "Explicitly_returning_constructor_drops_this_allocation";
102
- DiagnosticCode[DiagnosticCode["Unnecessary_definite_assignment"] = 906] = "Unnecessary_definite_assignment";
103
- DiagnosticCode[DiagnosticCode["_NaN_does_not_compare_equal_to_any_other_value_including_itself_Use_isNaN_x_instead"] = 907] = "_NaN_does_not_compare_equal_to_any_other_value_including_itself_Use_isNaN_x_instead";
104
- DiagnosticCode[DiagnosticCode["Comparison_with_0_0_is_sign_insensitive_Use_Object_is_x_0_0_if_the_sign_matters"] = 908] = "Comparison_with_0_0_is_sign_insensitive_Use_Object_is_x_0_0_if_the_sign_matters";
105
- DiagnosticCode[DiagnosticCode["Unterminated_string_literal"] = 1002] = "Unterminated_string_literal";
106
- DiagnosticCode[DiagnosticCode["Identifier_expected"] = 1003] = "Identifier_expected";
107
- DiagnosticCode[DiagnosticCode["_0_expected"] = 1005] = "_0_expected";
108
- DiagnosticCode[DiagnosticCode["A_file_cannot_have_a_reference_to_itself"] = 1006] = "A_file_cannot_have_a_reference_to_itself";
109
- DiagnosticCode[DiagnosticCode["Trailing_comma_not_allowed"] = 1009] = "Trailing_comma_not_allowed";
110
- DiagnosticCode[DiagnosticCode["Unexpected_token"] = 1012] = "Unexpected_token";
111
- DiagnosticCode[DiagnosticCode["A_rest_parameter_must_be_last_in_a_parameter_list"] = 1014] = "A_rest_parameter_must_be_last_in_a_parameter_list";
112
- DiagnosticCode[DiagnosticCode["Parameter_cannot_have_question_mark_and_initializer"] = 1015] = "Parameter_cannot_have_question_mark_and_initializer";
113
- DiagnosticCode[DiagnosticCode["A_required_parameter_cannot_follow_an_optional_parameter"] = 1016] = "A_required_parameter_cannot_follow_an_optional_parameter";
114
- DiagnosticCode[DiagnosticCode["_0_modifier_cannot_appear_on_class_elements_of_this_kind"] = 1031] = "_0_modifier_cannot_appear_on_class_elements_of_this_kind";
115
- DiagnosticCode[DiagnosticCode["Statements_are_not_allowed_in_ambient_contexts"] = 1036] = "Statements_are_not_allowed_in_ambient_contexts";
116
- DiagnosticCode[DiagnosticCode["Initializers_are_not_allowed_in_ambient_contexts"] = 1039] = "Initializers_are_not_allowed_in_ambient_contexts";
117
- DiagnosticCode[DiagnosticCode["_0_modifier_cannot_be_used_here"] = 1042] = "_0_modifier_cannot_be_used_here";
118
- DiagnosticCode[DiagnosticCode["A_rest_parameter_cannot_be_optional"] = 1047] = "A_rest_parameter_cannot_be_optional";
119
- DiagnosticCode[DiagnosticCode["A_rest_parameter_cannot_have_an_initializer"] = 1048] = "A_rest_parameter_cannot_have_an_initializer";
120
- DiagnosticCode[DiagnosticCode["A_set_accessor_must_have_exactly_one_parameter"] = 1049] = "A_set_accessor_must_have_exactly_one_parameter";
121
- DiagnosticCode[DiagnosticCode["A_set_accessor_parameter_cannot_have_an_initializer"] = 1052] = "A_set_accessor_parameter_cannot_have_an_initializer";
122
- DiagnosticCode[DiagnosticCode["A_get_accessor_cannot_have_parameters"] = 1054] = "A_get_accessor_cannot_have_parameters";
123
- DiagnosticCode[DiagnosticCode["Enum_member_must_have_initializer"] = 1061] = "Enum_member_must_have_initializer";
124
- DiagnosticCode[DiagnosticCode["Type_parameters_cannot_appear_on_a_constructor_declaration"] = 1092] = "Type_parameters_cannot_appear_on_a_constructor_declaration";
125
- DiagnosticCode[DiagnosticCode["Type_annotation_cannot_appear_on_a_constructor_declaration"] = 1093] = "Type_annotation_cannot_appear_on_a_constructor_declaration";
126
- DiagnosticCode[DiagnosticCode["An_accessor_cannot_have_type_parameters"] = 1094] = "An_accessor_cannot_have_type_parameters";
127
- DiagnosticCode[DiagnosticCode["A_set_accessor_cannot_have_a_return_type_annotation"] = 1095] = "A_set_accessor_cannot_have_a_return_type_annotation";
128
- DiagnosticCode[DiagnosticCode["Type_parameter_list_cannot_be_empty"] = 1098] = "Type_parameter_list_cannot_be_empty";
129
- DiagnosticCode[DiagnosticCode["Type_argument_list_cannot_be_empty"] = 1099] = "Type_argument_list_cannot_be_empty";
130
- DiagnosticCode[DiagnosticCode["A_continue_statement_can_only_be_used_within_a_loop"] = 1104] = "A_continue_statement_can_only_be_used_within_a_loop";
131
- DiagnosticCode[DiagnosticCode["A_break_statement_can_only_be_used_within_a_loop"] = 1105] = "A_break_statement_can_only_be_used_within_a_loop";
132
- DiagnosticCode[DiagnosticCode["A_return_statement_can_only_be_used_within_a_function_body"] = 1108] = "A_return_statement_can_only_be_used_within_a_function_body";
133
- DiagnosticCode[DiagnosticCode["Expression_expected"] = 1109] = "Expression_expected";
134
- DiagnosticCode[DiagnosticCode["Type_expected"] = 1110] = "Type_expected";
135
- DiagnosticCode[DiagnosticCode["A_default_clause_cannot_appear_more_than_once_in_a_switch_statement"] = 1113] = "A_default_clause_cannot_appear_more_than_once_in_a_switch_statement";
136
- DiagnosticCode[DiagnosticCode["Duplicate_label_0"] = 1114] = "Duplicate_label_0";
137
- DiagnosticCode[DiagnosticCode["Octal_literals_are_not_allowed_in_strict_mode"] = 1121] = "Octal_literals_are_not_allowed_in_strict_mode";
138
- DiagnosticCode[DiagnosticCode["Digit_expected"] = 1124] = "Digit_expected";
139
- DiagnosticCode[DiagnosticCode["Hexadecimal_digit_expected"] = 1125] = "Hexadecimal_digit_expected";
140
- DiagnosticCode[DiagnosticCode["Unexpected_end_of_text"] = 1126] = "Unexpected_end_of_text";
141
- DiagnosticCode[DiagnosticCode["Invalid_character"] = 1127] = "Invalid_character";
142
- DiagnosticCode[DiagnosticCode["Type_argument_expected"] = 1140] = "Type_argument_expected";
143
- DiagnosticCode[DiagnosticCode["String_literal_expected"] = 1141] = "String_literal_expected";
144
- DiagnosticCode[DiagnosticCode["Line_break_not_permitted_here"] = 1142] = "Line_break_not_permitted_here";
145
- DiagnosticCode[DiagnosticCode["Declaration_expected"] = 1146] = "Declaration_expected";
146
- DiagnosticCode[DiagnosticCode["_const_declarations_must_be_initialized"] = 1155] = "_const_declarations_must_be_initialized";
147
- DiagnosticCode[DiagnosticCode["Unterminated_regular_expression_literal"] = 1161] = "Unterminated_regular_expression_literal";
148
- DiagnosticCode[DiagnosticCode["Declarations_with_initializers_cannot_also_have_definite_assignment_assertions"] = 1263] = "Declarations_with_initializers_cannot_also_have_definite_assignment_assertions";
149
- DiagnosticCode[DiagnosticCode["Interface_declaration_cannot_have_implements_clause"] = 1176] = "Interface_declaration_cannot_have_implements_clause";
150
- DiagnosticCode[DiagnosticCode["Binary_digit_expected"] = 1177] = "Binary_digit_expected";
151
- DiagnosticCode[DiagnosticCode["Octal_digit_expected"] = 1178] = "Octal_digit_expected";
152
- DiagnosticCode[DiagnosticCode["An_implementation_cannot_be_declared_in_ambient_contexts"] = 1183] = "An_implementation_cannot_be_declared_in_ambient_contexts";
153
- DiagnosticCode[DiagnosticCode["The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer"] = 1190] = "The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer";
154
- DiagnosticCode[DiagnosticCode["An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive"] = 1198] = "An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive";
155
- DiagnosticCode[DiagnosticCode["A_parameter_property_cannot_be_declared_using_a_rest_parameter"] = 1317] = "A_parameter_property_cannot_be_declared_using_a_rest_parameter";
156
- DiagnosticCode[DiagnosticCode["An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal"] = 1351] = "An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal";
157
- DiagnosticCode[DiagnosticCode["A_destructured_parameter_for_a_constructor_cannot_have_a_modifier"] = 1352] = "A_destructured_parameter_for_a_constructor_cannot_have_a_modifier";
158
- DiagnosticCode[DiagnosticCode["A_rest_element_must_be_last_in_an_object_destructuring_pattern"] = 1353] = "A_rest_element_must_be_last_in_an_object_destructuring_pattern";
159
- DiagnosticCode[DiagnosticCode["An_identifier_cannot_preceed_array_destructuring"] = 1354] = "An_identifier_cannot_preceed_array_destructuring";
160
- DiagnosticCode[DiagnosticCode["A_rest_element_must_be_last_in_an_array_destructuring_pattern"] = 1355] = "A_rest_element_must_be_last_in_an_array_destructuring_pattern";
161
- DiagnosticCode[DiagnosticCode["Invaild_destructuring"] = 1356] = "Invaild_destructuring";
162
- DiagnosticCode[DiagnosticCode["Destructuring_requires_an_initializer_expression"] = 1362] = "Destructuring_requires_an_initializer_expression";
163
- DiagnosticCode[DiagnosticCode["Only_a_single_variable_is_allowed_in_a_for_of_statement"] = 1363] = "Only_a_single_variable_is_allowed_in_a_for_of_statement";
164
- DiagnosticCode[DiagnosticCode["Rest_parameters_are_not_supported_in_pebble_cosider_using_a_concrete_parameter_with_default_value"] = 1364] = "Rest_parameters_are_not_supported_in_pebble_cosider_using_a_concrete_parameter_with_default_value";
165
- DiagnosticCode[DiagnosticCode["A_test_can_only_be_specified_at_the_top_level_of_the_file_it_cannot_be_defined_in_functions_etc"] = 1365] = "A_test_can_only_be_specified_at_the_top_level_of_the_file_it_cannot_be_defined_in_functions_etc";
166
- DiagnosticCode[DiagnosticCode["Tests_must_be_specified_in_a_block_statement"] = 1365] = "Tests_must_be_specified_in_a_block_statement";
167
- DiagnosticCode[DiagnosticCode["Pattern_expected"] = 1366] = "Pattern_expected";
168
- DiagnosticCode[DiagnosticCode["This_case_will_never_be_evaluated_because_all_patterns_will_be_catched_before"] = 1367] = "This_case_will_never_be_evaluated_because_all_patterns_will_be_catched_before";
169
- DiagnosticCode[DiagnosticCode["Statement_expected"] = 1368] = "Statement_expected";
170
- DiagnosticCode[DiagnosticCode["Patterns_may_not_have_initializers_or_explicit_types"] = 1369] = "Patterns_may_not_have_initializers_or_explicit_types";
171
- DiagnosticCode[DiagnosticCode["A_case_expression_must_have_at_least_one_clause"] = 1370] = "A_case_expression_must_have_at_least_one_clause";
172
- DiagnosticCode[DiagnosticCode["A_match_statement_must_have_at_least_one_case"] = 1371] = "A_match_statement_must_have_at_least_one_case";
173
- DiagnosticCode[DiagnosticCode["Cases_in_a_match_statement_must_be_followed_by_other_statements"] = 1372] = "Cases_in_a_match_statement_must_be_followed_by_other_statements";
174
- DiagnosticCode[DiagnosticCode["Variable_declaration_must_have_an_initializer"] = 1373] = "Variable_declaration_must_have_an_initializer";
175
- DiagnosticCode[DiagnosticCode["Deconstructed_elements_may_not_have_initializers_or_explicit_types"] = 1374] = "Deconstructed_elements_may_not_have_initializers_or_explicit_types";
176
- DiagnosticCode[DiagnosticCode["Invalid_field_declaration"] = 1375] = "Invalid_field_declaration";
177
- DiagnosticCode[DiagnosticCode["Field_declarations_must_be_typed"] = 1376] = "Field_declarations_must_be_typed";
178
- DiagnosticCode[DiagnosticCode["Type_parameters_must_be_identifiers"] = 1377] = "Type_parameters_must_be_identifiers";
179
- DiagnosticCode[DiagnosticCode["Invalid_for_statement_update"] = 1378] = "Invalid_for_statement_update";
180
- DiagnosticCode[DiagnosticCode["The_argument_of_a_for_of_statement_must_be_an_iterable"] = 1379] = "The_argument_of_a_for_of_statement_must_be_an_iterable";
181
- DiagnosticCode[DiagnosticCode["A_fail_statement_can_only_be_used_within_a_function_body"] = 1380] = "A_fail_statement_can_only_be_used_within_a_function_body";
182
- DiagnosticCode[DiagnosticCode["An_assert_statement_can_only_be_used_within_a_function_body"] = 1381] = "An_assert_statement_can_only_be_used_within_a_function_body";
183
- DiagnosticCode[DiagnosticCode["A_test_statement_can_only_be_used_outside_a_function"] = 1382] = "A_test_statement_can_only_be_used_outside_a_function";
184
- DiagnosticCode[DiagnosticCode["A_match_statement_can_only_be_used_within_a_function_body"] = 1383] = "A_match_statement_can_only_be_used_within_a_function_body";
185
- DiagnosticCode[DiagnosticCode["A_value_of_type_0_cannot_be_deconstructed"] = 1384] = "A_value_of_type_0_cannot_be_deconstructed";
186
- DiagnosticCode[DiagnosticCode["The_argument_of_a_match_statement_branch_must_be_deconstructed"] = 1385] = "The_argument_of_a_match_statement_branch_must_be_deconstructed";
187
- DiagnosticCode[DiagnosticCode["A_value_of_type_0_cannot_be_deconstructed_by_named_object"] = 1385] = "A_value_of_type_0_cannot_be_deconstructed_by_named_object";
188
- DiagnosticCode[DiagnosticCode["A_value_of_type_0_cannot_be_deconstructed_as_unnamed_object"] = 1386] = "A_value_of_type_0_cannot_be_deconstructed_as_unnamed_object";
189
- DiagnosticCode[DiagnosticCode["A_value_of_type_0_has_multiple_constructors"] = 1387] = "A_value_of_type_0_has_multiple_constructors";
190
- DiagnosticCode[DiagnosticCode["Unknown_0_constructor_1"] = 1388] = "Unknown_0_constructor_1";
191
- DiagnosticCode[DiagnosticCode["Constructor_0_was_already_specified"] = 1389] = "Constructor_0_was_already_specified";
192
- DiagnosticCode[DiagnosticCode["A_value_of_type_0_cannot_be_deconstructed_as_an_array"] = 1390] = "A_value_of_type_0_cannot_be_deconstructed_as_an_array";
193
- DiagnosticCode[DiagnosticCode["Expression_is_not_callable"] = 1391] = "Expression_is_not_callable";
194
- DiagnosticCode[DiagnosticCode["Unexpected_argument"] = 1392] = "Unexpected_argument";
195
- DiagnosticCode[DiagnosticCode["Duplicate_identifier_0"] = 2300] = "Duplicate_identifier_0";
196
- DiagnosticCode[DiagnosticCode["Cannot_find_name_0"] = 2304] = "Cannot_find_name_0";
197
- DiagnosticCode[DiagnosticCode["Module_0_has_no_exported_member_1"] = 2305] = "Module_0_has_no_exported_member_1";
198
- DiagnosticCode[DiagnosticCode["File_0_has_no_exports"] = 2306] = "File_0_has_no_exports";
199
- DiagnosticCode[DiagnosticCode["An_interface_can_only_extend_an_interface"] = 2312] = "An_interface_can_only_extend_an_interface";
200
- DiagnosticCode[DiagnosticCode["Generic_type_0_requires_1_type_argument_s"] = 2314] = "Generic_type_0_requires_1_type_argument_s";
201
- DiagnosticCode[DiagnosticCode["Type_0_is_not_generic"] = 2315] = "Type_0_is_not_generic";
202
- DiagnosticCode[DiagnosticCode["Type_0_is_not_assignable_to_type_1"] = 2322] = "Type_0_is_not_assignable_to_type_1";
203
- DiagnosticCode[DiagnosticCode["Property_0_is_private_in_type_1_but_not_in_type_2"] = 2325] = "Property_0_is_private_in_type_1_but_not_in_type_2";
204
- DiagnosticCode[DiagnosticCode["Index_signature_is_missing_in_type_0"] = 2329] = "Index_signature_is_missing_in_type_0";
205
- DiagnosticCode[DiagnosticCode["_this_cannot_be_referenced_in_current_location"] = 2332] = "_this_cannot_be_referenced_in_current_location";
206
- DiagnosticCode[DiagnosticCode["_this_cannot_be_referenced_in_constructor_arguments"] = 2333] = "_this_cannot_be_referenced_in_constructor_arguments";
207
- DiagnosticCode[DiagnosticCode["_super_can_only_be_referenced_in_a_derived_class"] = 2335] = "_super_can_only_be_referenced_in_a_derived_class";
208
- DiagnosticCode[DiagnosticCode["_super_cannot_be_referenced_in_constructor_arguments"] = 2336] = "_super_cannot_be_referenced_in_constructor_arguments";
209
- DiagnosticCode[DiagnosticCode["Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors"] = 2337] = "Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors";
210
- DiagnosticCode[DiagnosticCode["Property_0_does_not_exist_on_type_1"] = 2339] = "Property_0_does_not_exist_on_type_1";
211
- DiagnosticCode[DiagnosticCode["Property_0_is_private_and_only_accessible_within_class_1"] = 2341] = "Property_0_is_private_and_only_accessible_within_class_1";
212
- DiagnosticCode[DiagnosticCode["Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures"] = 2349] = "Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures";
213
- DiagnosticCode[DiagnosticCode["This_expression_is_not_constructable"] = 2351] = "This_expression_is_not_constructable";
214
- DiagnosticCode[DiagnosticCode["A_function_whose_declared_type_is_not_void_must_return_a_value"] = 2355] = "A_function_whose_declared_type_is_not_void_must_return_a_value";
215
- DiagnosticCode[DiagnosticCode["The_operand_of_an_increment_or_decrement_operator_must_be_a_variable"] = 2357] = "The_operand_of_an_increment_or_decrement_operator_must_be_a_variable";
216
- DiagnosticCode[DiagnosticCode["The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access"] = 2364] = "The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access";
217
- DiagnosticCode[DiagnosticCode["Operator_0_cannot_be_applied_to_types_1_and_2"] = 2365] = "Operator_0_cannot_be_applied_to_types_1_and_2";
218
- DiagnosticCode[DiagnosticCode["A_super_call_must_be_the_first_statement_in_the_constructor"] = 2376] = "A_super_call_must_be_the_first_statement_in_the_constructor";
219
- DiagnosticCode[DiagnosticCode["Constructors_for_derived_classes_must_contain_a_super_call"] = 2377] = "Constructors_for_derived_classes_must_contain_a_super_call";
220
- DiagnosticCode[DiagnosticCode["_get_and_set_accessor_must_have_the_same_type"] = 2380] = "_get_and_set_accessor_must_have_the_same_type";
221
- DiagnosticCode[DiagnosticCode["Overload_signatures_must_all_be_public_private_or_protected"] = 2385] = "Overload_signatures_must_all_be_public_private_or_protected";
222
- DiagnosticCode[DiagnosticCode["Constructor_implementation_is_missing"] = 2390] = "Constructor_implementation_is_missing";
223
- DiagnosticCode[DiagnosticCode["Function_implementation_is_missing_or_not_immediately_following_the_declaration"] = 2391] = "Function_implementation_is_missing_or_not_immediately_following_the_declaration";
224
- DiagnosticCode[DiagnosticCode["Multiple_constructor_implementations_are_not_allowed"] = 2392] = "Multiple_constructor_implementations_are_not_allowed";
225
- DiagnosticCode[DiagnosticCode["Duplicate_function_implementation"] = 2393] = "Duplicate_function_implementation";
226
- DiagnosticCode[DiagnosticCode["This_overload_signature_is_not_compatible_with_its_implementation_signature"] = 2394] = "This_overload_signature_is_not_compatible_with_its_implementation_signature";
227
- DiagnosticCode[DiagnosticCode["Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2"] = 2416] = "Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2";
228
- DiagnosticCode[DiagnosticCode["A_class_can_only_implement_an_interface"] = 2422] = "A_class_can_only_implement_an_interface";
229
- DiagnosticCode[DiagnosticCode["A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged"] = 2434] = "A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged";
230
- DiagnosticCode[DiagnosticCode["Types_have_separate_declarations_of_a_private_property_0"] = 2442] = "Types_have_separate_declarations_of_a_private_property_0";
231
- DiagnosticCode[DiagnosticCode["Property_0_is_protected_in_type_1_but_public_in_type_2"] = 2444] = "Property_0_is_protected_in_type_1_but_public_in_type_2";
232
- DiagnosticCode[DiagnosticCode["Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses"] = 2445] = "Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses";
233
- DiagnosticCode[DiagnosticCode["Variable_0_used_before_its_declaration"] = 2448] = "Variable_0_used_before_its_declaration";
234
- DiagnosticCode[DiagnosticCode["Cannot_redeclare_block_scoped_variable_0"] = 2451] = "Cannot_redeclare_block_scoped_variable_0";
235
- DiagnosticCode[DiagnosticCode["The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly"] = 2453] = "The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly";
236
- DiagnosticCode[DiagnosticCode["Variable_0_is_used_before_being_assigned"] = 2454] = "Variable_0_is_used_before_being_assigned";
237
- DiagnosticCode[DiagnosticCode["Type_alias_0_circularly_references_itself"] = 2456] = "Type_alias_0_circularly_references_itself";
238
- DiagnosticCode[DiagnosticCode["Type_0_has_no_property_1"] = 2460] = "Type_0_has_no_property_1";
239
- DiagnosticCode[DiagnosticCode["The_0_operator_cannot_be_applied_to_type_1"] = 2469] = "The_0_operator_cannot_be_applied_to_type_1";
240
- DiagnosticCode[DiagnosticCode["In_const_enum_declarations_member_initializer_must_be_constant_expression"] = 2474] = "In_const_enum_declarations_member_initializer_must_be_constant_expression";
241
- DiagnosticCode[DiagnosticCode["_0_is_referenced_directly_or_indirectly_in_its_own_base_expression"] = 2506] = "_0_is_referenced_directly_or_indirectly_in_its_own_base_expression";
242
- DiagnosticCode[DiagnosticCode["Object_is_possibly_null"] = 2531] = "Object_is_possibly_null";
243
- DiagnosticCode[DiagnosticCode["Cannot_assign_to_0_because_it_is_a_constant"] = 2540] = "Cannot_assign_to_0_because_it_is_a_constant";
244
- DiagnosticCode[DiagnosticCode["The_target_of_an_assignment_must_be_a_variable"] = 2541] = "The_target_of_an_assignment_must_be_a_variable";
245
- DiagnosticCode[DiagnosticCode["Index_signature_in_type_0_only_permits_reading"] = 2542] = "Index_signature_in_type_0_only_permits_reading";
246
- DiagnosticCode[DiagnosticCode["Expected_0_arguments_but_got_1"] = 2554] = "Expected_0_arguments_but_got_1";
247
- DiagnosticCode[DiagnosticCode["Expected_at_least_0_arguments_but_got_1"] = 2555] = "Expected_at_least_0_arguments_but_got_1";
248
- DiagnosticCode[DiagnosticCode["Expected_0_type_arguments_but_got_1"] = 2558] = "Expected_0_type_arguments_but_got_1";
249
- DiagnosticCode[DiagnosticCode["Property_0_has_no_initializer_and_is_not_assigned_in_the_constructor_before_this_is_used_or_returned"] = 2564] = "Property_0_has_no_initializer_and_is_not_assigned_in_the_constructor_before_this_is_used_or_returned";
250
- DiagnosticCode[DiagnosticCode["Property_0_is_used_before_being_assigned"] = 2565] = "Property_0_is_used_before_being_assigned";
251
- DiagnosticCode[DiagnosticCode["Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration"] = 2673] = "Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration";
252
- DiagnosticCode[DiagnosticCode["Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration"] = 2674] = "Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration";
253
- DiagnosticCode[DiagnosticCode["Cannot_extend_a_class_0_Class_constructor_is_marked_as_private"] = 2675] = "Cannot_extend_a_class_0_Class_constructor_is_marked_as_private";
254
- DiagnosticCode[DiagnosticCode["The_this_types_of_each_signature_are_incompatible"] = 2685] = "The_this_types_of_each_signature_are_incompatible";
255
- DiagnosticCode[DiagnosticCode["Namespace_can_only_have_declarations"] = 2695] = "Namespace_can_only_have_declarations";
256
- DiagnosticCode[DiagnosticCode["Required_type_parameters_may_not_follow_optional_type_parameters"] = 2706] = "Required_type_parameters_may_not_follow_optional_type_parameters";
257
- DiagnosticCode[DiagnosticCode["Duplicate_property_0"] = 2718] = "Duplicate_property_0";
258
- DiagnosticCode[DiagnosticCode["Property_0_is_missing_in_type_1_but_required_in_type_2"] = 2741] = "Property_0_is_missing_in_type_1_but_required_in_type_2";
259
- DiagnosticCode[DiagnosticCode["Type_0_has_no_call_signatures"] = 2757] = "Type_0_has_no_call_signatures";
260
- DiagnosticCode[DiagnosticCode["Get_accessor_0_must_be_at_least_as_accessible_as_the_setter"] = 2808] = "Get_accessor_0_must_be_at_least_as_accessible_as_the_setter";
261
- DiagnosticCode[DiagnosticCode["Type_parameter_is_unused"] = 2809] = "Type_parameter_is_unused";
262
- DiagnosticCode[DiagnosticCode["Assignments_are_statements_not_expressions"] = 2810] = "Assignments_are_statements_not_expressions";
263
- DiagnosticCode[DiagnosticCode["Type_parameter_name_must_not_match_a_native_type_name"] = 2811] = "Type_parameter_name_must_not_match_a_native_type_name";
264
- DiagnosticCode[DiagnosticCode["Type_0_cannot_be_converted_to_type_1"] = 2812] = "Type_0_cannot_be_converted_to_type_1";
265
- DiagnosticCode[DiagnosticCode["Non_null_opeartor_used_on_expression_of_type_0_which_is_not_optional_this_will_be_omitted_during_compilation"] = 2813] = "Non_null_opeartor_used_on_expression_of_type_0_which_is_not_optional_this_will_be_omitted_during_compilation";
266
- DiagnosticCode[DiagnosticCode["File_0_not_found"] = 6054] = "File_0_not_found";
267
- DiagnosticCode[DiagnosticCode["Import_path_0_is_part_of_a_circular_dependency"] = 6055] = "Import_path_0_is_part_of_a_circular_dependency";
268
- DiagnosticCode[DiagnosticCode["Numeric_separators_are_not_allowed_here"] = 6188] = "Numeric_separators_are_not_allowed_here";
269
- DiagnosticCode[DiagnosticCode["Multiple_consecutive_numeric_separators_are_not_permitted"] = 6189] = "Multiple_consecutive_numeric_separators_are_not_permitted";
270
- DiagnosticCode[DiagnosticCode["This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without"] = 6234] = "This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without";
271
- DiagnosticCode[DiagnosticCode["_super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class"] = 17009] = "_super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class";
272
- DiagnosticCode[DiagnosticCode["_super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class"] = 17011] = "_super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class";
273
- DiagnosticCode[DiagnosticCode["Unkonwn_AST_node"] = 20000] = "Unkonwn_AST_node";
274
- DiagnosticCode[DiagnosticCode["Dev_was_too_lazy_to_add_a_prooper_error_message_Something_went_wrong"] = 42069] = "Dev_was_too_lazy_to_add_a_prooper_error_message_Something_went_wrong";
275
- })(DiagnosticCode || (DiagnosticCode = {}));
276
- /** Translates a diagnostic code to its respective string. */
277
- export function diagnosticCodeToString(code) {
278
- switch (code) {
279
- case 100: return "Not implemented: {0}";
280
- case 101: return "Main function is missing";
281
- case 200: return "Conversion from type '{0}' to '{1}' requires an explicit cast.";
282
- case 201: return "Conversion from type '{0}' to '{1}' will require an explicit cast when switching between 32/64-bit.";
283
- case 202: return "Type '{0}' cannot be changed to type '{1}'.";
284
- case 203: return "Operation '{0}' cannot be applied to type '{1}'.";
285
- case 204: return "Type '{0}' cannot be nullable.";
286
- case 206: return "Mutable value cannot be inlined.";
287
- case 207: return "Unmanaged classes cannot extend managed classes and vice-versa.";
288
- case 208: return "Unmanaged classes cannot implement interfaces.";
289
- case 209: return "Invalid regular expression flags.";
290
- case 210: return "Expression is never 'null'.";
291
- case 211: return "Class '{0}' is final and cannot be extended.";
292
- case 212: return "Decorator '{0}' is not valid here.";
293
- case 213: return "Duplicate decorator.";
294
- case 214: return "Type '{0}' is illegal in this context.";
295
- case 215: return "Optional parameter must have an initializer.";
296
- case 216: return "Class '{0}' cannot declare a constructor when instantiated from an object literal.";
297
- case 217: return "Function '{0}' cannot be inlined into itself.";
298
- case 218: return "Cannot access method '{0}' without calling it as it requires 'this' to be set.";
299
- case 219: return "Optional properties are not supported.";
300
- case 220: return "Expression must be a compile-time constant.";
301
- case 221: return "Type '{0}' is not a function index or function reference.";
302
- case 222: return "'{0}' must be a value between '{1}' and '{2}' inclusive.";
303
- case 223: return "'{0}' must be a power of two.";
304
- case 224: return "'{0}' is not a valid operator.";
305
- case 225: return "Expression cannot be represented by a type.";
306
- case 226: return "Expression resolves to unusual type '{0}'.";
307
- case 227: return "Array literal expected.";
308
- case 228: return "Function '{0}' is virtual and will not be inlined.";
309
- case 229: return "Property '{0}' only has a setter and is missing a getter.";
310
- case 230: return "'{0}' keyword cannot be used here.";
311
- case 231: return "A class with a constructor explicitly returning something else than 'this' must be '@final'.";
312
- case 233: return "Property '{0}' is always assigned before being used.";
313
- case 234: return "Expression does not compile to a value at runtime.";
314
- case 236: return "Literal '{0}' does not fit into 'i64' or 'u64' types.";
315
- case 237: return "Index signature accessors in type '{0}' differ in types.";
316
- case 238: return "Initializer, definitive assignment or nullable type expected.";
317
- case 239: return "Definitive assignment has no effect on local variables.";
318
- case 240: return "Ambiguous operator overload '{0}' (conflicting overloads '{1}' and '{2}').";
319
- case 241: return "A variable statement must have at least one variable declaration.";
320
- case 242: return "A field in a deconstructed declaration cannot have an initialization";
321
- case 243: return "A field in a deconstructed declaration cannot have an explicit type; did you mean to cast using the 'as' keyword?";
322
- case 244: return "Object literal expected";
323
- case 245: return "Initialization expressions are not allowed in a struct declaration";
324
- case 246: return "Empty array litteral must be explicitly cast to a type.";
325
- case 247: return "Cannot infer type for empty array litteral.";
326
- case 248: return "Litteral value undefined must be explicitly cast to an Optional type.";
327
- case 249: return "Unnamed object litteral must be explicitly cast to a type.";
328
- case 250: return "Unnamed object litteral does not match '{0}' struct definition.";
329
- case 251: return "Unnamed object litteral is not assignable to {0}. An explicit constrctor must be used.";
330
- case 252: return "Unnamed object litteral is not assignable to {0}.";
331
- case 253: return "Unnamed object litteral is not assignable to {0}. The fields do not match the the type definition.";
332
- case 254: return "Field '{0}' is not part of the '{1}' constructor for '{2}' struct.";
333
- case 254: return "Field '{0}' is missing, but required by the '{1}' constructor of the '{2}' struct.";
334
- case 255: return "Named object litteral is not assignable to {0}.";
335
- case 256: return "'{0}' is not defined";
336
- case 257: return "Cannot infer struct type from constructor '{0}'. Declare it with a 'using' keyword declaration.";
337
- case 258: return "Constructor '{0}', aliased as '{1}', is not part of the '{2}' definition.";
338
- case 259: return "Deconstructing '{0}' requires the name of the constructor.";
339
- case 260: return "Construcotr '{0}' is not part of the definiton of '{1}'.";
340
- case 261: return "Invalid rest parameter, there are no more fields.";
341
- case 262: return "Cannot infer variable type. Try to make the type explicit.";
342
- case 263: return "Cannot infer return type. Try to make the type explicit.";
343
- case 264: return "Cannot use 'is' operator on a value that is not a struct type.";
344
- case 265: return "Constructor '{0}' is not part of the definition of '{1}'.";
345
- case 266: return "This check is redundant. Struct '{0}' has only one possible constructor.";
346
- case 267: return "This expression cannot be indexed.";
347
- case 268: return "Cannot evaluate type expression.";
348
- case 269: return "Type '{0}' does not have constructors.";
349
- case 270: return "Constructor name '{0}' is already declared in this scope.";
350
- case 271: return "Unterminated Unicode escape sequence";
351
- case 272: return "Left side of '??' opeartor is not optional, right side is unused";
352
- case 273: return "'{0}' is already defined.";
353
- case 274: return "'{0}' is already exported.";
354
- case 275: return "'export' keyword cannot be used here.";
355
- case 276: return "Only constants can be declared outside of a function.";
356
- case 277: return "Only function declarations and constants can be exported.";
357
- case 278: return "function declarations are only allowed at the top level.";
358
- case 279: return "type declarations and interfaces are only allowed at the top level.";
359
- case 280: return "Type '{0}' cannot be encoded as data";
360
- case 281: return "Type '{0}' cannot be encoded as data, but it has a runtime encoding. Use `runtime` keyword modifier for the declaration.";
361
- case 282: return "Default method implementatitons are not supported. default implementation will be ignored.";
362
- case 282: return "Interface implementations cannot be exported.";
363
- case 283: return "Method implementations are only allowed for types declared locally.";
364
- case 283: return "Method '{0}' is already implemented.";
365
- case 284: return "While compiling function expression; expected type was not a function.";
366
- case 285: return "Could not infer function signature, parameter type is missing.";
367
- case 286: return "Could not infer function signature, return type is missing.";
368
- case 287: return "'case' expression must decontructed the inspected value.";
369
- case 288: return "for loop initialization variables cannot be destructured. Declare it as a simple variable and move the destructuring in the loop body";
370
- case 289: return "Match cases are not exhaustive";
371
- case 901: return "Importing the table disables some indirect call optimizations.";
372
- case 902: return "Exporting the table disables some indirect call optimizations.";
373
- case 903: return "Expression compiles to a dynamic check at runtime.";
374
- case 904: return "Indexed access may involve bounds checking.";
375
- case 905: return "Explicitly returning constructor drops 'this' allocation.";
376
- case 906: return "Unnecessary definite assignment.";
377
- case 907: return "'NaN' does not compare equal to any other value including itself. Use isNaN(x) instead.";
378
- case 908: return "Comparison with -0.0 is sign insensitive. Use Object.is(x, -0.0) if the sign matters.";
379
- case 1002: return "Unterminated string literal.";
380
- case 1003: return "Identifier expected.";
381
- case 1005: return "'{0}' expected.";
382
- case 1006: return "A file cannot have a reference to itself.";
383
- case 1009: return "Trailing comma not allowed.";
384
- case 1012: return "Unexpected token.";
385
- case 1014: return "A rest parameter must be last in a parameter list.";
386
- case 1015: return "Parameter cannot have question mark and initializer.";
387
- case 1016: return "A required parameter cannot follow an optional parameter.";
388
- case 1031: return "'{0}' modifier cannot appear on class elements of this kind.";
389
- case 1036: return "Statements are not allowed in ambient contexts.";
390
- case 1039: return "Initializers are not allowed in ambient contexts.";
391
- case 1042: return "'{0}' modifier cannot be used here.";
392
- case 1047: return "A rest parameter cannot be optional.";
393
- case 1048: return "A rest parameter cannot have an initializer.";
394
- case 1049: return "A 'set' accessor must have exactly one parameter.";
395
- case 1052: return "A 'set' accessor parameter cannot have an initializer.";
396
- case 1054: return "A 'get' accessor cannot have parameters.";
397
- case 1061: return "Enum member must have initializer.";
398
- case 1092: return "Type parameters cannot appear on a constructor declaration.";
399
- case 1093: return "Type annotation cannot appear on a constructor declaration.";
400
- case 1094: return "An accessor cannot have type parameters.";
401
- case 1095: return "A 'set' accessor cannot have a return type annotation.";
402
- case 1098: return "Type parameter list cannot be empty.";
403
- case 1099: return "Type argument list cannot be empty.";
404
- case 1104: return "A 'continue' statement can only be used within a loop.";
405
- case 1105: return "A 'break' statement can only be used within a loop.";
406
- case 1108: return "A 'return' statement can only be used within a function body.";
407
- case 1109: return "Expression expected.";
408
- case 1110: return "Type expected.";
409
- case 1113: return "A 'default' clause cannot appear more than once in a 'switch' statement.";
410
- case 1114: return "Duplicate label '{0}'.";
411
- case 1121: return "Octal literals are not allowed in strict mode.";
412
- case 1124: return "Digit expected.";
413
- case 1125: return "Hexadecimal digit expected.";
414
- case 1126: return "Unexpected end of text.";
415
- case 1127: return "Invalid character.";
416
- case 1140: return "Type argument expected.";
417
- case 1141: return "String literal expected.";
418
- case 1142: return "Line break not permitted here.";
419
- case 1146: return "Declaration expected.";
420
- case 1155: return "'const' declarations must be initialized.";
421
- case 1161: return "Unterminated regular expression literal.";
422
- case 1263: return "Declarations with initializers cannot also have definite assignment assertions.";
423
- case 1176: return "Interface declaration cannot have 'implements' clause.";
424
- case 1177: return "Binary digit expected.";
425
- case 1178: return "Octal digit expected.";
426
- case 1183: return "An implementation cannot be declared in ambient contexts.";
427
- case 1190: return "The variable declaration of a 'for...of' statement cannot have an initializer.";
428
- case 1198: return "An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive.";
429
- case 1317: return "A parameter property cannot be declared using a rest parameter.";
430
- case 1351: return "An identifier or keyword cannot immediately follow a numeric literal.";
431
- case 1352: return "A destructured parameter for a constructor cannot have a modifier";
432
- case 1353: return "A rest element must be last in an object destructuring pattern";
433
- case 1354: return "An identifier cannot preceed array destructuring";
434
- case 1355: return "A rest element must be last in an array destructuring pattern";
435
- case 1356: return "Invaild destructuring";
436
- case 1362: return "Destructuring requires an initializer expression";
437
- case 1363: return "Only a single variable is allowed in a for...of statement";
438
- case 1364: return "Rest parameters are not supported in pebble, cosider using a concrete parameter with default value '[]'";
439
- case 1365: return "A test can only be specified at the top level of the file (it cannot be defined in functions etc.)";
440
- case 1365: return "Tests must be specified in a block statement";
441
- case 1366: return "Pattern expected.";
442
- case 1367: return "This case will never be evaluated because all patterns will be catched before";
443
- case 1368: return "Statement expected.";
444
- case 1369: return "Patterns may not have initializers or explicit types";
445
- case 1370: return "A 'case' expression must have at least one clause";
446
- case 1371: return "A 'match' statement must have at least one case";
447
- case 1372: return "Cases in a 'match' statement must be followed by other statements";
448
- case 1373: return "Variable declaration must have an initializer";
449
- case 1374: return "Deconstructed elements may not have initializers or explicit types";
450
- case 1375: return "Invalid field declaration.";
451
- case 1376: return "Field declarations must be typed.";
452
- case 1377: return "Type parameters must be identifiers.";
453
- case 1378: return "Invalid for statement update.";
454
- case 1379: return "The argument of a for...of statement must be an iterable.";
455
- case 1380: return "A 'fail' statement can only be used within a function body.";
456
- case 1381: return "An 'assert' statement can only be used within a function body.";
457
- case 1382: return "A 'test' statement can only be used outside a function.";
458
- case 1383: return "A 'match' statement can only be used within a function body.";
459
- case 1384: return "A value of type '{0}' cannot be deconstructed.";
460
- case 1385: return "The argument of a 'match' statement branch must be deconstructed.";
461
- case 1385: return "A value of type '{0}' cannot be deconstructed by named object.";
462
- case 1386: return "A value of type '{0}' cannot be deconstructed as unnamed object.";
463
- case 1387: return "A value of type '{0}' has multiple constructors";
464
- case 1388: return "Unknown '{0}' constructor '{1}'";
465
- case 1389: return "Constructor '{0}' was already specified";
466
- case 1390: return "A value of type '{0}' cannot be deconstructed as an array.";
467
- case 1391: return "Expression is not callable.";
468
- case 1392: return "Unexpected argument.";
469
- case 2300: return "Duplicate identifier '{0}'.";
470
- case 2304: return "Cannot find name '{0}'.";
471
- case 2305: return "Module '{0}' has no exported member '{1}'.";
472
- case 2306: return "File '{0}' has no exports.";
473
- case 2312: return "An interface can only extend an interface.";
474
- case 2314: return "Generic type '{0}' requires {1} type argument(s).";
475
- case 2315: return "Type '{0}' is not generic.";
476
- case 2322: return "Type '{0}' is not assignable to type '{1}'.";
477
- case 2325: return "Property '{0}' is private in type '{1}' but not in type '{2}'.";
478
- case 2329: return "Index signature is missing in type '{0}'.";
479
- case 2332: return "'this' cannot be referenced in current location.";
480
- case 2333: return "'this' cannot be referenced in constructor arguments.";
481
- case 2335: return "'super' can only be referenced in a derived class.";
482
- case 2336: return "'super' cannot be referenced in constructor arguments.";
483
- case 2337: return "Super calls are not permitted outside constructors or in nested functions inside constructors.";
484
- case 2339: return "Property '{0}' does not exist on type '{1}'.";
485
- case 2341: return "Property '{0}' is private and only accessible within class '{1}'.";
486
- case 2349: return "Cannot invoke an expression whose type lacks a call signature. Type '{0}' has no compatible call signatures.";
487
- case 2351: return "This expression is not constructable.";
488
- case 2355: return "A function whose declared type is not 'void' must return a value.";
489
- case 2357: return "The operand of an increment or decrement operator must be a variable.";
490
- case 2364: return "The left-hand side of an assignment expression must be a variable or a property access.";
491
- case 2365: return "Operator '{0}' cannot be applied to types '{1}' and '{2}'.";
492
- case 2376: return "A 'super' call must be the first statement in the constructor.";
493
- case 2377: return "Constructors for derived classes must contain a 'super' call.";
494
- case 2380: return "'get' and 'set' accessor must have the same type.";
495
- case 2385: return "Overload signatures must all be public, private or protected.";
496
- case 2390: return "Constructor implementation is missing.";
497
- case 2391: return "Function implementation is missing or not immediately following the declaration.";
498
- case 2392: return "Multiple constructor implementations are not allowed.";
499
- case 2393: return "Duplicate function implementation.";
500
- case 2394: return "This overload signature is not compatible with its implementation signature.";
501
- case 2416: return "Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'.";
502
- case 2422: return "A class can only implement an interface.";
503
- case 2434: return "A namespace declaration cannot be located prior to a class or function with which it is merged.";
504
- case 2442: return "Types have separate declarations of a private property '{0}'.";
505
- case 2444: return "Property '{0}' is protected in type '{1}' but public in type '{2}'.";
506
- case 2445: return "Property '{0}' is protected and only accessible within class '{1}' and its subclasses.";
507
- case 2448: return "Variable '{0}' used before its declaration.";
508
- case 2451: return "Cannot redeclare block-scoped variable '{0}'";
509
- case 2453: return "The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly.";
510
- case 2454: return "Variable '{0}' is used before being assigned.";
511
- case 2456: return "Type alias '{0}' circularly references itself.";
512
- case 2460: return "Type '{0}' has no property '{1}'.";
513
- case 2469: return "The '{0}' operator cannot be applied to type '{1}'.";
514
- case 2474: return "In 'const' enum declarations member initializer must be constant expression.";
515
- case 2506: return "'{0}' is referenced directly or indirectly in its own base expression.";
516
- case 2531: return "Object is possibly 'null'.";
517
- case 2540: return "Cannot assign to '{0}' because it is a constant.";
518
- case 2541: return "The target of an assignment must be a variable";
519
- case 2542: return "Index signature in type '{0}' only permits reading.";
520
- case 2554: return "Expected {0} arguments, but got {1}.";
521
- case 2555: return "Expected at least {0} arguments, but got {1}.";
522
- case 2558: return "Expected {0} type arguments, but got {1}.";
523
- case 2564: return "Property '{0}' has no initializer and is not assigned in the constructor before 'this' is used or returned.";
524
- case 2565: return "Property '{0}' is used before being assigned.";
525
- case 2673: return "Constructor of class '{0}' is private and only accessible within the class declaration.";
526
- case 2674: return "Constructor of class '{0}' is protected and only accessible within the class declaration.";
527
- case 2675: return "Cannot extend a class '{0}'. Class constructor is marked as private.";
528
- case 2685: return "The 'this' types of each signature are incompatible.";
529
- case 2695: return "Namespace can only have declarations.";
530
- case 2706: return "Required type parameters may not follow optional type parameters.";
531
- case 2718: return "Duplicate property '{0}'.";
532
- case 2741: return "Property '{0}' is missing in type '{1}' but required in type '{2}'.";
533
- case 2757: return "Type '{0}' has no call signatures.";
534
- case 2808: return "Get accessor '{0}' must be at least as accessible as the setter.";
535
- case 2809: return "Type parameter is unused.";
536
- case 2810: return "Assignments are statements, not expressions.";
537
- case 2811: return "Type parameter name must not match a native type name.";
538
- case 2812: return "Type '{0}' cannot be converted to type '{1}'.";
539
- case 2813: return "Non-null opeartor used on expression of type '{0}', which is not optional, this will be omitted during compilation.";
540
- case 6054: return "File '{0}' not found.";
541
- case 6055: return "Import path '{0}' is part of a circular dependency.";
542
- case 6188: return "Numeric separators are not allowed here.";
543
- case 6189: return "Multiple consecutive numeric separators are not permitted.";
544
- case 6234: return "This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?";
545
- case 17009: return "'super' must be called before accessing 'this' in the constructor of a derived class.";
546
- case 17011: return "'super' must be called before accessing a property of 'super' in the constructor of a derived class.";
547
- case 20000: return "Unkonwn AST node.";
548
- case 42069: return "Dev was too lazy to add a prooper error message. Something went wrong";
549
- default: return "";
550
- }
551
- }
@@ -1,5 +0,0 @@
1
- export type HasOwnToString<T> = T extends infer A | infer B ? _HasOwnToString<A> | _HasOwnToString<B> : _HasOwnToString<T>;
2
- type _HasOwnToString<T> = T extends {
3
- toString: (...args: any[]) => string;
4
- } ? "toString" extends keyof T ? T : never : never;
5
- export {};
@@ -1 +0,0 @@
1
- export {};