@apple/tree-sitter-pkl 0.19.0 → 0.21.0

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 (697) hide show
  1. package/.editorconfig +3 -0
  2. package/.github/PklProject +26 -0
  3. package/.github/PklProject.deps.json +40 -0
  4. package/.github/dependabot.yml +18 -0
  5. package/.github/index.pkl +159 -0
  6. package/.github/workflows/__lockfile__.yml +28 -0
  7. package/.github/workflows/build.yml +48 -0
  8. package/.github/workflows/codeql.yml +28 -0
  9. package/.github/workflows/main.yml +46 -0
  10. package/.github/workflows/prb.yml +96 -0
  11. package/.github/workflows/release.yml +68 -0
  12. package/CHANGELOG.adoc +27 -0
  13. package/CMakeLists.txt +1 -1
  14. package/Cargo.lock +156 -20
  15. package/Cargo.toml +16 -11
  16. package/Makefile +1 -1
  17. package/{SECURITY.adoc → SECURITY.md} +3 -3
  18. package/binding.gyp +22 -6
  19. package/bindings/node/binding.cc +13 -22
  20. package/bindings/node/index.js +7 -15
  21. package/bindings/python/tests/test_binding.py +2 -2
  22. package/bindings/swift/TreeSitterPkl/pkl.h +4 -4
  23. package/gradlew +3 -6
  24. package/gradlew.bat +1 -2
  25. package/grammar.js +22 -3
  26. package/package.json +17 -12
  27. package/pyproject.toml +1 -1
  28. package/setup.py +24 -24
  29. package/src/grammar.json +107 -0
  30. package/src/node-types.json +10 -0
  31. package/src/parser.c +25577 -26070
  32. package/src/scanner.c +3 -3
  33. package/src/tree_sitter/array.h +110 -71
  34. package/src/tree_sitter/parser.h +0 -1
  35. package/tree-sitter.json +1 -1
  36. package/bindings/c/tree-sitter-pkl.h +0 -16
  37. package/test/corpus/basic/annotation.txt +0 -241
  38. package/test/corpus/basic/comments.txt +0 -41
  39. package/test/corpus/basic/shebangComment.txt +0 -15
  40. package/test/corpus/basic/types.txt +0 -187
  41. package/test/corpus/class/constModifier.txt +0 -23
  42. package/test/corpus/class/fixedModifier.txt +0 -23
  43. package/test/corpus/expr/binary.txt +0 -107
  44. package/test/corpus/expr/binary2.txt +0 -18
  45. package/test/corpus/expr/functionLiteral.txt +0 -22
  46. package/test/corpus/expr/if.txt +0 -15
  47. package/test/corpus/expr/import.txt +0 -20
  48. package/test/corpus/expr/let.txt +0 -17
  49. package/test/corpus/expr/new.txt +0 -34
  50. package/test/corpus/expr/qualifiedAccess.txt +0 -102
  51. package/test/corpus/expr/read.txt +0 -26
  52. package/test/corpus/expr/subscript.txt +0 -48
  53. package/test/corpus/expr/super.txt +0 -27
  54. package/test/corpus/expr/throw.txt +0 -13
  55. package/test/corpus/expr/trace.txt +0 -13
  56. package/test/corpus/expr/typeTest.txt +0 -40
  57. package/test/corpus/expr/unaryMinus.txt +0 -22
  58. package/test/corpus/module/moduleHeader1.txt +0 -23
  59. package/test/corpus/module/moduleHeader2.txt +0 -29
  60. package/test/corpus/module/moduleHeader3.error.txt +0 -23
  61. package/test/corpus/module/moduleHeader4.txt +0 -34
  62. package/test/corpus/module/moduleHeader5.txt +0 -16
  63. package/test/corpus/module/moduleHeader6.txt +0 -17
  64. package/test/corpus/number/underscores.txt +0 -99
  65. package/test/corpus/object/mixedEntriesAndElements.txt +0 -52
  66. package/test/corpus/object/objectAmendChain.txt +0 -38
  67. package/test/corpus/object/objectBodyParams.txt +0 -44
  68. package/test/corpus/object/objectElementWithTypeConstraint +0 -30
  69. package/test/corpus/object/objectElementsWithParens.txt +0 -51
  70. package/test/corpus/object/objectElementsWithTypeParams +0 -65
  71. package/test/corpus/object/objectGenerator.txt +0 -53
  72. package/test/corpus/object/objectMember.txt +0 -129
  73. package/test/corpus/object/objectMemberPredicate.txt +0 -41
  74. package/test/corpus/object/objectSpread.txt +0 -51
  75. package/test/corpus/object/objectWhenGenerator.txt +0 -71
  76. package/test/corpus/snippetTests/annotation/annotation1.txt +0 -284
  77. package/test/corpus/snippetTests/annotation/annotation2.txt +0 -20
  78. package/test/corpus/snippetTests/annotation/annotation3.txt +0 -24
  79. package/test/corpus/snippetTests/annotation/annotation4.txt +0 -32
  80. package/test/corpus/snippetTests/annotation/annotation5.txt +0 -28
  81. package/test/corpus/snippetTests/annotation/annotation6.txt +0 -19
  82. package/test/corpus/snippetTests/annotation/annotationIsNotExpression.txt +0 -29
  83. package/test/corpus/snippetTests/annotation/deprecated1.txt +0 -385
  84. package/test/corpus/snippetTests/annotation/deprecated2.txt +0 -99
  85. package/test/corpus/snippetTests/annotation/deprecated3.txt +0 -155
  86. package/test/corpus/snippetTests/annotation/deprecatedNoRepeatedWarnings.txt +0 -58
  87. package/test/corpus/snippetTests/annotation/deprecatedWithMessage1.txt +0 -405
  88. package/test/corpus/snippetTests/annotation/deprecatedWithMessage2.txt +0 -104
  89. package/test/corpus/snippetTests/annotation/deprecatedWithMessage3.txt +0 -155
  90. package/test/corpus/snippetTests/annotation/deprecationSuperMethod.txt +0 -144
  91. package/test/corpus/snippetTests/api/Resource.txt +0 -128
  92. package/test/corpus/snippetTests/api/analyze1.txt +0 -176
  93. package/test/corpus/snippetTests/api/any.txt +0 -523
  94. package/test/corpus/snippetTests/api/anyConverter.txt +0 -161
  95. package/test/corpus/snippetTests/api/baseModule.txt +0 -170
  96. package/test/corpus/snippetTests/api/dataSize.txt +0 -1165
  97. package/test/corpus/snippetTests/api/duration.txt +0 -800
  98. package/test/corpus/snippetTests/api/float.txt +0 -1334
  99. package/test/corpus/snippetTests/api/int.txt +0 -1142
  100. package/test/corpus/snippetTests/api/intseq.txt +0 -1021
  101. package/test/corpus/snippetTests/api/jsonParser1.txt +0 -279
  102. package/test/corpus/snippetTests/api/jsonParser2.txt +0 -294
  103. package/test/corpus/snippetTests/api/jsonParser3.txt +0 -143
  104. package/test/corpus/snippetTests/api/jsonParser4.txt +0 -112
  105. package/test/corpus/snippetTests/api/jsonParser5.txt +0 -171
  106. package/test/corpus/snippetTests/api/jsonRenderer1.json.txt +0 -41
  107. package/test/corpus/snippetTests/api/jsonRenderer2b.txt +0 -300
  108. package/test/corpus/snippetTests/api/jsonRenderer3.json.txt +0 -334
  109. package/test/corpus/snippetTests/api/jsonRenderer4.txt +0 -388
  110. package/test/corpus/snippetTests/api/jsonRenderer5.txt +0 -388
  111. package/test/corpus/snippetTests/api/jsonRenderer6.json.txt +0 -163
  112. package/test/corpus/snippetTests/api/jsonRenderer7.txt +0 -53
  113. package/test/corpus/snippetTests/api/jsonRenderer8.txt +0 -30
  114. package/test/corpus/snippetTests/api/jsonRendererEmptyComposites.txt +0 -114
  115. package/test/corpus/snippetTests/api/jsonnetRenderer3.jsonnet.txt +0 -356
  116. package/test/corpus/snippetTests/api/jsonnetRenderer4.txt +0 -393
  117. package/test/corpus/snippetTests/api/jsonnetRenderer5.txt +0 -393
  118. package/test/corpus/snippetTests/api/jsonnetRenderer6.jsonnet.txt +0 -169
  119. package/test/corpus/snippetTests/api/jsonnetRenderer7.txt +0 -36
  120. package/test/corpus/snippetTests/api/list.txt +0 -4432
  121. package/test/corpus/snippetTests/api/listNullable.txt +0 -1513
  122. package/test/corpus/snippetTests/api/map.txt +0 -1144
  123. package/test/corpus/snippetTests/api/mapping.txt +0 -948
  124. package/test/corpus/snippetTests/api/mathModule.txt +0 -1426
  125. package/test/corpus/snippetTests/api/module.txt +0 -77
  126. package/test/corpus/snippetTests/api/moduleOutput.txt +0 -24
  127. package/test/corpus/snippetTests/api/moduleOutput2.txt +0 -25
  128. package/test/corpus/snippetTests/api/pListRenderer1.plist.txt +0 -41
  129. package/test/corpus/snippetTests/api/pListRenderer3.plist.txt +0 -348
  130. package/test/corpus/snippetTests/api/pListRenderer4.txt +0 -375
  131. package/test/corpus/snippetTests/api/pListRenderer5.txt +0 -424
  132. package/test/corpus/snippetTests/api/pListRenderer6.plist.txt +0 -163
  133. package/test/corpus/snippetTests/api/pListRenderer7.txt +0 -30
  134. package/test/corpus/snippetTests/api/pair.txt +0 -170
  135. package/test/corpus/snippetTests/api/pcfRenderer1.txt +0 -95
  136. package/test/corpus/snippetTests/api/pcfRenderer2b.txt +0 -301
  137. package/test/corpus/snippetTests/api/pcfRenderer3.txt +0 -350
  138. package/test/corpus/snippetTests/api/pcfRenderer4.txt +0 -391
  139. package/test/corpus/snippetTests/api/pcfRenderer5.txt +0 -460
  140. package/test/corpus/snippetTests/api/pcfRenderer6.txt +0 -118
  141. package/test/corpus/snippetTests/api/pcfRenderer8.txt +0 -16
  142. package/test/corpus/snippetTests/api/platformModule.txt +0 -147
  143. package/test/corpus/snippetTests/api/plistRenderer2b.txt +0 -300
  144. package/test/corpus/snippetTests/api/propertiesRenderer1.properties.txt +0 -41
  145. package/test/corpus/snippetTests/api/propertiesRenderer10.properties.txt +0 -24
  146. package/test/corpus/snippetTests/api/propertiesRenderer11.txt +0 -30
  147. package/test/corpus/snippetTests/api/propertiesRenderer2b.txt +0 -303
  148. package/test/corpus/snippetTests/api/propertiesRenderer4.txt +0 -484
  149. package/test/corpus/snippetTests/api/propertiesRenderer5.txt +0 -491
  150. package/test/corpus/snippetTests/api/propertiesRenderer8.properties.txt +0 -628
  151. package/test/corpus/snippetTests/api/propertiesRenderer9.properties.txt +0 -292
  152. package/test/corpus/snippetTests/api/propertiesRendererBug66849708.properties.txt +0 -106
  153. package/test/corpus/snippetTests/api/protobuf2.txt +0 -408
  154. package/test/corpus/snippetTests/api/reflect1.txt +0 -1686
  155. package/test/corpus/snippetTests/api/reflect2.txt +0 -480
  156. package/test/corpus/snippetTests/api/reflect3.txt +0 -193
  157. package/test/corpus/snippetTests/api/reflectedDeclaration.txt +0 -64
  158. package/test/corpus/snippetTests/api/regex.txt +0 -320
  159. package/test/corpus/snippetTests/api/releaseModule.txt +0 -262
  160. package/test/corpus/snippetTests/api/renderDirective2.txt +0 -374
  161. package/test/corpus/snippetTests/api/semverModule.txt +0 -2224
  162. package/test/corpus/snippetTests/api/set.txt +0 -3891
  163. package/test/corpus/snippetTests/api/setNullable.txt +0 -1113
  164. package/test/corpus/snippetTests/api/typeAliases.txt +0 -449
  165. package/test/corpus/snippetTests/api/typeConverters.txt +0 -211
  166. package/test/corpus/snippetTests/api/xmlRenderer1.xml.txt +0 -174
  167. package/test/corpus/snippetTests/api/xmlRenderer2b.txt +0 -306
  168. package/test/corpus/snippetTests/api/xmlRenderer3.xml.txt +0 -320
  169. package/test/corpus/snippetTests/api/xmlRenderer4.txt +0 -401
  170. package/test/corpus/snippetTests/api/xmlRenderer5.txt +0 -402
  171. package/test/corpus/snippetTests/api/xmlRenderer6.xml.txt +0 -169
  172. package/test/corpus/snippetTests/api/xmlRenderer8.txt +0 -36
  173. package/test/corpus/snippetTests/api/xmlRendererCData.xml.txt +0 -48
  174. package/test/corpus/snippetTests/api/xmlRendererElement.xml.txt +0 -103
  175. package/test/corpus/snippetTests/api/xmlRendererHtml.xml.txt +0 -212
  176. package/test/corpus/snippetTests/api/xmlRendererInline.xml.txt +0 -175
  177. package/test/corpus/snippetTests/api/xmlRendererInline3.xml.txt +0 -152
  178. package/test/corpus/snippetTests/api/yamlParser1Yaml11.txt +0 -22
  179. package/test/corpus/snippetTests/api/yamlParser1Yaml12.txt +0 -22
  180. package/test/corpus/snippetTests/api/yamlParser2.txt +0 -253
  181. package/test/corpus/snippetTests/api/yamlParser3.txt +0 -194
  182. package/test/corpus/snippetTests/api/yamlParser4.txt +0 -198
  183. package/test/corpus/snippetTests/api/yamlParser5.txt +0 -86
  184. package/test/corpus/snippetTests/api/yamlParser6.txt +0 -92
  185. package/test/corpus/snippetTests/api/yamlRenderer1.yml.txt +0 -41
  186. package/test/corpus/snippetTests/api/yamlRenderer2b.txt +0 -300
  187. package/test/corpus/snippetTests/api/yamlRenderer3.yml.txt +0 -342
  188. package/test/corpus/snippetTests/api/yamlRenderer4.txt +0 -441
  189. package/test/corpus/snippetTests/api/yamlRenderer5.txt +0 -441
  190. package/test/corpus/snippetTests/api/yamlRenderer6.yml.txt +0 -163
  191. package/test/corpus/snippetTests/api/yamlRenderer7.txt +0 -30
  192. package/test/corpus/snippetTests/api/yamlRenderer8.yml.txt +0 -142
  193. package/test/corpus/snippetTests/api/yamlRendererBug66849708.yml.txt +0 -106
  194. package/test/corpus/snippetTests/api/yamlRendererEmpty.yml.txt +0 -326
  195. package/test/corpus/snippetTests/api/yamlRendererIndentationWidth2.yml.txt +0 -227
  196. package/test/corpus/snippetTests/api/yamlRendererIndentationWidth4.yml.txt +0 -32
  197. package/test/corpus/snippetTests/api/yamlRendererIndentationWidth5.yml.txt +0 -32
  198. package/test/corpus/snippetTests/api/yamlRendererStream1.txt +0 -140
  199. package/test/corpus/snippetTests/api/yamlRendererStringsYaml11.txt +0 -22
  200. package/test/corpus/snippetTests/api/yamlRendererStringsYaml12.txt +0 -22
  201. package/test/corpus/snippetTests/basic/amendsChains.txt +0 -275
  202. package/test/corpus/snippetTests/basic/as.txt +0 -1468
  203. package/test/corpus/snippetTests/basic/as2.txt +0 -1077
  204. package/test/corpus/snippetTests/basic/as3.txt +0 -297
  205. package/test/corpus/snippetTests/basic/baseModule.txt +0 -11
  206. package/test/corpus/snippetTests/basic/boolean.txt +0 -430
  207. package/test/corpus/snippetTests/basic/constModifier.txt +0 -324
  208. package/test/corpus/snippetTests/basic/constModifier2.txt +0 -227
  209. package/test/corpus/snippetTests/basic/constModifier3.txt +0 -136
  210. package/test/corpus/snippetTests/basic/constModifier4.txt +0 -64
  211. package/test/corpus/snippetTests/basic/constModifier5.txt +0 -68
  212. package/test/corpus/snippetTests/basic/dataSize.txt +0 -658
  213. package/test/corpus/snippetTests/basic/duration.txt +0 -618
  214. package/test/corpus/snippetTests/basic/exceptions.txt +0 -18
  215. package/test/corpus/snippetTests/basic/fixedProperty1.txt +0 -62
  216. package/test/corpus/snippetTests/basic/fixedProperty2.txt +0 -33
  217. package/test/corpus/snippetTests/basic/fixedProperty3.txt +0 -31
  218. package/test/corpus/snippetTests/basic/fixedProperty4.txt +0 -15
  219. package/test/corpus/snippetTests/basic/fixedProperty5.txt +0 -20
  220. package/test/corpus/snippetTests/basic/fixedProperty6.txt +0 -15
  221. package/test/corpus/snippetTests/basic/if.txt +0 -83
  222. package/test/corpus/snippetTests/basic/import1.txt +0 -51
  223. package/test/corpus/snippetTests/basic/import1b.txt +0 -51
  224. package/test/corpus/snippetTests/basic/import2.txt +0 -34
  225. package/test/corpus/snippetTests/basic/import3.txt +0 -34
  226. package/test/corpus/snippetTests/basic/imported.txt +0 -19
  227. package/test/corpus/snippetTests/basic/indexExpressions.txt +0 -53
  228. package/test/corpus/snippetTests/basic/intseq.txt +0 -365
  229. package/test/corpus/snippetTests/basic/is.txt +0 -1504
  230. package/test/corpus/snippetTests/basic/is2.txt +0 -677
  231. package/test/corpus/snippetTests/basic/let.txt +0 -515
  232. package/test/corpus/snippetTests/basic/letTyped.txt +0 -293
  233. package/test/corpus/snippetTests/basic/list.txt +0 -252
  234. package/test/corpus/snippetTests/basic/localMethodDynamicBinding.txt +0 -187
  235. package/test/corpus/snippetTests/basic/localMethodInAmendingModule.txt +0 -216
  236. package/test/corpus/snippetTests/basic/localMethodOverride1.txt +0 -152
  237. package/test/corpus/snippetTests/basic/localMethodOverride2.txt +0 -173
  238. package/test/corpus/snippetTests/basic/localMethodTyped.txt +0 -564
  239. package/test/corpus/snippetTests/basic/localMethodTyped2.txt +0 -580
  240. package/test/corpus/snippetTests/basic/localMethodTyped3.txt +0 -218
  241. package/test/corpus/snippetTests/basic/localMethodTyped4.txt +0 -232
  242. package/test/corpus/snippetTests/basic/localMethodTyped5.txt +0 -211
  243. package/test/corpus/snippetTests/basic/localMethodTyped6.txt +0 -225
  244. package/test/corpus/snippetTests/basic/localMethodUntyped.txt +0 -488
  245. package/test/corpus/snippetTests/basic/localModuleMemberOverride1.txt +0 -227
  246. package/test/corpus/snippetTests/basic/localModuleMemberOverride2.txt +0 -202
  247. package/test/corpus/snippetTests/basic/localProperty1.txt +0 -33
  248. package/test/corpus/snippetTests/basic/localProperty2.txt +0 -77
  249. package/test/corpus/snippetTests/basic/localPropertyAmendInAmendingModule.txt +0 -25
  250. package/test/corpus/snippetTests/basic/localPropertyInAmendingModule.txt +0 -205
  251. package/test/corpus/snippetTests/basic/localPropertyOverride1.txt +0 -131
  252. package/test/corpus/snippetTests/basic/localPropertyOverride2.txt +0 -152
  253. package/test/corpus/snippetTests/basic/localPropertyOverride3.txt +0 -52
  254. package/test/corpus/snippetTests/basic/localTypedClassMember.txt +0 -277
  255. package/test/corpus/snippetTests/basic/localTypedModuleMember.txt +0 -265
  256. package/test/corpus/snippetTests/basic/localTypedObjectMember.txt +0 -268
  257. package/test/corpus/snippetTests/basic/map.txt +0 -398
  258. package/test/corpus/snippetTests/basic/minPklVersion.txt +0 -40
  259. package/test/corpus/snippetTests/basic/moduleRef1.txt +0 -108
  260. package/test/corpus/snippetTests/basic/moduleRef2.txt +0 -80
  261. package/test/corpus/snippetTests/basic/moduleRef3.txt +0 -112
  262. package/test/corpus/snippetTests/basic/moduleRefLibrary.txt +0 -33
  263. package/test/corpus/snippetTests/basic/new.txt +0 -1028
  264. package/test/corpus/snippetTests/basic/newInAmendingModuleMethod.txt +0 -116
  265. package/test/corpus/snippetTests/basic/newInsideIf.txt +0 -841
  266. package/test/corpus/snippetTests/basic/newInsideLet.txt +0 -869
  267. package/test/corpus/snippetTests/basic/newType.txt +0 -686
  268. package/test/corpus/snippetTests/basic/nonNull.txt +0 -131
  269. package/test/corpus/snippetTests/basic/nullable.txt +0 -239
  270. package/test/corpus/snippetTests/basic/objectMember.txt +0 -129
  271. package/test/corpus/snippetTests/basic/objectMemberInvalid.txt +0 -18
  272. package/test/corpus/snippetTests/basic/objectMemberInvalid2.txt +0 -18
  273. package/test/corpus/snippetTests/basic/objectMemberInvalid3.txt +0 -22
  274. package/test/corpus/snippetTests/basic/parens.txt +0 -59
  275. package/test/corpus/snippetTests/basic/propertyDefaults.txt +0 -126
  276. package/test/corpus/snippetTests/basic/read.txt +0 -250
  277. package/test/corpus/snippetTests/basic/readGlob.txt +0 -209
  278. package/test/corpus/snippetTests/basic/semicolon.txt +0 -18
  279. package/test/corpus/snippetTests/basic/set.txt +0 -340
  280. package/test/corpus/snippetTests/basic/trace.txt +0 -130
  281. package/test/corpus/snippetTests/basic/typeResolution1.txt +0 -31
  282. package/test/corpus/snippetTests/basic/typeResolution2.txt +0 -37
  283. package/test/corpus/snippetTests/basic/typeResolution3.txt +0 -63
  284. package/test/corpus/snippetTests/basic/typeResolution4.txt +0 -61
  285. package/test/corpus/snippetTests/basic/underscore.txt +0 -419
  286. package/test/corpus/snippetTests/classes/class1.txt +0 -54
  287. package/test/corpus/snippetTests/classes/class2.txt +0 -123
  288. package/test/corpus/snippetTests/classes/class2a.txt +0 -110
  289. package/test/corpus/snippetTests/classes/class3.txt +0 -65
  290. package/test/corpus/snippetTests/classes/class4.txt +0 -58
  291. package/test/corpus/snippetTests/classes/class5.txt +0 -131
  292. package/test/corpus/snippetTests/classes/constraints1.txt +0 -141
  293. package/test/corpus/snippetTests/classes/constraints11.txt +0 -201
  294. package/test/corpus/snippetTests/classes/constraints12.txt +0 -204
  295. package/test/corpus/snippetTests/classes/constraints13.txt +0 -86
  296. package/test/corpus/snippetTests/classes/constraints14.txt +0 -39
  297. package/test/corpus/snippetTests/classes/constraints15.txt +0 -26
  298. package/test/corpus/snippetTests/classes/constraints2.txt +0 -69
  299. package/test/corpus/snippetTests/classes/constraints3.txt +0 -97
  300. package/test/corpus/snippetTests/classes/constraints4.txt +0 -86
  301. package/test/corpus/snippetTests/classes/constraints5.txt +0 -71
  302. package/test/corpus/snippetTests/classes/constraints6.txt +0 -85
  303. package/test/corpus/snippetTests/classes/constraints7.txt +0 -148
  304. package/test/corpus/snippetTests/classes/constraints8.txt +0 -103
  305. package/test/corpus/snippetTests/classes/constraints9.txt +0 -92
  306. package/test/corpus/snippetTests/classes/constraintsLambdaThis.txt +0 -216
  307. package/test/corpus/snippetTests/classes/equality.txt +0 -123
  308. package/test/corpus/snippetTests/classes/externalClass.txt +0 -12
  309. package/test/corpus/snippetTests/classes/externalFunction.txt +0 -18
  310. package/test/corpus/snippetTests/classes/externalProperty.txt +0 -20
  311. package/test/corpus/snippetTests/classes/functions1.txt +0 -77
  312. package/test/corpus/snippetTests/classes/functions2.txt +0 -56
  313. package/test/corpus/snippetTests/classes/functions3.txt +0 -81
  314. package/test/corpus/snippetTests/classes/functions4.txt +0 -125
  315. package/test/corpus/snippetTests/classes/functions5.txt +0 -141
  316. package/test/corpus/snippetTests/classes/inheritance1.txt +0 -98
  317. package/test/corpus/snippetTests/classes/inheritance2.txt +0 -91
  318. package/test/corpus/snippetTests/classes/invalidInstantiation1.txt +0 -16
  319. package/test/corpus/snippetTests/classes/invalidInstantiation2.txt +0 -21
  320. package/test/corpus/snippetTests/classes/lambdaConstraints1.txt +0 -190
  321. package/test/corpus/snippetTests/classes/listConstraints1.txt +0 -312
  322. package/test/corpus/snippetTests/classes/mapConstraints1.txt +0 -495
  323. package/test/corpus/snippetTests/classes/nullableTypes.txt +0 -187
  324. package/test/corpus/snippetTests/classes/setConstraints1.txt +0 -312
  325. package/test/corpus/snippetTests/classes/supercalls.txt +0 -317
  326. package/test/corpus/snippetTests/classes/unionTypes.txt +0 -543
  327. package/test/corpus/snippetTests/classes/unionTypesErrorAlias.txt +0 -93
  328. package/test/corpus/snippetTests/classes/unionTypesErrorDifferent1.txt +0 -47
  329. package/test/corpus/snippetTests/classes/unionTypesErrorDifferent2.txt +0 -52
  330. package/test/corpus/snippetTests/classes/unionTypesErrorMultipleAliases.txt +0 -36
  331. package/test/corpus/snippetTests/classes/unionTypesErrorNested.txt +0 -99
  332. package/test/corpus/snippetTests/classes/unionTypesErrorSimple.txt +0 -42
  333. package/test/corpus/snippetTests/classes/unionTypesErrorString1.txt +0 -43
  334. package/test/corpus/snippetTests/classes/unionTypesErrorString2.txt +0 -85
  335. package/test/corpus/snippetTests/classes/wrongType1.txt +0 -34
  336. package/test/corpus/snippetTests/classes/wrongType2.txt +0 -47
  337. package/test/corpus/snippetTests/classes/wrongType3.txt +0 -71
  338. package/test/corpus/snippetTests/classes/wrongType4.txt +0 -77
  339. package/test/corpus/snippetTests/classes/wrongType6.txt +0 -43
  340. package/test/corpus/snippetTests/errors/abstractOpenMember.txt +0 -13
  341. package/test/corpus/snippetTests/errors/analyzeImportsCannotFindModule.txt +0 -41
  342. package/test/corpus/snippetTests/errors/analyzeImportsInvalidGlob.txt +0 -41
  343. package/test/corpus/snippetTests/errors/analyzeInvalidHttpModule.txt +0 -26
  344. package/test/corpus/snippetTests/errors/analyzeInvalidModuleUri.txt +0 -26
  345. package/test/corpus/snippetTests/errors/analyzeRelativeModuleUri.txt +0 -26
  346. package/test/corpus/snippetTests/errors/anyConverterError.txt +0 -56
  347. package/test/corpus/snippetTests/errors/baseModule.txt +0 -24
  348. package/test/corpus/snippetTests/errors/cannotAmendFixedProperty1.txt +0 -62
  349. package/test/corpus/snippetTests/errors/cannotAmendFixedProperty2.txt +0 -24
  350. package/test/corpus/snippetTests/errors/cannotAssignFixedProperty1.txt +0 -45
  351. package/test/corpus/snippetTests/errors/cannotAssignFixedProperty2.txt +0 -19
  352. package/test/corpus/snippetTests/errors/cannotAssignFixedProperty3.txt +0 -31
  353. package/test/corpus/snippetTests/errors/cannotAssignToNothing.txt +0 -15
  354. package/test/corpus/snippetTests/errors/cannotChangeFixed1.txt +0 -35
  355. package/test/corpus/snippetTests/errors/cannotChangeFixed2.txt +0 -35
  356. package/test/corpus/snippetTests/errors/cannotFindMapKey.txt +0 -39
  357. package/test/corpus/snippetTests/errors/cannotFindStdLibModule.txt +0 -20
  358. package/test/corpus/snippetTests/errors/cannotInferParent2.txt +0 -14
  359. package/test/corpus/snippetTests/errors/cannotInferParent3.txt +0 -48
  360. package/test/corpus/snippetTests/errors/cannotInstantiateAbstractModule.txt +0 -21
  361. package/test/corpus/snippetTests/errors/cannotRenderMixin.txt +0 -41
  362. package/test/corpus/snippetTests/errors/classExtendsSelf.txt +0 -27
  363. package/test/corpus/snippetTests/errors/constraintDetails1.txt +0 -80
  364. package/test/corpus/snippetTests/errors/constraintDetails2.txt +0 -77
  365. package/test/corpus/snippetTests/errors/constraintDetails3.txt +0 -87
  366. package/test/corpus/snippetTests/errors/duplicateTypeParameter.txt +0 -22
  367. package/test/corpus/snippetTests/errors/extendExternalClass.txt +0 -12
  368. package/test/corpus/snippetTests/errors/extendTypeAlias.txt +0 -33
  369. package/test/corpus/snippetTests/errors/forGeneratorCannotGenerateMethods.txt +0 -30
  370. package/test/corpus/snippetTests/errors/forGeneratorCannotGenerateProperties.txt +0 -28
  371. package/test/corpus/snippetTests/errors/forGeneratorCannotIterateOverThisValue.txt +0 -21
  372. package/test/corpus/snippetTests/errors/forGeneratorCannotIterateOverTyped.txt +0 -27
  373. package/test/corpus/snippetTests/errors/forGeneratorDuplicateParams1.txt +0 -38
  374. package/test/corpus/snippetTests/errors/fullStackTraces.txt +0 -64
  375. package/test/corpus/snippetTests/errors/fullStackTraces2.txt +0 -56
  376. package/test/corpus/snippetTests/errors/functionNotFoundInClass.txt +0 -35
  377. package/test/corpus/snippetTests/errors/functionNotFoundInModule.txt +0 -25
  378. package/test/corpus/snippetTests/errors/functionNotFoundInScope.txt +0 -38
  379. package/test/corpus/snippetTests/errors/functionNotFoundMaybeLambda.txt +0 -24
  380. package/test/corpus/snippetTests/errors/functionNotFoundMaybeProperty.txt +0 -18
  381. package/test/corpus/snippetTests/errors/intrinsifiedTypeAlias1.txt +0 -16
  382. package/test/corpus/snippetTests/errors/intrinsifiedTypeAlias2.txt +0 -16
  383. package/test/corpus/snippetTests/errors/intrinsifiedTypeAlias3.txt +0 -15
  384. package/test/corpus/snippetTests/errors/intrinsifiedTypeAlias4.txt +0 -15
  385. package/test/corpus/snippetTests/errors/invalidClassMethodModifier.txt +0 -29
  386. package/test/corpus/snippetTests/errors/invalidClassModifier.txt +0 -11
  387. package/test/corpus/snippetTests/errors/invalidClassModifier2.txt +0 -12
  388. package/test/corpus/snippetTests/errors/invalidClassPropertyModifier.txt +0 -31
  389. package/test/corpus/snippetTests/errors/invalidGlobImport1.txt +0 -19
  390. package/test/corpus/snippetTests/errors/invalidGlobImport4.txt +0 -19
  391. package/test/corpus/snippetTests/errors/invalidGlobImport5.txt +0 -20
  392. package/test/corpus/snippetTests/errors/invalidGlobImport6.txt +0 -14
  393. package/test/corpus/snippetTests/errors/invalidGlobImport7.txt +0 -21
  394. package/test/corpus/snippetTests/errors/invalidGlobImport8.txt +0 -22
  395. package/test/corpus/snippetTests/errors/invalidGlobRead1.txt +0 -14
  396. package/test/corpus/snippetTests/errors/invalidGlobRead2.txt +0 -14
  397. package/test/corpus/snippetTests/errors/invalidGlobRead3.txt +0 -14
  398. package/test/corpus/snippetTests/errors/invalidImportBackslashSep.txt +0 -14
  399. package/test/corpus/snippetTests/errors/invalidImportUri.txt +0 -19
  400. package/test/corpus/snippetTests/errors/invalidMethodModifier.txt +0 -14
  401. package/test/corpus/snippetTests/errors/invalidModuleModifier.txt +0 -20
  402. package/test/corpus/snippetTests/errors/invalidObjectPropertyModifier.txt +0 -17
  403. package/test/corpus/snippetTests/errors/invalidOutput1.txt +0 -17
  404. package/test/corpus/snippetTests/errors/invalidOutput2.txt +0 -22
  405. package/test/corpus/snippetTests/errors/invalidOutput3.txt +0 -12
  406. package/test/corpus/snippetTests/errors/invalidPropertyModifier.txt +0 -16
  407. package/test/corpus/snippetTests/errors/invalidTripleDotSyntax1.txt +0 -11
  408. package/test/corpus/snippetTests/errors/invalidTripleDotSyntax2.txt +0 -11
  409. package/test/corpus/snippetTests/errors/invalidTypeAliasModifier.txt +0 -14
  410. package/test/corpus/snippetTests/errors/invalidTypeName1.txt +0 -24
  411. package/test/corpus/snippetTests/errors/invalidTypeName2.txt +0 -31
  412. package/test/corpus/snippetTests/errors/invalidTypeName3.txt +0 -19
  413. package/test/corpus/snippetTests/errors/invalidTypeName4.txt +0 -24
  414. package/test/corpus/snippetTests/errors/letExpressionError1.txt +0 -24
  415. package/test/corpus/snippetTests/errors/letExpressionError2.txt +0 -27
  416. package/test/corpus/snippetTests/errors/letExpressionErrorTyped.txt +0 -27
  417. package/test/corpus/snippetTests/errors/listingTypeCheckError1.txt +0 -24
  418. package/test/corpus/snippetTests/errors/listingTypeCheckError2.txt +0 -30
  419. package/test/corpus/snippetTests/errors/listingTypeCheckError3.txt +0 -36
  420. package/test/corpus/snippetTests/errors/listingTypeCheckError4.txt +0 -43
  421. package/test/corpus/snippetTests/errors/listingTypeCheckError5.txt +0 -40
  422. package/test/corpus/snippetTests/errors/listingTypeCheckError6.txt +0 -58
  423. package/test/corpus/snippetTests/errors/listingTypeCheckError7.txt +0 -42
  424. package/test/corpus/snippetTests/errors/listingTypeCheckError8.txt +0 -84
  425. package/test/corpus/snippetTests/errors/listingTypeCheckError9.txt +0 -97
  426. package/test/corpus/snippetTests/errors/localFixedMember.txt +0 -19
  427. package/test/corpus/snippetTests/errors/localFunctionWithTypeParameter.txt +0 -18
  428. package/test/corpus/snippetTests/errors/localHiddenMember.txt +0 -17
  429. package/test/corpus/snippetTests/errors/mappingTypeCheckError1.txt +0 -29
  430. package/test/corpus/snippetTests/errors/mappingTypeCheckError10.txt +0 -49
  431. package/test/corpus/snippetTests/errors/mappingTypeCheckError11.txt +0 -106
  432. package/test/corpus/snippetTests/errors/mappingTypeCheckError2.txt +0 -30
  433. package/test/corpus/snippetTests/errors/mappingTypeCheckError3.txt +0 -30
  434. package/test/corpus/snippetTests/errors/mappingTypeCheckError4.txt +0 -36
  435. package/test/corpus/snippetTests/errors/mappingTypeCheckError5.txt +0 -41
  436. package/test/corpus/snippetTests/errors/mappingTypeCheckError6.txt +0 -75
  437. package/test/corpus/snippetTests/errors/mappingTypeCheckError7.txt +0 -45
  438. package/test/corpus/snippetTests/errors/mappingTypeCheckError8.txt +0 -33
  439. package/test/corpus/snippetTests/errors/mappingTypeCheckError9.txt +0 -69
  440. package/test/corpus/snippetTests/errors/missingLocalPropertyValue1.txt +0 -15
  441. package/test/corpus/snippetTests/errors/missingLocalPropertyValue2.txt +0 -22
  442. package/test/corpus/snippetTests/errors/moduleAmendsSelf.txt +0 -13
  443. package/test/corpus/snippetTests/errors/moduleAmendsVersionCheck.txt +0 -13
  444. package/test/corpus/snippetTests/errors/moduleAmendsVersionCheck2.txt +0 -22
  445. package/test/corpus/snippetTests/errors/moduleExpected.txt +0 -43
  446. package/test/corpus/snippetTests/errors/moduleExtendsSelf.txt +0 -20
  447. package/test/corpus/snippetTests/errors/moduleExtendsVersionCheck.txt +0 -13
  448. package/test/corpus/snippetTests/errors/moduleExtendsVersionCheck2.txt +0 -22
  449. package/test/corpus/snippetTests/errors/moduleImportVersionCheck.txt +0 -20
  450. package/test/corpus/snippetTests/errors/moduleWithHighMinPklVersion.txt +0 -29
  451. package/test/corpus/snippetTests/errors/noDefault.txt +0 -23
  452. package/test/corpus/snippetTests/errors/noDefault2.txt +0 -31
  453. package/test/corpus/snippetTests/errors/objectCannotHaveElement.txt +0 -72
  454. package/test/corpus/snippetTests/errors/objectCannotHaveElement2.txt +0 -98
  455. package/test/corpus/snippetTests/errors/objectCannotHavePredicateMember.txt +0 -25
  456. package/test/corpus/snippetTests/errors/outOfRange1.txt +0 -14
  457. package/test/corpus/snippetTests/errors/outOfRange2.txt +0 -17
  458. package/test/corpus/snippetTests/errors/outOfRange3.txt +0 -21
  459. package/test/corpus/snippetTests/errors/propertyNotFound1.txt +0 -32
  460. package/test/corpus/snippetTests/errors/propertyNotFound2.txt +0 -18
  461. package/test/corpus/snippetTests/errors/refusingToLoadModule.txt +0 -18
  462. package/test/corpus/snippetTests/errors/spreadSyntaxCannotHaveElement.txt +0 -38
  463. package/test/corpus/snippetTests/errors/spreadSyntaxCannotHaveEntry.txt +0 -34
  464. package/test/corpus/snippetTests/errors/spreadSyntaxCannotHaveProperty.txt +0 -34
  465. package/test/corpus/snippetTests/errors/spreadSyntaxCannotIterateOverTyped.txt +0 -44
  466. package/test/corpus/snippetTests/errors/spreadSyntaxCannotSpreadListIntoMapping.txt +0 -37
  467. package/test/corpus/snippetTests/errors/spreadSyntaxDuplicateEntry1.txt +0 -39
  468. package/test/corpus/snippetTests/errors/spreadSyntaxDuplicateEntry2.txt +0 -39
  469. package/test/corpus/snippetTests/errors/spreadSyntaxDuplicateProperty1.txt +0 -32
  470. package/test/corpus/snippetTests/errors/spreadSyntaxDuplicateProperty2.txt +0 -32
  471. package/test/corpus/snippetTests/errors/spreadSyntaxNullValue.txt +0 -20
  472. package/test/corpus/snippetTests/errors/spreadSyntaxUnknownTypedProperty.txt +0 -47
  473. package/test/corpus/snippetTests/errors/stackTraceWithQuotedMemberName.txt +0 -23
  474. package/test/corpus/snippetTests/errors/supercalls.txt +0 -18
  475. package/test/corpus/snippetTests/errors/typeMismatchHelper.txt +0 -19
  476. package/test/corpus/snippetTests/errors/typeMismatchWithSameQualifiedClassName.txt +0 -38
  477. package/test/corpus/snippetTests/errors/typeMismatchWithSameQualifiedModuleName.txt +0 -28
  478. package/test/corpus/snippetTests/errors/undefinedOp1.txt +0 -12
  479. package/test/corpus/snippetTests/errors/undefinedOp2.txt +0 -14
  480. package/test/corpus/snippetTests/errors/undefinedOp3.txt +0 -24
  481. package/test/corpus/snippetTests/errors/undefinedProperty1.txt +0 -28
  482. package/test/corpus/snippetTests/errors/undefinedProperty2.txt +0 -15
  483. package/test/corpus/snippetTests/errors/undefinedProperty3.txt +0 -95
  484. package/test/corpus/snippetTests/errors/undefinedProperty4.txt +0 -141
  485. package/test/corpus/snippetTests/errors/undefinedProperty5.txt +0 -160
  486. package/test/corpus/snippetTests/errors/undefinedProperty6.txt +0 -40
  487. package/test/corpus/snippetTests/errors/undefinedProperty7.txt +0 -35
  488. package/test/corpus/snippetTests/errors/undefinedProperty8.txt +0 -34
  489. package/test/corpus/snippetTests/errors/underscoreLambda.txt +0 -37
  490. package/test/corpus/snippetTests/errors/underscoreLet.txt +0 -17
  491. package/test/corpus/snippetTests/errors/userDefinedTypeParameter1.txt +0 -22
  492. package/test/corpus/snippetTests/errors/userDefinedTypeParameter2.txt +0 -32
  493. package/test/corpus/snippetTests/errors/wrongForGeneratorType1.txt +0 -35
  494. package/test/corpus/snippetTests/errors/wrongForGeneratorType2.txt +0 -37
  495. package/test/corpus/snippetTests/errors/wrongNumberOfMapArguments.txt +0 -16
  496. package/test/corpus/snippetTests/generators/duplicateDefinition1.txt +0 -23
  497. package/test/corpus/snippetTests/generators/duplicateDefinition2.txt +0 -30
  498. package/test/corpus/snippetTests/generators/duplicateDefinition3.txt +0 -26
  499. package/test/corpus/snippetTests/generators/elementGenerators.txt +0 -2628
  500. package/test/corpus/snippetTests/generators/elementGeneratorsTyped.txt +0 -1593
  501. package/test/corpus/snippetTests/generators/entryGenerators.txt +0 -3013
  502. package/test/corpus/snippetTests/generators/entryGeneratorsTyped.txt +0 -1858
  503. package/test/corpus/snippetTests/generators/forGeneratorInMixins.txt +0 -301
  504. package/test/corpus/snippetTests/generators/forGeneratorLexicalScope.txt +0 -199
  505. package/test/corpus/snippetTests/generators/forGeneratorNestedReference.txt +0 -277
  506. package/test/corpus/snippetTests/generators/forGeneratorNestedReference2.txt +0 -98
  507. package/test/corpus/snippetTests/generators/forGeneratorVariableShadowing.txt +0 -177
  508. package/test/corpus/snippetTests/generators/generatorNoMembers.txt +0 -157
  509. package/test/corpus/snippetTests/generators/predicateMembersDynamicListing.txt +0 -461
  510. package/test/corpus/snippetTests/generators/predicateMembersDynamicMapping.txt +0 -473
  511. package/test/corpus/snippetTests/generators/predicateMembersListing.txt +0 -463
  512. package/test/corpus/snippetTests/generators/predicateMembersMapping.txt +0 -474
  513. package/test/corpus/snippetTests/generators/predicateMembersThis.txt +0 -82
  514. package/test/corpus/snippetTests/generators/propertyGenerators.txt +0 -104
  515. package/test/corpus/snippetTests/generators/spreadSyntaxDynamic.txt +0 -411
  516. package/test/corpus/snippetTests/generators/spreadSyntaxListing.txt +0 -496
  517. package/test/corpus/snippetTests/generators/spreadSyntaxMapping.txt +0 -655
  518. package/test/corpus/snippetTests/generators/spreadSyntaxNoSpace.txt +0 -32
  519. package/test/corpus/snippetTests/generators/spreadSyntaxNullable.txt +0 -37
  520. package/test/corpus/snippetTests/generators/spreadSyntaxTyped.txt +0 -59
  521. package/test/corpus/snippetTests/implementation/equality.txt +0 -198
  522. package/test/corpus/snippetTests/implementation/inequality.txt +0 -198
  523. package/test/corpus/snippetTests/internal/polymorphicCallSite.txt +0 -499
  524. package/test/corpus/snippetTests/lambdas/amendLambdaDef.txt +0 -310
  525. package/test/corpus/snippetTests/lambdas/amendLambdaExpr.txt +0 -325
  526. package/test/corpus/snippetTests/lambdas/amendLambdaExternalClassError.txt +0 -45
  527. package/test/corpus/snippetTests/lambdas/amendLambdaParameters.txt +0 -155
  528. package/test/corpus/snippetTests/lambdas/amendLambdaParametersTyped.txt +0 -420
  529. package/test/corpus/snippetTests/lambdas/amendLambdaThatReturnsAnotherLambda.txt +0 -380
  530. package/test/corpus/snippetTests/lambdas/amendLambdaTooFewArgsError.txt +0 -60
  531. package/test/corpus/snippetTests/lambdas/amendLambdaTooManyArgsError.txt +0 -62
  532. package/test/corpus/snippetTests/lambdas/equality.txt +0 -62
  533. package/test/corpus/snippetTests/lambdas/inequality.txt +0 -62
  534. package/test/corpus/snippetTests/lambdas/lambda1.txt +0 -85
  535. package/test/corpus/snippetTests/lambdas/lambda2.txt +0 -78
  536. package/test/corpus/snippetTests/lambdas/lambda3.txt +0 -381
  537. package/test/corpus/snippetTests/lambdas/lambda4.txt +0 -147
  538. package/test/corpus/snippetTests/lambdas/lambda5.txt +0 -307
  539. package/test/corpus/snippetTests/lambdas/lambdaStackTrace1.txt +0 -35
  540. package/test/corpus/snippetTests/lambdas/lambdaStackTrace2.txt +0 -37
  541. package/test/corpus/snippetTests/lambdas/lambdaStackTrace3.txt +0 -33
  542. package/test/corpus/snippetTests/lambdas/pipeOperator.txt +0 -189
  543. package/test/corpus/snippetTests/lambdas/tooManyLambdaParams.txt +0 -27
  544. package/test/corpus/snippetTests/lambdas/typedLambdas.txt +0 -278
  545. package/test/corpus/snippetTests/lambdas/wrongArgumentListLength.txt +0 -37
  546. package/test/corpus/snippetTests/listings/cacheStealing.txt +0 -56
  547. package/test/corpus/snippetTests/listings/cacheStealingTypeCheck.txt +0 -27
  548. package/test/corpus/snippetTests/listings/default.txt +0 -133
  549. package/test/corpus/snippetTests/listings/equality.txt +0 -341
  550. package/test/corpus/snippetTests/listings/hashCode.txt +0 -438
  551. package/test/corpus/snippetTests/listings/inequality.txt +0 -173
  552. package/test/corpus/snippetTests/listings/listing1.txt +0 -360
  553. package/test/corpus/snippetTests/listings/listing2.txt +0 -755
  554. package/test/corpus/snippetTests/listings/listing3.txt +0 -490
  555. package/test/corpus/snippetTests/listings/listing4.txt +0 -156
  556. package/test/corpus/snippetTests/listings/listing6.txt +0 -208
  557. package/test/corpus/snippetTests/listings/listing7.txt +0 -71
  558. package/test/corpus/snippetTests/listings/typeCheck.txt +0 -2506
  559. package/test/corpus/snippetTests/listings/wrongIndex.txt +0 -121
  560. package/test/corpus/snippetTests/listings/wrongParent.txt +0 -253
  561. package/test/corpus/snippetTests/listings2/default.txt +0 -157
  562. package/test/corpus/snippetTests/listings2/equality.txt +0 -358
  563. package/test/corpus/snippetTests/listings2/inequality.txt +0 -227
  564. package/test/corpus/snippetTests/listings2/listing1.txt +0 -372
  565. package/test/corpus/snippetTests/listings2/listing2.txt +0 -904
  566. package/test/corpus/snippetTests/listings2/listing3.txt +0 -568
  567. package/test/corpus/snippetTests/listings2/typeCheck.txt +0 -336
  568. package/test/corpus/snippetTests/listings2/wrongIndex.txt +0 -151
  569. package/test/corpus/snippetTests/listings2/wrongParent.txt +0 -313
  570. package/test/corpus/snippetTests/mappings/default.txt +0 -174
  571. package/test/corpus/snippetTests/mappings/duplicateComputedKey.txt +0 -85
  572. package/test/corpus/snippetTests/mappings/duplicateConstantKey.txt +0 -32
  573. package/test/corpus/snippetTests/mappings/equality.txt +0 -383
  574. package/test/corpus/snippetTests/mappings/hashCode.txt +0 -461
  575. package/test/corpus/snippetTests/mappings/inequality.txt +0 -198
  576. package/test/corpus/snippetTests/mappings/mapping1.txt +0 -590
  577. package/test/corpus/snippetTests/mappings/mapping2.txt +0 -491
  578. package/test/corpus/snippetTests/mappings/stringKeyNotFound.txt +0 -50
  579. package/test/corpus/snippetTests/mappings/typeCheck.txt +0 -2877
  580. package/test/corpus/snippetTests/mappings/wrongParent.txt +0 -262
  581. package/test/corpus/snippetTests/mappings2/default.txt +0 -195
  582. package/test/corpus/snippetTests/mappings2/duplicateComputedKey.txt +0 -99
  583. package/test/corpus/snippetTests/mappings2/duplicateConstantKey.txt +0 -39
  584. package/test/corpus/snippetTests/mappings2/equality.txt +0 -416
  585. package/test/corpus/snippetTests/mappings2/inequality.txt +0 -268
  586. package/test/corpus/snippetTests/mappings2/mapping1.txt +0 -604
  587. package/test/corpus/snippetTests/mappings2/mapping2.txt +0 -595
  588. package/test/corpus/snippetTests/mappings2/stringKeyNotFound.txt +0 -57
  589. package/test/corpus/snippetTests/mappings2/typeCheck.txt +0 -582
  590. package/test/corpus/snippetTests/mappings2/wrongParent.txt +0 -334
  591. package/test/corpus/snippetTests/methods/methodParameterConstraints1.txt +0 -220
  592. package/test/corpus/snippetTests/methods/methodParameterConstraints2.txt +0 -382
  593. package/test/corpus/snippetTests/methods/methodParameterTypes2.txt +0 -734
  594. package/test/corpus/snippetTests/methods/methodParameterTypes3.txt +0 -196
  595. package/test/corpus/snippetTests/modules/amendModule1.txt +0 -36
  596. package/test/corpus/snippetTests/modules/amendModule2.txt +0 -28
  597. package/test/corpus/snippetTests/modules/amendModule3.txt +0 -24
  598. package/test/corpus/snippetTests/modules/amendModule4.txt +0 -35
  599. package/test/corpus/snippetTests/modules/amendModule5.txt +0 -68
  600. package/test/corpus/snippetTests/modules/amendModule6.txt +0 -13
  601. package/test/corpus/snippetTests/modules/equality.txt +0 -91
  602. package/test/corpus/snippetTests/modules/extendModule1.txt +0 -80
  603. package/test/corpus/snippetTests/modules/externalFunction.txt +0 -14
  604. package/test/corpus/snippetTests/modules/externalProperty.txt +0 -16
  605. package/test/corpus/snippetTests/modules/filename with spaces 2.txt +0 -14
  606. package/test/corpus/snippetTests/modules/filename with spaces.txt +0 -13
  607. package/test/corpus/snippetTests/modules/functions.txt +0 -264
  608. package/test/corpus/snippetTests/modules/invalidAmend1.txt +0 -18
  609. package/test/corpus/snippetTests/modules/invalidAmend2.txt +0 -19
  610. package/test/corpus/snippetTests/modules/invalidAmend3.txt +0 -23
  611. package/test/corpus/snippetTests/modules/invalidAmend4.txt +0 -21
  612. package/test/corpus/snippetTests/modules/invalidAmend5.txt +0 -17
  613. package/test/corpus/snippetTests/modules/invalidAmend6.txt +0 -22
  614. package/test/corpus/snippetTests/modules/invalidExtend1.txt +0 -18
  615. package/test/corpus/snippetTests/modules/invalidExtend2.txt +0 -13
  616. package/test/corpus/snippetTests/modules/invalidExtend3.txt +0 -13
  617. package/test/corpus/snippetTests/modules/library.txt +0 -77
  618. package/test/corpus/snippetTests/modules/lists.txt +0 -26
  619. package/test/corpus/snippetTests/modules/objects.txt +0 -22
  620. package/test/corpus/snippetTests/modules/recursiveModule1.txt +0 -51
  621. package/test/corpus/snippetTests/modules/recursiveModule2.txt +0 -26
  622. package/test/corpus/snippetTests/modules/supercalls1.txt +0 -43
  623. package/test/corpus/snippetTests/modules/supercalls2.txt +0 -76
  624. package/test/corpus/snippetTests/modules/supercalls3.txt +0 -142
  625. package/test/corpus/snippetTests/modules/typedModuleMethods1.txt +0 -229
  626. package/test/corpus/snippetTests/modules/typedModuleProperties1.txt +0 -106
  627. package/test/corpus/snippetTests/modules/typedModuleProperties2.txt +0 -16
  628. package/test/corpus/snippetTests/modules/typedModuleProperties3.txt +0 -20
  629. package/test/corpus/snippetTests/modules//346/227/245/346/234/254/350/252/236.txt +0 -45
  630. package/test/corpus/snippetTests/modules//346/227/245/346/234/254/350/252/236_error.txt +0 -14
  631. package/test/corpus/snippetTests/objects/closure.txt +0 -143
  632. package/test/corpus/snippetTests/objects/configureObjectAssign.txt +0 -78
  633. package/test/corpus/snippetTests/objects/equality.txt +0 -989
  634. package/test/corpus/snippetTests/objects/hashCode.txt +0 -566
  635. package/test/corpus/snippetTests/objects/implicitReceiver1.txt +0 -37
  636. package/test/corpus/snippetTests/objects/implicitReceiver2.txt +0 -33
  637. package/test/corpus/snippetTests/objects/implicitReceiver3.txt +0 -29
  638. package/test/corpus/snippetTests/objects/implicitReceiver4.txt +0 -25
  639. package/test/corpus/snippetTests/objects/inequality.txt +0 -777
  640. package/test/corpus/snippetTests/objects/lateBinding1.txt +0 -60
  641. package/test/corpus/snippetTests/objects/lateBinding2.txt +0 -60
  642. package/test/corpus/snippetTests/objects/lateBinding3.txt +0 -81
  643. package/test/corpus/snippetTests/objects/lateBinding4.txt +0 -77
  644. package/test/corpus/snippetTests/objects/outer.txt +0 -91
  645. package/test/corpus/snippetTests/objects/outer2.txt +0 -28
  646. package/test/corpus/snippetTests/objects/super1.txt +0 -67
  647. package/test/corpus/snippetTests/objects/super2.txt +0 -59
  648. package/test/corpus/snippetTests/objects/super3.txt +0 -59
  649. package/test/corpus/snippetTests/objects/super4.txt +0 -66
  650. package/test/corpus/snippetTests/objects/super5.txt +0 -69
  651. package/test/corpus/snippetTests/objects/this1.txt +0 -24
  652. package/test/corpus/snippetTests/objects/this2.txt +0 -71
  653. package/test/corpus/snippetTests/packages/badImport1.error.txt +0 -14
  654. package/test/corpus/snippetTests/packages/badImport10.error.txt +0 -14
  655. package/test/corpus/snippetTests/packages/badImport11.error.txt +0 -14
  656. package/test/corpus/snippetTests/packages/badImport2.error.txt +0 -14
  657. package/test/corpus/snippetTests/packages/badImport3.error.txt +0 -14
  658. package/test/corpus/snippetTests/packages/badImport4.error.txt +0 -14
  659. package/test/corpus/snippetTests/packages/badImport6.error.txt +0 -20
  660. package/test/corpus/snippetTests/packages/badImport7.error.txt +0 -14
  661. package/test/corpus/snippetTests/packages/badImport8.error.txt +0 -14
  662. package/test/corpus/snippetTests/packages/badImport9.error.txt +0 -14
  663. package/test/corpus/snippetTests/packages/badRead1.error.txt +0 -14
  664. package/test/corpus/snippetTests/packages/badRead2.error.txt +0 -14
  665. package/test/corpus/snippetTests/packages/badRead3.error.txt +0 -14
  666. package/test/corpus/snippetTests/packages/badRead4.error.txt +0 -14
  667. package/test/corpus/snippetTests/packages/badRead8.error.txt +0 -14
  668. package/test/corpus/snippetTests/packages/badRead9.error.txt +0 -14
  669. package/test/corpus/snippetTests/packages/packages1.txt +0 -103
  670. package/test/corpus/snippetTests/packages/packages2.txt +0 -104
  671. package/test/corpus/snippetTests/packages/redirects.txt +0 -54
  672. package/test/corpus/snippetTests/types/ThisInTypeConstraint.txt +0 -342
  673. package/test/corpus/snippetTests/types/currentModuleType1.txt +0 -343
  674. package/test/corpus/snippetTests/types/currentModuleType2.txt +0 -351
  675. package/test/corpus/snippetTests/types/currentModuleType3.txt +0 -18
  676. package/test/corpus/snippetTests/types/cyclicTypeAlias1.txt +0 -17
  677. package/test/corpus/snippetTests/types/cyclicTypeAlias2.txt +0 -42
  678. package/test/corpus/snippetTests/types/modifiersForTypes.txt +0 -68
  679. package/test/corpus/snippetTests/types/moduleType.txt +0 -58
  680. package/test/corpus/snippetTests/types/nothingType.txt +0 -29
  681. package/test/corpus/snippetTests/types/nothingWithUnions.txt +0 -31
  682. package/test/corpus/snippetTests/types/typeAlias1.txt +0 -925
  683. package/test/corpus/snippetTests/types/typeAlias2.txt +0 -361
  684. package/test/corpus/snippetTests/types/typeAliasConstraint1.txt +0 -79
  685. package/test/corpus/snippetTests/types/typeAliasConstraint2.txt +0 -77
  686. package/test/corpus/snippetTests/types/typeAliasContext.txt +0 -26
  687. package/test/corpus/snippetTests/types/typeAliasUnion.txt +0 -169
  688. package/test/corpus/string/customStringDelimiters.txt +0 -397
  689. package/test/corpus/string/multiline.txt +0 -39
  690. package/test/corpus/string/multilineInterpolation.txt +0 -102
  691. package/test/corpus/string/multilineInterpolation2.txt +0 -15
  692. package/test/corpus/string/simple.txt +0 -13
  693. package/test/corpus/string/singleLineEscapes.txt +0 -64
  694. package/test/corpus/string/singleLineInterpolation.txt +0 -94
  695. package/test/corpus/string/stringWithTwoSlashes.txt +0 -20
  696. package/test/corpus/type/unionType.txt +0 -34
  697. package/test/corpus/type/unionTypeDefaults.txt +0 -46
