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