@@ -1,1077 +0,0 @@
1
- ===
2
- basic/as2.pkl
3
- ===
4
-
5
- amends "../snippetTest.pkl"
6
-
7
- examples {
8
- ["list"] {
9
- List(1, 2, 3) as List<Int>
10
- module.catch(() -> List(1, 2, 3) as List<String>)
11
- module.catch(() -> Set(1, 2, 3) as List<Int>)
12
- }
13
-
14
- ["set"] {
15
- module.catch(() -> List(1, 2, 3) as Set<Int>)
16
- Set(1, 2, 3) as Set<Int>
17
- module.catch(() -> Set(1, 2, 3) as Set<String>)
18
- }
19
-
20
- ["map"] {
21
- Map("Pigeon", 42, "Barn Owl", 21) as Map<String, Int>
22
- module.catch(() -> Map("Pigeon", 42, "Barn Owl", 21) as Map<Int, String>)
23
- }
24
-
25
- ["listing"] {
26
- new Listing { 1; 2; 3 } as Listing<Int>
27
- module.catch(() -> (new Listing { 1; 2; 3 } as Listing<String>)[0])
28
- }
29
-
30
- ["cast Listing<UInt32> to other integer types"] {
31
- local l = new Listing<UInt32> { 9999999 }
32
- (l as Listing<Int>)[0]
33
- (l as Listing<UInt>)[0]
34
- (l as Listing<Int32>)[0]
35
- (l as Listing<UInt32>)[0]
36
- module.catch(() -> (l as Listing<Int16>)[0])
37
- module.catch(() -> (l as Listing<UInt16>)[0])
38
- module.catch(() -> (l as Listing<Int8>)[0])
39
- module.catch(() -> (l as Listing<UInt8>)[0])
40
- }
41
-
42
- ["mapping"] {
43
- module.catch(() -> new Listing { 1; 2; 3 } as Mapping<Int, String>)
44
- new Mapping { ["Pigeon"] = 42; ["Barn Owl"] = 21 } as Mapping<String, Int>
45
- module.catch(() -> new Mapping { ["Pigeon"] = 42; ["Barn Owl"] = 21 } as Mapping<Int, String>)
46
- }
47
-
48
- ["cast Mapping<, UInt> to other integer types"] {
49
- local m = new Mapping<String, UInt> { ["x"] = 9999 }
50
- (m as Mapping<String, Int>)["x"]
51
- (m as Mapping<String, UInt>)["x"]
52
- (m as Mapping<String, Int32>)["x"]
53
- (m as Mapping<String, UInt32>)["x"]
54
- (m as Mapping<String, Int16>)["x"]
55
- (m as Mapping<String, UInt16>)["x"]
56
- module.catch(() -> (m as Mapping<String, Int8>)["x"])
57
- module.catch(() -> (m as Mapping<String, UInt8>)["x"])
58
- }
59
-
60
- ["union type"] {
61
- 42 as Int|String
62
- 42 as String|Int
63
- 42 as Number|String
64
- module.catch(() -> 42 as String|Duration)
65
-
66
- List(1, 2, 3) as List<String>|List<Int>
67
- List(1, 2, 3) as List<String|Int>
68
- module.catch(() -> List(1, 2, 3) as List<String>|Set<Int>)
69
- }
70
-
71
- ["nullable type"] {
72
- null as String?
73
- null as Map<String, Int>?
74
- module.catch(() -> null as Map<String, Int?>)
75
- }
76
-
77
- ["function type"] {
78
- (((x) -> x) as (Int) -> Int).apply(42)
79
- (((x) -> x) as (String) -> String).apply(42)
80
- module.catch(() -> ((x, _) -> x) as (Int) -> Int)
81
- }
82
-
83
- ["string literal type"] {
84
- "Pigeon" as "Pigeon"|"Barn Owl"
85
- module.catch(() -> "Pigeon" as "Piggy"|"Barn Owl")
86
- }
87
-
88
- ["constrained type"] {
89
- "abc" as String(length == 3)
90
- module.catch(() -> "abc" as String(length == 4))
91
- List("a", "b", "c") as List<String(length == 1)>
92
- }
93
- }
94
-
95
- ---
96
-
97
- (module
98
- (moduleHeader
99
- (extendsOrAmendsClause
100
- (stringConstant
101
- (slStringLiteralPart))))
102
- (classProperty
103
- (identifier)
104
- (objectBody
105
- (objectEntry
106
- (slStringLiteralExpr
107
- (slStringLiteralPart))
108
- (objectBody
109
- (objectElement
110
- (typeCastExpr
111
- (unqualifiedAccessExpr
112
- (identifier)
113
- (argumentList
114
- (intLiteralExpr)
115
- (intLiteralExpr)
116
- (intLiteralExpr)))
117
- (declaredType
118
- (qualifiedIdentifier
119
- (identifier))
120
- (typeArgumentList
121
- (declaredType
122
- (qualifiedIdentifier
123
- (identifier)))))))
124
- (objectElement
125
- (qualifiedAccessExpr
126
- (moduleExpr)
127
- (identifier)
128
- (argumentList
129
- (functionLiteralExpr
130
- (parameterList)
131
- (typeCastExpr
132
- (unqualifiedAccessExpr
133
- (identifier)
134
- (argumentList
135
- (intLiteralExpr)
136
- (intLiteralExpr)
137
- (intLiteralExpr)))
138
- (declaredType
139
- (qualifiedIdentifier
140
- (identifier))
141
- (typeArgumentList
142
- (declaredType
143
- (qualifiedIdentifier
144
- (identifier))))))))))
145
- (objectElement
146
- (qualifiedAccessExpr
147
- (moduleExpr)
148
- (identifier)
149
- (argumentList
150
- (functionLiteralExpr
151
- (parameterList)
152
- (typeCastExpr
153
- (unqualifiedAccessExpr
154
- (identifier)
155
- (argumentList
156
- (intLiteralExpr)
157
- (intLiteralExpr)
158
- (intLiteralExpr)))
159
- (declaredType
160
- (qualifiedIdentifier
161
- (identifier))
162
- (typeArgumentList
163
- (declaredType
164
- (qualifiedIdentifier
165
- (identifier))))))))))))
166
- (objectEntry
167
- (slStringLiteralExpr
168
- (slStringLiteralPart))
169
- (objectBody
170
- (objectElement
171
- (qualifiedAccessExpr
172
- (moduleExpr)
173
- (identifier)
174
- (argumentList
175
- (functionLiteralExpr
176
- (parameterList)
177
- (typeCastExpr
178
- (unqualifiedAccessExpr
179
- (identifier)
180
- (argumentList
181
- (intLiteralExpr)
182
- (intLiteralExpr)
183
- (intLiteralExpr)))
184
- (declaredType
185
- (qualifiedIdentifier
186
- (identifier))
187
- (typeArgumentList
188
- (declaredType
189
- (qualifiedIdentifier
190
- (identifier))))))))))
191
- (objectElement
192
- (typeCastExpr
193
- (unqualifiedAccessExpr
194
- (identifier)
195
- (argumentList
196
- (intLiteralExpr)
197
- (intLiteralExpr)
198
- (intLiteralExpr)))
199
- (declaredType
200
- (qualifiedIdentifier
201
- (identifier))
202
- (typeArgumentList
203
- (declaredType
204
- (qualifiedIdentifier
205
- (identifier)))))))
206
- (objectElement
207
- (qualifiedAccessExpr
208
- (moduleExpr)
209
- (identifier)
210
- (argumentList
211
- (functionLiteralExpr
212
- (parameterList)
213
- (typeCastExpr
214
- (unqualifiedAccessExpr
215
- (identifier)
216
- (argumentList
217
- (intLiteralExpr)
218
- (intLiteralExpr)
219
- (intLiteralExpr)))
220
- (declaredType
221
- (qualifiedIdentifier
222
- (identifier))
223
- (typeArgumentList
224
- (declaredType
225
- (qualifiedIdentifier
226
- (identifier))))))))))))
227
- (objectEntry
228
- (slStringLiteralExpr
229
- (slStringLiteralPart))
230
- (objectBody
231
- (objectElement
232
- (typeCastExpr
233
- (unqualifiedAccessExpr
234
- (identifier)
235
- (argumentList
236
- (slStringLiteralExpr
237
- (slStringLiteralPart))
238
- (intLiteralExpr)
239
- (slStringLiteralExpr
240
- (slStringLiteralPart))
241
- (intLiteralExpr)))
242
- (declaredType
243
- (qualifiedIdentifier
244
- (identifier))
245
- (typeArgumentList
246
- (declaredType
247
- (qualifiedIdentifier
248
- (identifier)))
249
- (declaredType
250
- (qualifiedIdentifier
251
- (identifier)))))))
252
- (objectElement
253
- (qualifiedAccessExpr
254
- (moduleExpr)
255
- (identifier)
256
- (argumentList
257
- (functionLiteralExpr
258
- (parameterList)
259
- (typeCastExpr
260
- (unqualifiedAccessExpr
261
- (identifier)
262
- (argumentList
263
- (slStringLiteralExpr
264
- (slStringLiteralPart))
265
- (intLiteralExpr)
266
- (slStringLiteralExpr
267
- (slStringLiteralPart))
268
- (intLiteralExpr)))
269
- (declaredType
270
- (qualifiedIdentifier
271
- (identifier))
272
- (typeArgumentList
273
- (declaredType
274
- (qualifiedIdentifier
275
- (identifier)))
276
- (declaredType
277
- (qualifiedIdentifier
278
- (identifier))))))))))))
279
- (objectEntry
280
- (slStringLiteralExpr
281
- (slStringLiteralPart))
282
- (objectBody
283
- (objectElement
284
- (typeCastExpr
285
- (newExpr
286
- (declaredType
287
- (qualifiedIdentifier
288
- (identifier)))
289
- (objectBody
290
- (objectElement
291
- (intLiteralExpr))
292
- (objectElement
293
- (intLiteralExpr))
294
- (objectElement
295
- (intLiteralExpr))))
296
- (declaredType
297
- (qualifiedIdentifier
298
- (identifier))
299
- (typeArgumentList
300
- (declaredType
301
- (qualifiedIdentifier
302
- (identifier)))))))
303
- (objectElement
304
- (qualifiedAccessExpr
305
- (moduleExpr)
306
- (identifier)
307
- (argumentList
308
- (functionLiteralExpr
309
- (parameterList)
310
- (subscriptExpr
311
- (parenthesizedExpr
312
- (typeCastExpr
313
- (newExpr
314
- (declaredType
315
- (qualifiedIdentifier
316
- (identifier)))
317
- (objectBody
318
- (objectElement
319
- (intLiteralExpr))
320
- (objectElement
321
- (intLiteralExpr))
322
- (objectElement
323
- (intLiteralExpr))))
324
- (declaredType
325
- (qualifiedIdentifier
326
- (identifier))
327
- (typeArgumentList
328
- (declaredType
329
- (qualifiedIdentifier
330
- (identifier)))))))
331
- (intLiteralExpr))))))))
332
- (objectEntry
333
- (slStringLiteralExpr
334
- (slStringLiteralPart))
335
- (objectBody
336
- (objectProperty
337
- (modifier)
338
- (identifier)
339
- (newExpr
340
- (declaredType
341
- (qualifiedIdentifier
342
- (identifier))
343
- (typeArgumentList
344
- (declaredType
345
- (qualifiedIdentifier
346
- (identifier)))))
347
- (objectBody
348
- (objectElement
349
- (intLiteralExpr)))))
350
- (objectElement
351
- (subscriptExpr
352
- (parenthesizedExpr
353
- (typeCastExpr
354
- (unqualifiedAccessExpr
355
- (identifier))
356
- (declaredType
357
- (qualifiedIdentifier
358
- (identifier))
359
- (typeArgumentList
360
- (declaredType
361
- (qualifiedIdentifier
362
- (identifier)))))))
363
- (intLiteralExpr)))
364
- (objectElement
365
- (subscriptExpr
366
- (parenthesizedExpr
367
- (typeCastExpr
368
- (unqualifiedAccessExpr
369
- (identifier))
370
- (declaredType
371
- (qualifiedIdentifier
372
- (identifier))
373
- (typeArgumentList
374
- (declaredType
375
- (qualifiedIdentifier
376
- (identifier)))))))
377
- (intLiteralExpr)))
378
- (objectElement
379
- (subscriptExpr
380
- (parenthesizedExpr
381
- (typeCastExpr
382
- (unqualifiedAccessExpr
383
- (identifier))
384
- (declaredType
385
- (qualifiedIdentifier
386
- (identifier))
387
- (typeArgumentList
388
- (declaredType
389
- (qualifiedIdentifier
390
- (identifier)))))))
391
- (intLiteralExpr)))
392
- (objectElement
393
- (subscriptExpr
394
- (parenthesizedExpr
395
- (typeCastExpr
396
- (unqualifiedAccessExpr
397
- (identifier))
398
- (declaredType
399
- (qualifiedIdentifier
400
- (identifier))
401
- (typeArgumentList
402
- (declaredType
403
- (qualifiedIdentifier
404
- (identifier)))))))
405
- (intLiteralExpr)))
406
- (objectElement
407
- (qualifiedAccessExpr
408
- (moduleExpr)
409
- (identifier)
410
- (argumentList
411
- (functionLiteralExpr
412
- (parameterList)
413
- (subscriptExpr
414
- (parenthesizedExpr
415
- (typeCastExpr
416
- (unqualifiedAccessExpr
417
- (identifier))
418
- (declaredType
419
- (qualifiedIdentifier
420
- (identifier))
421
- (typeArgumentList
422
- (declaredType
423
- (qualifiedIdentifier
424
- (identifier)))))))
425
- (intLiteralExpr))))))
426
- (objectElement
427
- (qualifiedAccessExpr
428
- (moduleExpr)
429
- (identifier)
430
- (argumentList
431
- (functionLiteralExpr
432
- (parameterList)
433
- (subscriptExpr
434
- (parenthesizedExpr
435
- (typeCastExpr
436
- (unqualifiedAccessExpr
437
- (identifier))
438
- (declaredType
439
- (qualifiedIdentifier
440
- (identifier))
441
- (typeArgumentList
442
- (declaredType
443
- (qualifiedIdentifier
444
- (identifier)))))))
445
- (intLiteralExpr))))))
446
- (objectElement
447
- (qualifiedAccessExpr
448
- (moduleExpr)
449
- (identifier)
450
- (argumentList
451
- (functionLiteralExpr
452
- (parameterList)
453
- (subscriptExpr
454
- (parenthesizedExpr
455
- (typeCastExpr
456
- (unqualifiedAccessExpr
457
- (identifier))
458
- (declaredType
459
- (qualifiedIdentifier
460
- (identifier))
461
- (typeArgumentList
462
- (declaredType
463
- (qualifiedIdentifier
464
- (identifier)))))))
465
- (intLiteralExpr))))))
466
- (objectElement
467
- (qualifiedAccessExpr
468
- (moduleExpr)
469
- (identifier)
470
- (argumentList
471
- (functionLiteralExpr
472
- (parameterList)
473
- (subscriptExpr
474
- (parenthesizedExpr
475
- (typeCastExpr
476
- (unqualifiedAccessExpr
477
- (identifier))
478
- (declaredType
479
- (qualifiedIdentifier
480
- (identifier))
481
- (typeArgumentList
482
- (declaredType
483
- (qualifiedIdentifier
484
- (identifier)))))))
485
- (intLiteralExpr))))))))
486
- (objectEntry
487
- (slStringLiteralExpr
488
- (slStringLiteralPart))
489
- (objectBody
490
- (objectElement
491
- (qualifiedAccessExpr
492
- (moduleExpr)
493
- (identifier)
494
- (argumentList
495
- (functionLiteralExpr
496
- (parameterList)
497
- (typeCastExpr
498
- (newExpr
499
- (declaredType
500
- (qualifiedIdentifier
501
- (identifier)))
502
- (objectBody
503
- (objectElement
504
- (intLiteralExpr))
505
- (objectElement
506
- (intLiteralExpr))
507
- (objectElement
508
- (intLiteralExpr))))
509
- (declaredType
510
- (qualifiedIdentifier
511
- (identifier))
512
- (typeArgumentList
513
- (declaredType
514
- (qualifiedIdentifier
515
- (identifier)))
516
- (declaredType
517
- (qualifiedIdentifier
518
- (identifier))))))))))
519
- (objectElement
520
- (typeCastExpr
521
- (newExpr
522
- (declaredType
523
- (qualifiedIdentifier
524
- (identifier)))
525
- (objectBody
526
- (objectEntry
527
- (slStringLiteralExpr
528
- (slStringLiteralPart))
529
- (intLiteralExpr))
530
- (objectEntry
531
- (slStringLiteralExpr
532
- (slStringLiteralPart))
533
- (intLiteralExpr))))
534
- (declaredType
535
- (qualifiedIdentifier
536
- (identifier))
537
- (typeArgumentList
538
- (declaredType
539
- (qualifiedIdentifier
540
- (identifier)))
541
- (declaredType
542
- (qualifiedIdentifier
543
- (identifier)))))))
544
- (objectElement
545
- (qualifiedAccessExpr
546
- (moduleExpr)
547
- (identifier)
548
- (argumentList
549
- (functionLiteralExpr
550
- (parameterList)
551
- (typeCastExpr
552
- (newExpr
553
- (declaredType
554
- (qualifiedIdentifier
555
- (identifier)))
556
- (objectBody
557
- (objectEntry
558
- (slStringLiteralExpr
559
- (slStringLiteralPart))
560
- (intLiteralExpr))
561
- (objectEntry
562
- (slStringLiteralExpr
563
- (slStringLiteralPart))
564
- (intLiteralExpr))))
565
- (declaredType
566
- (qualifiedIdentifier
567
- (identifier))
568
- (typeArgumentList
569
- (declaredType
570
- (qualifiedIdentifier
571
- (identifier)))
572
- (declaredType
573
- (qualifiedIdentifier
574
- (identifier))))))))))))
575
- (objectEntry
576
- (slStringLiteralExpr
577
- (slStringLiteralPart))
578
- (objectBody
579
- (objectProperty
580
- (modifier)
581
- (identifier)
582
- (newExpr
583
- (declaredType
584
- (qualifiedIdentifier
585
- (identifier))
586
- (typeArgumentList
587
- (declaredType
588
- (qualifiedIdentifier
589
- (identifier)))
590
- (declaredType
591
- (qualifiedIdentifier
592
- (identifier)))))
593
- (objectBody
594
- (objectEntry
595
- (slStringLiteralExpr
596
- (slStringLiteralPart))
597
- (intLiteralExpr)))))
598
- (objectElement
599
- (subscriptExpr
600
- (parenthesizedExpr
601
- (typeCastExpr
602
- (unqualifiedAccessExpr
603
- (identifier))
604
- (declaredType
605
- (qualifiedIdentifier
606
- (identifier))
607
- (typeArgumentList
608
- (declaredType
609
- (qualifiedIdentifier
610
- (identifier)))
611
- (declaredType
612
- (qualifiedIdentifier
613
- (identifier)))))))
614
- (slStringLiteralExpr
615
- (slStringLiteralPart))))
616
- (objectElement
617
- (subscriptExpr
618
- (parenthesizedExpr
619
- (typeCastExpr
620
- (unqualifiedAccessExpr
621
- (identifier))
622
- (declaredType
623
- (qualifiedIdentifier
624
- (identifier))
625
- (typeArgumentList
626
- (declaredType
627
- (qualifiedIdentifier
628
- (identifier)))
629
- (declaredType
630
- (qualifiedIdentifier
631
- (identifier)))))))
632
- (slStringLiteralExpr
633
- (slStringLiteralPart))))
634
- (objectElement
635
- (subscriptExpr
636
- (parenthesizedExpr
637
- (typeCastExpr
638
- (unqualifiedAccessExpr
639
- (identifier))
640
- (declaredType
641
- (qualifiedIdentifier
642
- (identifier))
643
- (typeArgumentList
644
- (declaredType
645
- (qualifiedIdentifier
646
- (identifier)))
647
- (declaredType
648
- (qualifiedIdentifier
649
- (identifier)))))))
650
- (slStringLiteralExpr
651
- (slStringLiteralPart))))
652
- (objectElement
653
- (subscriptExpr
654
- (parenthesizedExpr
655
- (typeCastExpr
656
- (unqualifiedAccessExpr
657
- (identifier))
658
- (declaredType
659
- (qualifiedIdentifier
660
- (identifier))
661
- (typeArgumentList
662
- (declaredType
663
- (qualifiedIdentifier
664
- (identifier)))
665
- (declaredType
666
- (qualifiedIdentifier
667
- (identifier)))))))
668
- (slStringLiteralExpr
669
- (slStringLiteralPart))))
670
- (objectElement
671
- (subscriptExpr
672
- (parenthesizedExpr
673
- (typeCastExpr
674
- (unqualifiedAccessExpr
675
- (identifier))
676
- (declaredType
677
- (qualifiedIdentifier
678
- (identifier))
679
- (typeArgumentList
680
- (declaredType
681
- (qualifiedIdentifier
682
- (identifier)))
683
- (declaredType
684
- (qualifiedIdentifier
685
- (identifier)))))))
686
- (slStringLiteralExpr
687
- (slStringLiteralPart))))
688
- (objectElement
689
- (subscriptExpr
690
- (parenthesizedExpr
691
- (typeCastExpr
692
- (unqualifiedAccessExpr
693
- (identifier))
694
- (declaredType
695
- (qualifiedIdentifier
696
- (identifier))
697
- (typeArgumentList
698
- (declaredType
699
- (qualifiedIdentifier
700
- (identifier)))
701
- (declaredType
702
- (qualifiedIdentifier
703
- (identifier)))))))
704
- (slStringLiteralExpr
705
- (slStringLiteralPart))))
706
- (objectElement
707
- (qualifiedAccessExpr
708
- (moduleExpr)
709
- (identifier)
710
- (argumentList
711
- (functionLiteralExpr
712
- (parameterList)
713
- (subscriptExpr
714
- (parenthesizedExpr
715
- (typeCastExpr
716
- (unqualifiedAccessExpr
717
- (identifier))
718
- (declaredType
719
- (qualifiedIdentifier
720
- (identifier))
721
- (typeArgumentList
722
- (declaredType
723
- (qualifiedIdentifier
724
- (identifier)))
725
- (declaredType
726
- (qualifiedIdentifier
727
- (identifier)))))))
728
- (slStringLiteralExpr
729
- (slStringLiteralPart)))))))
730
- (objectElement
731
- (qualifiedAccessExpr
732
- (moduleExpr)
733
- (identifier)
734
- (argumentList
735
- (functionLiteralExpr
736
- (parameterList)
737
- (subscriptExpr
738
- (parenthesizedExpr
739
- (typeCastExpr
740
- (unqualifiedAccessExpr
741
- (identifier))
742
- (declaredType
743
- (qualifiedIdentifier
744
- (identifier))
745
- (typeArgumentList
746
- (declaredType
747
- (qualifiedIdentifier
748
- (identifier)))
749
- (declaredType
750
- (qualifiedIdentifier
751
- (identifier)))))))
752
- (slStringLiteralExpr
753
- (slStringLiteralPart)))))))))
754
- (objectEntry
755
- (slStringLiteralExpr
756
- (slStringLiteralPart))
757
- (objectBody
758
- (objectElement
759
- (typeCastExpr
760
- (intLiteralExpr)
761
- (unionType
762
- (declaredType
763
- (qualifiedIdentifier
764
- (identifier)))
765
- (declaredType
766
- (qualifiedIdentifier
767
- (identifier))))))
768
- (objectElement
769
- (typeCastExpr
770
- (intLiteralExpr)
771
- (unionType
772
- (declaredType
773
- (qualifiedIdentifier
774
- (identifier)))
775
- (declaredType
776
- (qualifiedIdentifier
777
- (identifier))))))
778
- (objectElement
779
- (typeCastExpr
780
- (intLiteralExpr)
781
- (unionType
782
- (declaredType
783
- (qualifiedIdentifier
784
- (identifier)))
785
- (declaredType
786
- (qualifiedIdentifier
787
- (identifier))))))
788
- (objectElement
789
- (qualifiedAccessExpr
790
- (moduleExpr)
791
- (identifier)
792
- (argumentList
793
- (functionLiteralExpr
794
- (parameterList)
795
- (typeCastExpr
796
- (intLiteralExpr)
797
- (unionType
798
- (declaredType
799
- (qualifiedIdentifier
800
- (identifier)))
801
- (declaredType
802
- (qualifiedIdentifier
803
- (identifier)))))))))
804
- (objectElement
805
- (typeCastExpr
806
- (unqualifiedAccessExpr
807
- (identifier)
808
- (argumentList
809
- (intLiteralExpr)
810
- (intLiteralExpr)
811
- (intLiteralExpr)))
812
- (unionType
813
- (declaredType
814
- (qualifiedIdentifier
815
- (identifier))
816
- (typeArgumentList
817
- (declaredType
818
- (qualifiedIdentifier
819
- (identifier)))))
820
- (declaredType
821
- (qualifiedIdentifier
822
- (identifier))
823
- (typeArgumentList
824
- (declaredType
825
- (qualifiedIdentifier
826
- (identifier))))))))
827
- (objectElement
828
- (typeCastExpr
829
- (unqualifiedAccessExpr
830
- (identifier)
831
- (argumentList
832
- (intLiteralExpr)
833
- (intLiteralExpr)
834
- (intLiteralExpr)))
835
- (declaredType
836
- (qualifiedIdentifier
837
- (identifier))
838
- (typeArgumentList
839
- (unionType
840
- (declaredType
841
- (qualifiedIdentifier
842
- (identifier)))
843
- (declaredType
844
- (qualifiedIdentifier
845
- (identifier))))))))
846
- (objectElement
847
- (qualifiedAccessExpr
848
- (moduleExpr)
849
- (identifier)
850
- (argumentList
851
- (functionLiteralExpr
852
- (parameterList)
853
- (typeCastExpr
854
- (unqualifiedAccessExpr
855
- (identifier)
856
- (argumentList
857
- (intLiteralExpr)
858
- (intLiteralExpr)
859
- (intLiteralExpr)))
860
- (unionType
861
- (declaredType
862
- (qualifiedIdentifier
863
- (identifier))
864
- (typeArgumentList
865
- (declaredType
866
- (qualifiedIdentifier
867
- (identifier)))))
868
- (declaredType
869
- (qualifiedIdentifier
870
- (identifier))
871
- (typeArgumentList
872
- (declaredType
873
- (qualifiedIdentifier
874
- (identifier)))))))))))))
875
- (objectEntry
876
- (slStringLiteralExpr
877
- (slStringLiteralPart))
878
- (objectBody
879
- (objectElement
880
- (typeCastExpr
881
- (nullLiteralExpr)
882
- (nullableType
883
- (declaredType
884
- (qualifiedIdentifier
885
- (identifier))))))
886
- (objectElement
887
- (typeCastExpr
888
- (nullLiteralExpr)
889
- (nullableType
890
- (declaredType
891
- (qualifiedIdentifier
892
- (identifier))
893
- (typeArgumentList
894
- (declaredType
895
- (qualifiedIdentifier
896
- (identifier)))
897
- (declaredType
898
- (qualifiedIdentifier
899
- (identifier))))))))
900
- (objectElement
901
- (qualifiedAccessExpr
902
- (moduleExpr)
903
- (identifier)
904
- (argumentList
905
- (functionLiteralExpr
906
- (parameterList)
907
- (typeCastExpr
908
- (nullLiteralExpr)
909
- (declaredType
910
- (qualifiedIdentifier
911
- (identifier))
912
- (typeArgumentList
913
- (declaredType
914
- (qualifiedIdentifier
915
- (identifier)))
916
- (nullableType
917
- (declaredType
918
- (qualifiedIdentifier
919
- (identifier)))))))))))))
920
- (objectEntry
921
- (slStringLiteralExpr
922
- (slStringLiteralPart))
923
- (objectBody
924
- (objectElement
925
- (qualifiedAccessExpr
926
- (parenthesizedExpr
927
- (typeCastExpr
928
- (parenthesizedExpr
929
- (functionLiteralExpr
930
- (parameterList
931
- (typedIdentifier
932
- (identifier)))
933
- (unqualifiedAccessExpr
934
- (identifier))))
935
- (functionLiteralType
936
- (declaredType
937
- (qualifiedIdentifier
938
- (identifier)))
939
- (declaredType
940
- (qualifiedIdentifier
941
- (identifier))))))
942
- (identifier)
943
- (argumentList
944
- (intLiteralExpr))))
945
- (objectElement
946
- (qualifiedAccessExpr
947
- (parenthesizedExpr
948
- (typeCastExpr
949
- (parenthesizedExpr
950
- (functionLiteralExpr
951
- (parameterList
952
- (typedIdentifier
953
- (identifier)))
954
- (unqualifiedAccessExpr
955
- (identifier))))
956
- (functionLiteralType
957
- (declaredType
958
- (qualifiedIdentifier
959
- (identifier)))
960
- (declaredType
961
- (qualifiedIdentifier
962
- (identifier))))))
963
- (identifier)
964
- (argumentList
965
- (intLiteralExpr))))
966
- (objectElement
967
- (qualifiedAccessExpr
968
- (moduleExpr)
969
- (identifier)
970
- (argumentList
971
- (functionLiteralExpr
972
- (parameterList)
973
- (typeCastExpr
974
- (parenthesizedExpr
975
- (functionLiteralExpr
976
- (parameterList
977
- (typedIdentifier
978
- (identifier))
979
- (blankIdentifier))
980
- (unqualifiedAccessExpr
981
- (identifier))))
982
- (functionLiteralType
983
- (declaredType
984
- (qualifiedIdentifier
985
- (identifier)))
986
- (declaredType
987
- (qualifiedIdentifier
988
- (identifier)))))))))))
989
- (objectEntry
990
- (slStringLiteralExpr
991
- (slStringLiteralPart))
992
- (objectBody
993
- (objectElement
994
- (typeCastExpr
995
- (slStringLiteralExpr
996
- (slStringLiteralPart))
997
- (unionType
998
- (stringLiteralType
999
- (stringConstant
1000
- (slStringLiteralPart)))
1001
- (stringLiteralType
1002
- (stringConstant
1003
- (slStringLiteralPart))))))
1004
- (objectElement
1005
- (qualifiedAccessExpr
1006
- (moduleExpr)
1007
- (identifier)
1008
- (argumentList
1009
- (functionLiteralExpr
1010
- (parameterList)
1011
- (typeCastExpr
1012
- (slStringLiteralExpr
1013
- (slStringLiteralPart))
1014
- (unionType
1015
- (stringLiteralType
1016
- (stringConstant
1017
- (slStringLiteralPart)))
1018
- (stringLiteralType
1019
- (stringConstant
1020
- (slStringLiteralPart)))))))))))
1021
- (objectEntry
1022
- (slStringLiteralExpr
1023
- (slStringLiteralPart))
1024
- (objectBody
1025
- (objectElement
1026
- (typeCastExpr
1027
- (slStringLiteralExpr
1028
- (slStringLiteralPart))
1029
- (constrainedType
1030
- (declaredType
1031
- (qualifiedIdentifier
1032
- (identifier)))
1033
- (equalityExpr
1034
- (unqualifiedAccessExpr
1035
- (identifier))
1036
- (intLiteralExpr)))))
1037
- (objectElement
1038
- (qualifiedAccessExpr
1039
- (moduleExpr)
1040
- (identifier)
1041
- (argumentList
1042
- (functionLiteralExpr
1043
- (parameterList)
1044
- (typeCastExpr
1045
- (slStringLiteralExpr
1046
- (slStringLiteralPart))
1047
- (constrainedType
1048
- (declaredType
1049
- (qualifiedIdentifier
1050
- (identifier)))
1051
- (equalityExpr
1052
- (unqualifiedAccessExpr
1053
- (identifier))
1054
- (intLiteralExpr))))))))
1055
- (objectElement
1056
- (typeCastExpr
1057
- (unqualifiedAccessExpr
1058
- (identifier)
1059
- (argumentList
1060
- (slStringLiteralExpr
1061
- (slStringLiteralPart))
1062
- (slStringLiteralExpr
1063
- (slStringLiteralPart))
1064
- (slStringLiteralExpr
1065
- (slStringLiteralPart))))
1066
- (declaredType
1067
- (qualifiedIdentifier
1068
- (identifier))
1069
- (typeArgumentList
1070
- (constrainedType
1071
- (declaredType
1072
- (qualifiedIdentifier
1073
- (identifier)))
1074
- (equalityExpr
1075
- (unqualifiedAccessExpr
1076
- (identifier))
1077
- (intLiteralExpr))))))))))))