@apple/tree-sitter-pkl 0.17.0 → 0.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (699) hide show
  1. package/.editorconfig +46 -0
  2. package/.gitattributes +50 -0
  3. package/CHANGELOG.adoc +56 -0
  4. package/CMakeLists.txt +66 -0
  5. package/Cargo.lock +21 -21
  6. package/Cargo.toml +1 -1
  7. package/Makefile +97 -0
  8. package/README.md +11 -13
  9. package/bindings/c/tree-sitter-pkl.pc.in +10 -0
  10. package/bindings/c/tree_sitter/tree-sitter-pkl.h +16 -0
  11. package/bindings/go/binding.go +15 -0
  12. package/bindings/go/binding_test.go +15 -0
  13. package/bindings/node/binding_test.js +9 -0
  14. package/bindings/node/index.d.ts +27 -0
  15. package/bindings/python/tests/test_binding.py +12 -0
  16. package/bindings/python/tree_sitter_pkl/__init__.py +42 -0
  17. package/bindings/python/tree_sitter_pkl/__init__.pyi +10 -0
  18. package/bindings/python/tree_sitter_pkl/binding.c +35 -0
  19. package/bindings/python/tree_sitter_pkl/py.typed +0 -0
  20. package/bindings/swift/TreeSitterPklTests/TreeSitterPklTests.swift +12 -0
  21. package/go.mod +7 -0
  22. package/go.sum +36 -0
  23. package/gradle.properties +5 -0
  24. package/gradlew +251 -0
  25. package/gradlew.bat +94 -0
  26. package/grammar.js +225 -195
  27. package/licenserc.toml +23 -0
  28. package/package.json +3 -2
  29. package/pyproject.toml +29 -0
  30. package/queries/highlights.scm +11 -16
  31. package/queries/injections.scm +1 -1
  32. package/queries/locals.scm +2 -2
  33. package/scripts/license-header.txt +13 -0
  34. package/setup.py +77 -0
  35. package/src/grammar.json +939 -883
  36. package/src/node-types.json +4392 -2028
  37. package/src/parser.c +30848 -34740
  38. package/src/scanner.c +43 -7
  39. package/src/tree_sitter/alloc.h +4 -4
  40. package/src/tree_sitter/array.h +2 -1
  41. package/src/tree_sitter/parser.h +29 -7
  42. package/test/corpus/basic/annotation.txt +28 -30
  43. package/test/corpus/basic/comments.txt +5 -5
  44. package/test/corpus/basic/shebangComment.txt +1 -1
  45. package/test/corpus/basic/types.txt +86 -131
  46. package/test/corpus/class/constModifier.txt +4 -5
  47. package/test/corpus/class/fixedModifier.txt +4 -5
  48. package/test/corpus/expr/binary.txt +75 -77
  49. package/test/corpus/expr/binary2.txt +18 -0
  50. package/test/corpus/expr/functionLiteral.txt +7 -8
  51. package/test/corpus/expr/if.txt +3 -3
  52. package/test/corpus/expr/import.txt +1 -1
  53. package/test/corpus/expr/let.txt +2 -2
  54. package/test/corpus/expr/new.txt +8 -10
  55. package/test/corpus/expr/qualifiedAccess.txt +34 -27
  56. package/test/corpus/expr/read.txt +8 -11
  57. package/test/corpus/expr/subscript.txt +48 -0
  58. package/test/corpus/expr/super.txt +27 -0
  59. package/test/corpus/expr/throw.txt +2 -3
  60. package/test/corpus/expr/trace.txt +2 -3
  61. package/test/corpus/expr/typeTest.txt +40 -0
  62. package/test/corpus/expr/unaryMinus.txt +22 -0
  63. package/test/corpus/module/moduleHeader1.txt +1 -1
  64. package/test/corpus/module/moduleHeader2.txt +1 -1
  65. package/test/corpus/module/moduleHeader3.error.txt +5 -5
  66. package/test/corpus/module/moduleHeader4.txt +1 -1
  67. package/test/corpus/number/underscores.txt +25 -25
  68. package/test/corpus/object/mixedEntriesAndElements.txt +52 -0
  69. package/test/corpus/object/objectAmendChain.txt +4 -4
  70. package/test/corpus/object/objectBodyParams.txt +21 -0
  71. package/test/corpus/object/objectElementWithTypeConstraint +30 -0
  72. package/test/corpus/object/objectElementsWithParens.txt +10 -10
  73. package/test/corpus/object/objectElementsWithTypeParams +65 -0
  74. package/test/corpus/object/objectGenerator.txt +8 -8
  75. package/test/corpus/object/objectMember.txt +27 -27
  76. package/test/corpus/object/objectMemberPredicate.txt +14 -14
  77. package/test/corpus/object/objectSpread.txt +8 -8
  78. package/test/corpus/object/objectWhenGenerator.txt +10 -10
  79. package/test/corpus/snippetTests/annotation/annotation1.txt +284 -0
  80. package/test/corpus/snippetTests/annotation/annotation2.txt +20 -0
  81. package/test/corpus/snippetTests/annotation/annotation3.txt +24 -0
  82. package/test/corpus/snippetTests/annotation/annotation4.txt +32 -0
  83. package/test/corpus/snippetTests/annotation/annotation5.txt +28 -0
  84. package/test/corpus/snippetTests/annotation/annotation6.txt +19 -0
  85. package/test/corpus/snippetTests/annotation/annotationIsNotExpression.txt +29 -0
  86. package/test/corpus/snippetTests/annotation/deprecated1.txt +385 -0
  87. package/test/corpus/snippetTests/annotation/deprecated2.txt +99 -0
  88. package/test/corpus/snippetTests/annotation/deprecated3.txt +155 -0
  89. package/test/corpus/snippetTests/annotation/deprecatedNoRepeatedWarnings.txt +58 -0
  90. package/test/corpus/snippetTests/annotation/deprecatedWithMessage1.txt +405 -0
  91. package/test/corpus/snippetTests/annotation/deprecatedWithMessage2.txt +104 -0
  92. package/test/corpus/snippetTests/annotation/deprecatedWithMessage3.txt +155 -0
  93. package/test/corpus/snippetTests/annotation/deprecationSuperMethod.txt +144 -0
  94. package/test/corpus/snippetTests/api/Resource.txt +128 -0
  95. package/test/corpus/snippetTests/api/analyze1.txt +176 -0
  96. package/test/corpus/snippetTests/api/any.txt +523 -0
  97. package/test/corpus/snippetTests/api/anyConverter.txt +161 -0
  98. package/test/corpus/snippetTests/api/baseModule.txt +170 -0
  99. package/test/corpus/snippetTests/api/dataSize.txt +1165 -0
  100. package/test/corpus/snippetTests/api/duration.txt +800 -0
  101. package/test/corpus/snippetTests/api/float.txt +1334 -0
  102. package/test/corpus/snippetTests/api/int.txt +1142 -0
  103. package/test/corpus/snippetTests/api/intseq.txt +1021 -0
  104. package/test/corpus/snippetTests/api/jsonParser1.txt +279 -0
  105. package/test/corpus/snippetTests/api/jsonParser2.txt +294 -0
  106. package/test/corpus/snippetTests/api/jsonParser3.txt +143 -0
  107. package/test/corpus/snippetTests/api/jsonParser4.txt +112 -0
  108. package/test/corpus/snippetTests/api/jsonParser5.txt +171 -0
  109. package/test/corpus/snippetTests/api/jsonRenderer1.json.txt +41 -0
  110. package/test/corpus/snippetTests/api/jsonRenderer2b.txt +300 -0
  111. package/test/corpus/snippetTests/api/jsonRenderer3.json.txt +334 -0
  112. package/test/corpus/snippetTests/api/jsonRenderer4.txt +388 -0
  113. package/test/corpus/snippetTests/api/jsonRenderer5.txt +388 -0
  114. package/test/corpus/snippetTests/api/jsonRenderer6.json.txt +163 -0
  115. package/test/corpus/snippetTests/api/jsonRenderer7.txt +53 -0
  116. package/test/corpus/snippetTests/api/jsonRenderer8.txt +30 -0
  117. package/test/corpus/snippetTests/api/jsonRendererEmptyComposites.txt +114 -0
  118. package/test/corpus/snippetTests/api/jsonnetRenderer3.jsonnet.txt +356 -0
  119. package/test/corpus/snippetTests/api/jsonnetRenderer4.txt +393 -0
  120. package/test/corpus/snippetTests/api/jsonnetRenderer5.txt +393 -0
  121. package/test/corpus/snippetTests/api/jsonnetRenderer6.jsonnet.txt +169 -0
  122. package/test/corpus/snippetTests/api/jsonnetRenderer7.txt +36 -0
  123. package/test/corpus/snippetTests/api/list.txt +4432 -0
  124. package/test/corpus/snippetTests/api/listNullable.txt +1513 -0
  125. package/test/corpus/snippetTests/api/map.txt +1144 -0
  126. package/test/corpus/snippetTests/api/mapping.txt +948 -0
  127. package/test/corpus/snippetTests/api/mathModule.txt +1426 -0
  128. package/test/corpus/snippetTests/api/module.txt +77 -0
  129. package/test/corpus/snippetTests/api/moduleOutput.txt +24 -0
  130. package/test/corpus/snippetTests/api/moduleOutput2.txt +25 -0
  131. package/test/corpus/snippetTests/api/pListRenderer1.plist.txt +41 -0
  132. package/test/corpus/snippetTests/api/pListRenderer3.plist.txt +348 -0
  133. package/test/corpus/snippetTests/api/pListRenderer4.txt +375 -0
  134. package/test/corpus/snippetTests/api/pListRenderer5.txt +424 -0
  135. package/test/corpus/snippetTests/api/pListRenderer6.plist.txt +163 -0
  136. package/test/corpus/snippetTests/api/pListRenderer7.txt +30 -0
  137. package/test/corpus/snippetTests/api/pair.txt +170 -0
  138. package/test/corpus/snippetTests/api/pcfRenderer1.txt +95 -0
  139. package/test/corpus/snippetTests/api/pcfRenderer2b.txt +301 -0
  140. package/test/corpus/snippetTests/api/pcfRenderer3.txt +350 -0
  141. package/test/corpus/snippetTests/api/pcfRenderer4.txt +391 -0
  142. package/test/corpus/snippetTests/api/pcfRenderer5.txt +460 -0
  143. package/test/corpus/snippetTests/api/pcfRenderer6.txt +118 -0
  144. package/test/corpus/snippetTests/api/pcfRenderer8.txt +16 -0
  145. package/test/corpus/snippetTests/api/platformModule.txt +147 -0
  146. package/test/corpus/snippetTests/api/plistRenderer2b.txt +300 -0
  147. package/test/corpus/snippetTests/api/propertiesRenderer1.properties.txt +41 -0
  148. package/test/corpus/snippetTests/api/propertiesRenderer10.properties.txt +24 -0
  149. package/test/corpus/snippetTests/api/propertiesRenderer11.txt +30 -0
  150. package/test/corpus/snippetTests/api/propertiesRenderer2b.txt +303 -0
  151. package/test/corpus/snippetTests/api/propertiesRenderer4.txt +484 -0
  152. package/test/corpus/snippetTests/api/propertiesRenderer5.txt +491 -0
  153. package/test/corpus/snippetTests/api/propertiesRenderer8.properties.txt +628 -0
  154. package/test/corpus/snippetTests/api/propertiesRenderer9.properties.txt +292 -0
  155. package/test/corpus/snippetTests/api/propertiesRendererBug66849708.properties.txt +106 -0
  156. package/test/corpus/snippetTests/api/protobuf2.txt +408 -0
  157. package/test/corpus/snippetTests/api/reflect1.txt +1686 -0
  158. package/test/corpus/snippetTests/api/reflect2.txt +480 -0
  159. package/test/corpus/snippetTests/api/reflect3.txt +193 -0
  160. package/test/corpus/snippetTests/api/reflectedDeclaration.txt +64 -0
  161. package/test/corpus/snippetTests/api/regex.txt +320 -0
  162. package/test/corpus/snippetTests/api/releaseModule.txt +262 -0
  163. package/test/corpus/snippetTests/api/renderDirective2.txt +374 -0
  164. package/test/corpus/snippetTests/api/semverModule.txt +2224 -0
  165. package/test/corpus/snippetTests/api/set.txt +3891 -0
  166. package/test/corpus/snippetTests/api/setNullable.txt +1113 -0
  167. package/test/corpus/snippetTests/api/typeAliases.txt +449 -0
  168. package/test/corpus/snippetTests/api/typeConverters.txt +211 -0
  169. package/test/corpus/snippetTests/api/xmlRenderer1.xml.txt +174 -0
  170. package/test/corpus/snippetTests/api/xmlRenderer2b.txt +306 -0
  171. package/test/corpus/snippetTests/api/xmlRenderer3.xml.txt +320 -0
  172. package/test/corpus/snippetTests/api/xmlRenderer4.txt +401 -0
  173. package/test/corpus/snippetTests/api/xmlRenderer5.txt +402 -0
  174. package/test/corpus/snippetTests/api/xmlRenderer6.xml.txt +169 -0
  175. package/test/corpus/snippetTests/api/xmlRenderer8.txt +36 -0
  176. package/test/corpus/snippetTests/api/xmlRendererCData.xml.txt +48 -0
  177. package/test/corpus/snippetTests/api/xmlRendererElement.xml.txt +103 -0
  178. package/test/corpus/snippetTests/api/xmlRendererHtml.xml.txt +212 -0
  179. package/test/corpus/snippetTests/api/xmlRendererInline.xml.txt +175 -0
  180. package/test/corpus/snippetTests/api/xmlRendererInline3.xml.txt +152 -0
  181. package/test/corpus/snippetTests/api/yamlParser1Yaml11.txt +22 -0
  182. package/test/corpus/snippetTests/api/yamlParser1Yaml12.txt +22 -0
  183. package/test/corpus/snippetTests/api/yamlParser2.txt +253 -0
  184. package/test/corpus/snippetTests/api/yamlParser3.txt +194 -0
  185. package/test/corpus/snippetTests/api/yamlParser4.txt +198 -0
  186. package/test/corpus/snippetTests/api/yamlParser5.txt +86 -0
  187. package/test/corpus/snippetTests/api/yamlParser6.txt +92 -0
  188. package/test/corpus/snippetTests/api/yamlRenderer1.yml.txt +41 -0
  189. package/test/corpus/snippetTests/api/yamlRenderer2b.txt +300 -0
  190. package/test/corpus/snippetTests/api/yamlRenderer3.yml.txt +342 -0
  191. package/test/corpus/snippetTests/api/yamlRenderer4.txt +441 -0
  192. package/test/corpus/snippetTests/api/yamlRenderer5.txt +441 -0
  193. package/test/corpus/snippetTests/api/yamlRenderer6.yml.txt +163 -0
  194. package/test/corpus/snippetTests/api/yamlRenderer7.txt +30 -0
  195. package/test/corpus/snippetTests/api/yamlRenderer8.yml.txt +142 -0
  196. package/test/corpus/snippetTests/api/yamlRendererBug66849708.yml.txt +106 -0
  197. package/test/corpus/snippetTests/api/yamlRendererEmpty.yml.txt +326 -0
  198. package/test/corpus/snippetTests/api/yamlRendererIndentationWidth2.yml.txt +227 -0
  199. package/test/corpus/snippetTests/api/yamlRendererIndentationWidth4.yml.txt +32 -0
  200. package/test/corpus/snippetTests/api/yamlRendererIndentationWidth5.yml.txt +32 -0
  201. package/test/corpus/snippetTests/api/yamlRendererStream1.txt +140 -0
  202. package/test/corpus/snippetTests/api/yamlRendererStringsYaml11.txt +22 -0
  203. package/test/corpus/snippetTests/api/yamlRendererStringsYaml12.txt +22 -0
  204. package/test/corpus/snippetTests/basic/amendsChains.txt +275 -0
  205. package/test/corpus/snippetTests/basic/as.txt +1468 -0
  206. package/test/corpus/snippetTests/basic/as2.txt +1077 -0
  207. package/test/corpus/snippetTests/basic/as3.txt +297 -0
  208. package/test/corpus/snippetTests/basic/baseModule.txt +11 -0
  209. package/test/corpus/snippetTests/basic/boolean.txt +430 -0
  210. package/test/corpus/snippetTests/basic/constModifier.txt +324 -0
  211. package/test/corpus/snippetTests/basic/constModifier2.txt +227 -0
  212. package/test/corpus/snippetTests/basic/constModifier3.txt +136 -0
  213. package/test/corpus/snippetTests/basic/constModifier4.txt +64 -0
  214. package/test/corpus/snippetTests/basic/constModifier5.txt +68 -0
  215. package/test/corpus/snippetTests/basic/dataSize.txt +658 -0
  216. package/test/corpus/snippetTests/basic/duration.txt +618 -0
  217. package/test/corpus/snippetTests/basic/exceptions.txt +18 -0
  218. package/test/corpus/snippetTests/basic/fixedProperty1.txt +62 -0
  219. package/test/corpus/snippetTests/basic/fixedProperty2.txt +33 -0
  220. package/test/corpus/snippetTests/basic/fixedProperty3.txt +31 -0
  221. package/test/corpus/snippetTests/basic/fixedProperty4.txt +15 -0
  222. package/test/corpus/snippetTests/basic/fixedProperty5.txt +20 -0
  223. package/test/corpus/snippetTests/basic/fixedProperty6.txt +15 -0
  224. package/test/corpus/snippetTests/basic/if.txt +83 -0
  225. package/test/corpus/snippetTests/basic/import1.txt +51 -0
  226. package/test/corpus/snippetTests/basic/import1b.txt +51 -0
  227. package/test/corpus/snippetTests/basic/import2.txt +34 -0
  228. package/test/corpus/snippetTests/basic/import3.txt +34 -0
  229. package/test/corpus/snippetTests/basic/imported.txt +19 -0
  230. package/test/corpus/snippetTests/basic/indexExpressions.txt +53 -0
  231. package/test/corpus/snippetTests/basic/intseq.txt +365 -0
  232. package/test/corpus/snippetTests/basic/is.txt +1504 -0
  233. package/test/corpus/snippetTests/basic/is2.txt +677 -0
  234. package/test/corpus/snippetTests/basic/let.txt +515 -0
  235. package/test/corpus/snippetTests/basic/letTyped.txt +293 -0
  236. package/test/corpus/snippetTests/basic/list.txt +252 -0
  237. package/test/corpus/snippetTests/basic/localMethodDynamicBinding.txt +187 -0
  238. package/test/corpus/snippetTests/basic/localMethodInAmendingModule.txt +216 -0
  239. package/test/corpus/snippetTests/basic/localMethodOverride1.txt +152 -0
  240. package/test/corpus/snippetTests/basic/localMethodOverride2.txt +173 -0
  241. package/test/corpus/snippetTests/basic/localMethodTyped.txt +564 -0
  242. package/test/corpus/snippetTests/basic/localMethodTyped2.txt +580 -0
  243. package/test/corpus/snippetTests/basic/localMethodTyped3.txt +218 -0
  244. package/test/corpus/snippetTests/basic/localMethodTyped4.txt +232 -0
  245. package/test/corpus/snippetTests/basic/localMethodTyped5.txt +211 -0
  246. package/test/corpus/snippetTests/basic/localMethodTyped6.txt +225 -0
  247. package/test/corpus/snippetTests/basic/localMethodUntyped.txt +488 -0
  248. package/test/corpus/snippetTests/basic/localModuleMemberOverride1.txt +227 -0
  249. package/test/corpus/snippetTests/basic/localModuleMemberOverride2.txt +202 -0
  250. package/test/corpus/snippetTests/basic/localProperty1.txt +33 -0
  251. package/test/corpus/snippetTests/basic/localProperty2.txt +77 -0
  252. package/test/corpus/snippetTests/basic/localPropertyAmendInAmendingModule.txt +25 -0
  253. package/test/corpus/snippetTests/basic/localPropertyInAmendingModule.txt +205 -0
  254. package/test/corpus/snippetTests/basic/localPropertyOverride1.txt +131 -0
  255. package/test/corpus/snippetTests/basic/localPropertyOverride2.txt +152 -0
  256. package/test/corpus/snippetTests/basic/localPropertyOverride3.txt +52 -0
  257. package/test/corpus/snippetTests/basic/localTypedClassMember.txt +277 -0
  258. package/test/corpus/snippetTests/basic/localTypedModuleMember.txt +265 -0
  259. package/test/corpus/snippetTests/basic/localTypedObjectMember.txt +268 -0
  260. package/test/corpus/snippetTests/basic/map.txt +398 -0
  261. package/test/corpus/snippetTests/basic/minPklVersion.txt +40 -0
  262. package/test/corpus/snippetTests/basic/moduleRef1.txt +108 -0
  263. package/test/corpus/snippetTests/basic/moduleRef2.txt +80 -0
  264. package/test/corpus/snippetTests/basic/moduleRef3.txt +112 -0
  265. package/test/corpus/snippetTests/basic/moduleRefLibrary.txt +33 -0
  266. package/test/corpus/snippetTests/basic/new.txt +1028 -0
  267. package/test/corpus/snippetTests/basic/newInAmendingModuleMethod.txt +116 -0
  268. package/test/corpus/snippetTests/basic/newInsideIf.txt +841 -0
  269. package/test/corpus/snippetTests/basic/newInsideLet.txt +869 -0
  270. package/test/corpus/snippetTests/basic/newType.txt +686 -0
  271. package/test/corpus/snippetTests/basic/nonNull.txt +131 -0
  272. package/test/corpus/snippetTests/basic/nullable.txt +239 -0
  273. package/test/corpus/snippetTests/basic/objectMember.txt +129 -0
  274. package/test/corpus/snippetTests/basic/objectMemberInvalid.txt +18 -0
  275. package/test/corpus/snippetTests/basic/objectMemberInvalid2.txt +18 -0
  276. package/test/corpus/snippetTests/basic/objectMemberInvalid3.txt +22 -0
  277. package/test/corpus/snippetTests/basic/parens.txt +59 -0
  278. package/test/corpus/snippetTests/basic/propertyDefaults.txt +126 -0
  279. package/test/corpus/snippetTests/basic/read.txt +250 -0
  280. package/test/corpus/snippetTests/basic/readGlob.txt +209 -0
  281. package/test/corpus/snippetTests/basic/semicolon.txt +18 -0
  282. package/test/corpus/snippetTests/basic/set.txt +340 -0
  283. package/test/corpus/snippetTests/basic/trace.txt +130 -0
  284. package/test/corpus/snippetTests/basic/typeResolution1.txt +31 -0
  285. package/test/corpus/snippetTests/basic/typeResolution2.txt +37 -0
  286. package/test/corpus/snippetTests/basic/typeResolution3.txt +63 -0
  287. package/test/corpus/snippetTests/basic/typeResolution4.txt +61 -0
  288. package/test/corpus/snippetTests/basic/underscore.txt +419 -0
  289. package/test/corpus/snippetTests/classes/class1.txt +54 -0
  290. package/test/corpus/snippetTests/classes/class2.txt +123 -0
  291. package/test/corpus/snippetTests/classes/class2a.txt +110 -0
  292. package/test/corpus/snippetTests/classes/class3.txt +65 -0
  293. package/test/corpus/snippetTests/classes/class4.txt +58 -0
  294. package/test/corpus/snippetTests/classes/constraints1.txt +141 -0
  295. package/test/corpus/snippetTests/classes/constraints11.txt +201 -0
  296. package/test/corpus/snippetTests/classes/constraints12.txt +204 -0
  297. package/test/corpus/snippetTests/classes/constraints13.txt +86 -0
  298. package/test/corpus/snippetTests/classes/constraints14.txt +39 -0
  299. package/test/corpus/snippetTests/classes/constraints2.txt +69 -0
  300. package/test/corpus/snippetTests/classes/constraints3.txt +97 -0
  301. package/test/corpus/snippetTests/classes/constraints4.txt +86 -0
  302. package/test/corpus/snippetTests/classes/constraints5.txt +71 -0
  303. package/test/corpus/snippetTests/classes/constraints6.txt +85 -0
  304. package/test/corpus/snippetTests/classes/constraints7.txt +148 -0
  305. package/test/corpus/snippetTests/classes/constraints8.txt +103 -0
  306. package/test/corpus/snippetTests/classes/constraints9.txt +92 -0
  307. package/test/corpus/snippetTests/classes/constraintsLambdaThis.txt +216 -0
  308. package/test/corpus/snippetTests/classes/equality.txt +123 -0
  309. package/test/corpus/snippetTests/classes/externalClass.txt +12 -0
  310. package/test/corpus/snippetTests/classes/externalFunction.txt +18 -0
  311. package/test/corpus/snippetTests/classes/externalProperty.txt +20 -0
  312. package/test/corpus/snippetTests/classes/functions1.txt +77 -0
  313. package/test/corpus/snippetTests/classes/functions2.txt +56 -0
  314. package/test/corpus/snippetTests/classes/functions3.txt +81 -0
  315. package/test/corpus/snippetTests/classes/functions4.txt +125 -0
  316. package/test/corpus/snippetTests/classes/inheritance1.txt +98 -0
  317. package/test/corpus/snippetTests/classes/inheritance2.txt +91 -0
  318. package/test/corpus/snippetTests/classes/invalidInstantiation1.txt +16 -0
  319. package/test/corpus/snippetTests/classes/invalidInstantiation2.txt +21 -0
  320. package/test/corpus/snippetTests/classes/lambdaConstraints1.txt +190 -0
  321. package/test/corpus/snippetTests/classes/listConstraints1.txt +312 -0
  322. package/test/corpus/snippetTests/classes/mapConstraints1.txt +495 -0
  323. package/test/corpus/snippetTests/classes/nullableTypes.txt +187 -0
  324. package/test/corpus/snippetTests/classes/setConstraints1.txt +312 -0
  325. package/test/corpus/snippetTests/classes/supercalls.txt +317 -0
  326. package/test/corpus/snippetTests/classes/unionTypes.txt +543 -0
  327. package/test/corpus/snippetTests/classes/unionTypesErrorAlias.txt +93 -0
  328. package/test/corpus/snippetTests/classes/unionTypesErrorDifferent1.txt +47 -0
  329. package/test/corpus/snippetTests/classes/unionTypesErrorDifferent2.txt +52 -0
  330. package/test/corpus/snippetTests/classes/unionTypesErrorMultipleAliases.txt +36 -0
  331. package/test/corpus/snippetTests/classes/unionTypesErrorNested.txt +99 -0
  332. package/test/corpus/snippetTests/classes/unionTypesErrorSimple.txt +42 -0
  333. package/test/corpus/snippetTests/classes/unionTypesErrorString1.txt +43 -0
  334. package/test/corpus/snippetTests/classes/unionTypesErrorString2.txt +85 -0
  335. package/test/corpus/snippetTests/classes/wrongType1.txt +34 -0
  336. package/test/corpus/snippetTests/classes/wrongType2.txt +47 -0
  337. package/test/corpus/snippetTests/classes/wrongType3.txt +71 -0
  338. package/test/corpus/snippetTests/classes/wrongType4.txt +77 -0
  339. package/test/corpus/snippetTests/classes/wrongType6.txt +43 -0
  340. package/test/corpus/snippetTests/errors/abstractOpenMember.txt +13 -0
  341. package/test/corpus/snippetTests/errors/analyzeImportsCannotFindModule.txt +41 -0
  342. package/test/corpus/snippetTests/errors/analyzeImportsInvalidGlob.txt +41 -0
  343. package/test/corpus/snippetTests/errors/analyzeInvalidHttpModule.txt +26 -0
  344. package/test/corpus/snippetTests/errors/analyzeInvalidModuleUri.txt +26 -0
  345. package/test/corpus/snippetTests/errors/analyzeRelativeModuleUri.txt +26 -0
  346. package/test/corpus/snippetTests/errors/anyConverterError.txt +56 -0
  347. package/test/corpus/snippetTests/errors/baseModule.txt +24 -0
  348. package/test/corpus/snippetTests/errors/cannotAmendFixedProperty1.txt +62 -0
  349. package/test/corpus/snippetTests/errors/cannotAmendFixedProperty2.txt +24 -0
  350. package/test/corpus/snippetTests/errors/cannotAssignFixedProperty1.txt +45 -0
  351. package/test/corpus/snippetTests/errors/cannotAssignFixedProperty2.txt +19 -0
  352. package/test/corpus/snippetTests/errors/cannotAssignFixedProperty3.txt +31 -0
  353. package/test/corpus/snippetTests/errors/cannotAssignToNothing.txt +15 -0
  354. package/test/corpus/snippetTests/errors/cannotChangeFixed1.txt +35 -0
  355. package/test/corpus/snippetTests/errors/cannotChangeFixed2.txt +35 -0
  356. package/test/corpus/snippetTests/errors/cannotFindMapKey.txt +39 -0
  357. package/test/corpus/snippetTests/errors/cannotFindStdLibModule.txt +20 -0
  358. package/test/corpus/snippetTests/errors/cannotInferParent2.txt +14 -0
  359. package/test/corpus/snippetTests/errors/cannotInferParent3.txt +48 -0
  360. package/test/corpus/snippetTests/errors/cannotInstantiateAbstractModule.txt +21 -0
  361. package/test/corpus/snippetTests/errors/cannotRenderMixin.txt +41 -0
  362. package/test/corpus/snippetTests/errors/classExtendsSelf.txt +27 -0
  363. package/test/corpus/snippetTests/errors/constraintDetails1.txt +80 -0
  364. package/test/corpus/snippetTests/errors/constraintDetails2.txt +77 -0
  365. package/test/corpus/snippetTests/errors/constraintDetails3.txt +87 -0
  366. package/test/corpus/snippetTests/errors/duplicateTypeParameter.txt +22 -0
  367. package/test/corpus/snippetTests/errors/extendExternalClass.txt +12 -0
  368. package/test/corpus/snippetTests/errors/extendTypeAlias.txt +33 -0
  369. package/test/corpus/snippetTests/errors/forGeneratorCannotGenerateMethods.txt +30 -0
  370. package/test/corpus/snippetTests/errors/forGeneratorCannotGenerateProperties.txt +28 -0
  371. package/test/corpus/snippetTests/errors/forGeneratorCannotIterateOverThisValue.txt +21 -0
  372. package/test/corpus/snippetTests/errors/forGeneratorCannotIterateOverTyped.txt +27 -0
  373. package/test/corpus/snippetTests/errors/forGeneratorDuplicateParams1.txt +38 -0
  374. package/test/corpus/snippetTests/errors/fullStackTraces.txt +64 -0
  375. package/test/corpus/snippetTests/errors/fullStackTraces2.txt +56 -0
  376. package/test/corpus/snippetTests/errors/functionNotFoundInClass.txt +35 -0
  377. package/test/corpus/snippetTests/errors/functionNotFoundInModule.txt +25 -0
  378. package/test/corpus/snippetTests/errors/functionNotFoundInScope.txt +38 -0
  379. package/test/corpus/snippetTests/errors/functionNotFoundMaybeLambda.txt +24 -0
  380. package/test/corpus/snippetTests/errors/functionNotFoundMaybeProperty.txt +18 -0
  381. package/test/corpus/snippetTests/errors/intrinsifiedTypeAlias1.txt +16 -0
  382. package/test/corpus/snippetTests/errors/intrinsifiedTypeAlias2.txt +16 -0
  383. package/test/corpus/snippetTests/errors/intrinsifiedTypeAlias3.txt +15 -0
  384. package/test/corpus/snippetTests/errors/intrinsifiedTypeAlias4.txt +15 -0
  385. package/test/corpus/snippetTests/errors/invalidClassMethodModifier.txt +29 -0
  386. package/test/corpus/snippetTests/errors/invalidClassModifier.txt +11 -0
  387. package/test/corpus/snippetTests/errors/invalidClassModifier2.txt +12 -0
  388. package/test/corpus/snippetTests/errors/invalidClassPropertyModifier.txt +31 -0
  389. package/test/corpus/snippetTests/errors/invalidGlobImport1.txt +19 -0
  390. package/test/corpus/snippetTests/errors/invalidGlobImport4.txt +19 -0
  391. package/test/corpus/snippetTests/errors/invalidGlobImport5.txt +20 -0
  392. package/test/corpus/snippetTests/errors/invalidGlobImport6.txt +14 -0
  393. package/test/corpus/snippetTests/errors/invalidGlobImport7.txt +21 -0
  394. package/test/corpus/snippetTests/errors/invalidGlobImport8.txt +22 -0
  395. package/test/corpus/snippetTests/errors/invalidGlobRead1.txt +14 -0
  396. package/test/corpus/snippetTests/errors/invalidGlobRead2.txt +14 -0
  397. package/test/corpus/snippetTests/errors/invalidGlobRead3.txt +14 -0
  398. package/test/corpus/snippetTests/errors/invalidImportBackslashSep.txt +14 -0
  399. package/test/corpus/snippetTests/errors/invalidImportUri.txt +19 -0
  400. package/test/corpus/snippetTests/errors/invalidMethodModifier.txt +14 -0
  401. package/test/corpus/snippetTests/errors/invalidModuleModifier.txt +20 -0
  402. package/test/corpus/snippetTests/errors/invalidObjectPropertyModifier.txt +17 -0
  403. package/test/corpus/snippetTests/errors/invalidOutput1.txt +17 -0
  404. package/test/corpus/snippetTests/errors/invalidOutput2.txt +22 -0
  405. package/test/corpus/snippetTests/errors/invalidOutput3.txt +12 -0
  406. package/test/corpus/snippetTests/errors/invalidPropertyModifier.txt +16 -0
  407. package/test/corpus/snippetTests/errors/invalidTripleDotSyntax1.txt +11 -0
  408. package/test/corpus/snippetTests/errors/invalidTripleDotSyntax2.txt +11 -0
  409. package/test/corpus/snippetTests/errors/invalidTypeAliasModifier.txt +14 -0
  410. package/test/corpus/snippetTests/errors/invalidTypeName1.txt +24 -0
  411. package/test/corpus/snippetTests/errors/invalidTypeName2.txt +31 -0
  412. package/test/corpus/snippetTests/errors/invalidTypeName3.txt +19 -0
  413. package/test/corpus/snippetTests/errors/invalidTypeName4.txt +24 -0
  414. package/test/corpus/snippetTests/errors/letExpressionError1.txt +24 -0
  415. package/test/corpus/snippetTests/errors/letExpressionError2.txt +27 -0
  416. package/test/corpus/snippetTests/errors/letExpressionErrorTyped.txt +27 -0
  417. package/test/corpus/snippetTests/errors/listingTypeCheckError1.txt +24 -0
  418. package/test/corpus/snippetTests/errors/listingTypeCheckError2.txt +30 -0
  419. package/test/corpus/snippetTests/errors/listingTypeCheckError3.txt +36 -0
  420. package/test/corpus/snippetTests/errors/listingTypeCheckError4.txt +43 -0
  421. package/test/corpus/snippetTests/errors/listingTypeCheckError5.txt +40 -0
  422. package/test/corpus/snippetTests/errors/listingTypeCheckError6.txt +58 -0
  423. package/test/corpus/snippetTests/errors/listingTypeCheckError7.txt +42 -0
  424. package/test/corpus/snippetTests/errors/listingTypeCheckError8.txt +84 -0
  425. package/test/corpus/snippetTests/errors/listingTypeCheckError9.txt +97 -0
  426. package/test/corpus/snippetTests/errors/localFixedMember.txt +19 -0
  427. package/test/corpus/snippetTests/errors/localFunctionWithTypeParameter.txt +18 -0
  428. package/test/corpus/snippetTests/errors/localHiddenMember.txt +17 -0
  429. package/test/corpus/snippetTests/errors/mappingTypeCheckError1.txt +29 -0
  430. package/test/corpus/snippetTests/errors/mappingTypeCheckError10.txt +49 -0
  431. package/test/corpus/snippetTests/errors/mappingTypeCheckError11.txt +106 -0
  432. package/test/corpus/snippetTests/errors/mappingTypeCheckError2.txt +30 -0
  433. package/test/corpus/snippetTests/errors/mappingTypeCheckError3.txt +30 -0
  434. package/test/corpus/snippetTests/errors/mappingTypeCheckError4.txt +36 -0
  435. package/test/corpus/snippetTests/errors/mappingTypeCheckError5.txt +41 -0
  436. package/test/corpus/snippetTests/errors/mappingTypeCheckError6.txt +75 -0
  437. package/test/corpus/snippetTests/errors/mappingTypeCheckError7.txt +45 -0
  438. package/test/corpus/snippetTests/errors/mappingTypeCheckError8.txt +33 -0
  439. package/test/corpus/snippetTests/errors/mappingTypeCheckError9.txt +69 -0
  440. package/test/corpus/snippetTests/errors/missingLocalPropertyValue1.txt +15 -0
  441. package/test/corpus/snippetTests/errors/missingLocalPropertyValue2.txt +22 -0
  442. package/test/corpus/snippetTests/errors/moduleAmendsSelf.txt +13 -0
  443. package/test/corpus/snippetTests/errors/moduleAmendsVersionCheck.txt +13 -0
  444. package/test/corpus/snippetTests/errors/moduleAmendsVersionCheck2.txt +22 -0
  445. package/test/corpus/snippetTests/errors/moduleExpected.txt +43 -0
  446. package/test/corpus/snippetTests/errors/moduleExtendsSelf.txt +20 -0
  447. package/test/corpus/snippetTests/errors/moduleExtendsVersionCheck.txt +13 -0
  448. package/test/corpus/snippetTests/errors/moduleExtendsVersionCheck2.txt +22 -0
  449. package/test/corpus/snippetTests/errors/moduleImportVersionCheck.txt +20 -0
  450. package/test/corpus/snippetTests/errors/moduleWithHighMinPklVersion.txt +29 -0
  451. package/test/corpus/snippetTests/errors/noDefault.txt +23 -0
  452. package/test/corpus/snippetTests/errors/noDefault2.txt +31 -0
  453. package/test/corpus/snippetTests/errors/objectCannotHaveElement.txt +72 -0
  454. package/test/corpus/snippetTests/errors/objectCannotHaveElement2.txt +98 -0
  455. package/test/corpus/snippetTests/errors/objectCannotHavePredicateMember.txt +25 -0
  456. package/test/corpus/snippetTests/errors/outOfRange1.txt +14 -0
  457. package/test/corpus/snippetTests/errors/outOfRange2.txt +17 -0
  458. package/test/corpus/snippetTests/errors/outOfRange3.txt +21 -0
  459. package/test/corpus/snippetTests/errors/propertyNotFound1.txt +32 -0
  460. package/test/corpus/snippetTests/errors/propertyNotFound2.txt +18 -0
  461. package/test/corpus/snippetTests/errors/refusingToLoadModule.txt +18 -0
  462. package/test/corpus/snippetTests/errors/spreadSyntaxCannotHaveElement.txt +38 -0
  463. package/test/corpus/snippetTests/errors/spreadSyntaxCannotHaveEntry.txt +34 -0
  464. package/test/corpus/snippetTests/errors/spreadSyntaxCannotHaveProperty.txt +34 -0
  465. package/test/corpus/snippetTests/errors/spreadSyntaxCannotIterateOverTyped.txt +44 -0
  466. package/test/corpus/snippetTests/errors/spreadSyntaxCannotSpreadListIntoMapping.txt +37 -0
  467. package/test/corpus/snippetTests/errors/spreadSyntaxDuplicateEntry1.txt +39 -0
  468. package/test/corpus/snippetTests/errors/spreadSyntaxDuplicateEntry2.txt +39 -0
  469. package/test/corpus/snippetTests/errors/spreadSyntaxDuplicateProperty1.txt +32 -0
  470. package/test/corpus/snippetTests/errors/spreadSyntaxDuplicateProperty2.txt +32 -0
  471. package/test/corpus/snippetTests/errors/spreadSyntaxNullValue.txt +20 -0
  472. package/test/corpus/snippetTests/errors/spreadSyntaxUnknownTypedProperty.txt +47 -0
  473. package/test/corpus/snippetTests/errors/stackTraceWithQuotedMemberName.txt +23 -0
  474. package/test/corpus/snippetTests/errors/supercalls.txt +18 -0
  475. package/test/corpus/snippetTests/errors/typeMismatchHelper.txt +19 -0
  476. package/test/corpus/snippetTests/errors/typeMismatchWithSameQualifiedClassName.txt +38 -0
  477. package/test/corpus/snippetTests/errors/typeMismatchWithSameQualifiedModuleName.txt +28 -0
  478. package/test/corpus/snippetTests/errors/undefinedOp1.txt +12 -0
  479. package/test/corpus/snippetTests/errors/undefinedOp2.txt +14 -0
  480. package/test/corpus/snippetTests/errors/undefinedOp3.txt +24 -0
  481. package/test/corpus/snippetTests/errors/undefinedProperty1.txt +28 -0
  482. package/test/corpus/snippetTests/errors/undefinedProperty2.txt +15 -0
  483. package/test/corpus/snippetTests/errors/undefinedProperty3.txt +95 -0
  484. package/test/corpus/snippetTests/errors/undefinedProperty4.txt +141 -0
  485. package/test/corpus/snippetTests/errors/undefinedProperty5.txt +160 -0
  486. package/test/corpus/snippetTests/errors/undefinedProperty6.txt +40 -0
  487. package/test/corpus/snippetTests/errors/undefinedProperty7.txt +35 -0
  488. package/test/corpus/snippetTests/errors/undefinedProperty8.txt +34 -0
  489. package/test/corpus/snippetTests/errors/underscoreLambda.txt +37 -0
  490. package/test/corpus/snippetTests/errors/underscoreLet.txt +17 -0
  491. package/test/corpus/snippetTests/errors/userDefinedTypeParameter1.txt +22 -0
  492. package/test/corpus/snippetTests/errors/userDefinedTypeParameter2.txt +32 -0
  493. package/test/corpus/snippetTests/errors/wrongForGeneratorType1.txt +35 -0
  494. package/test/corpus/snippetTests/errors/wrongForGeneratorType2.txt +37 -0
  495. package/test/corpus/snippetTests/errors/wrongNumberOfMapArguments.txt +16 -0
  496. package/test/corpus/snippetTests/generators/duplicateDefinition1.txt +23 -0
  497. package/test/corpus/snippetTests/generators/duplicateDefinition2.txt +30 -0
  498. package/test/corpus/snippetTests/generators/duplicateDefinition3.txt +26 -0
  499. package/test/corpus/snippetTests/generators/elementGenerators.txt +2628 -0
  500. package/test/corpus/snippetTests/generators/elementGeneratorsTyped.txt +1593 -0
  501. package/test/corpus/snippetTests/generators/entryGenerators.txt +3013 -0
  502. package/test/corpus/snippetTests/generators/entryGeneratorsTyped.txt +1858 -0
  503. package/test/corpus/snippetTests/generators/forGeneratorInMixins.txt +301 -0
  504. package/test/corpus/snippetTests/generators/forGeneratorLexicalScope.txt +199 -0
  505. package/test/corpus/snippetTests/generators/forGeneratorNestedReference.txt +277 -0
  506. package/test/corpus/snippetTests/generators/forGeneratorNestedReference2.txt +98 -0
  507. package/test/corpus/snippetTests/generators/forGeneratorVariableShadowing.txt +177 -0
  508. package/test/corpus/snippetTests/generators/generatorNoMembers.txt +157 -0
  509. package/test/corpus/snippetTests/generators/predicateMembersDynamicListing.txt +461 -0
  510. package/test/corpus/snippetTests/generators/predicateMembersDynamicMapping.txt +473 -0
  511. package/test/corpus/snippetTests/generators/predicateMembersListing.txt +463 -0
  512. package/test/corpus/snippetTests/generators/predicateMembersMapping.txt +474 -0
  513. package/test/corpus/snippetTests/generators/predicateMembersThis.txt +82 -0
  514. package/test/corpus/snippetTests/generators/propertyGenerators.txt +104 -0
  515. package/test/corpus/snippetTests/generators/spreadSyntaxDynamic.txt +411 -0
  516. package/test/corpus/snippetTests/generators/spreadSyntaxListing.txt +496 -0
  517. package/test/corpus/snippetTests/generators/spreadSyntaxMapping.txt +655 -0
  518. package/test/corpus/snippetTests/generators/spreadSyntaxNoSpace.txt +32 -0
  519. package/test/corpus/snippetTests/generators/spreadSyntaxNullable.txt +37 -0
  520. package/test/corpus/snippetTests/generators/spreadSyntaxTyped.txt +59 -0
  521. package/test/corpus/snippetTests/implementation/equality.txt +198 -0
  522. package/test/corpus/snippetTests/implementation/inequality.txt +198 -0
  523. package/test/corpus/snippetTests/internal/polymorphicCallSite.txt +499 -0
  524. package/test/corpus/snippetTests/lambdas/amendLambdaDef.txt +310 -0
  525. package/test/corpus/snippetTests/lambdas/amendLambdaExpr.txt +325 -0
  526. package/test/corpus/snippetTests/lambdas/amendLambdaExternalClassError.txt +45 -0
  527. package/test/corpus/snippetTests/lambdas/amendLambdaParameters.txt +155 -0
  528. package/test/corpus/snippetTests/lambdas/amendLambdaParametersTyped.txt +420 -0
  529. package/test/corpus/snippetTests/lambdas/amendLambdaThatReturnsAnotherLambda.txt +380 -0
  530. package/test/corpus/snippetTests/lambdas/amendLambdaTooFewArgsError.txt +60 -0
  531. package/test/corpus/snippetTests/lambdas/amendLambdaTooManyArgsError.txt +62 -0
  532. package/test/corpus/snippetTests/lambdas/equality.txt +62 -0
  533. package/test/corpus/snippetTests/lambdas/inequality.txt +62 -0
  534. package/test/corpus/snippetTests/lambdas/lambda1.txt +85 -0
  535. package/test/corpus/snippetTests/lambdas/lambda2.txt +78 -0
  536. package/test/corpus/snippetTests/lambdas/lambda3.txt +381 -0
  537. package/test/corpus/snippetTests/lambdas/lambda4.txt +147 -0
  538. package/test/corpus/snippetTests/lambdas/lambda5.txt +307 -0
  539. package/test/corpus/snippetTests/lambdas/lambdaStackTrace1.txt +35 -0
  540. package/test/corpus/snippetTests/lambdas/lambdaStackTrace2.txt +37 -0
  541. package/test/corpus/snippetTests/lambdas/lambdaStackTrace3.txt +33 -0
  542. package/test/corpus/snippetTests/lambdas/pipeOperator.txt +189 -0
  543. package/test/corpus/snippetTests/lambdas/tooManyLambdaParams.txt +27 -0
  544. package/test/corpus/snippetTests/lambdas/typedLambdas.txt +278 -0
  545. package/test/corpus/snippetTests/lambdas/wrongArgumentListLength.txt +37 -0
  546. package/test/corpus/snippetTests/listings/cacheStealing.txt +56 -0
  547. package/test/corpus/snippetTests/listings/cacheStealingTypeCheck.txt +27 -0
  548. package/test/corpus/snippetTests/listings/default.txt +133 -0
  549. package/test/corpus/snippetTests/listings/equality.txt +341 -0
  550. package/test/corpus/snippetTests/listings/hashCode.txt +438 -0
  551. package/test/corpus/snippetTests/listings/inequality.txt +173 -0
  552. package/test/corpus/snippetTests/listings/listing1.txt +360 -0
  553. package/test/corpus/snippetTests/listings/listing2.txt +755 -0
  554. package/test/corpus/snippetTests/listings/listing3.txt +490 -0
  555. package/test/corpus/snippetTests/listings/listing4.txt +156 -0
  556. package/test/corpus/snippetTests/listings/listing6.txt +208 -0
  557. package/test/corpus/snippetTests/listings/listing7.txt +71 -0
  558. package/test/corpus/snippetTests/listings/typeCheck.txt +2506 -0
  559. package/test/corpus/snippetTests/listings/wrongIndex.txt +121 -0
  560. package/test/corpus/snippetTests/listings/wrongParent.txt +253 -0
  561. package/test/corpus/snippetTests/listings2/default.txt +157 -0
  562. package/test/corpus/snippetTests/listings2/equality.txt +358 -0
  563. package/test/corpus/snippetTests/listings2/inequality.txt +227 -0
  564. package/test/corpus/snippetTests/listings2/listing1.txt +372 -0
  565. package/test/corpus/snippetTests/listings2/listing2.txt +904 -0
  566. package/test/corpus/snippetTests/listings2/listing3.txt +568 -0
  567. package/test/corpus/snippetTests/listings2/typeCheck.txt +336 -0
  568. package/test/corpus/snippetTests/listings2/wrongIndex.txt +151 -0
  569. package/test/corpus/snippetTests/listings2/wrongParent.txt +313 -0
  570. package/test/corpus/snippetTests/mappings/default.txt +174 -0
  571. package/test/corpus/snippetTests/mappings/duplicateComputedKey.txt +85 -0
  572. package/test/corpus/snippetTests/mappings/duplicateConstantKey.txt +32 -0
  573. package/test/corpus/snippetTests/mappings/equality.txt +383 -0
  574. package/test/corpus/snippetTests/mappings/hashCode.txt +461 -0
  575. package/test/corpus/snippetTests/mappings/inequality.txt +198 -0
  576. package/test/corpus/snippetTests/mappings/mapping1.txt +590 -0
  577. package/test/corpus/snippetTests/mappings/mapping2.txt +491 -0
  578. package/test/corpus/snippetTests/mappings/stringKeyNotFound.txt +50 -0
  579. package/test/corpus/snippetTests/mappings/typeCheck.txt +2877 -0
  580. package/test/corpus/snippetTests/mappings/wrongParent.txt +262 -0
  581. package/test/corpus/snippetTests/mappings2/default.txt +195 -0
  582. package/test/corpus/snippetTests/mappings2/duplicateComputedKey.txt +99 -0
  583. package/test/corpus/snippetTests/mappings2/duplicateConstantKey.txt +39 -0
  584. package/test/corpus/snippetTests/mappings2/equality.txt +416 -0
  585. package/test/corpus/snippetTests/mappings2/inequality.txt +268 -0
  586. package/test/corpus/snippetTests/mappings2/mapping1.txt +604 -0
  587. package/test/corpus/snippetTests/mappings2/mapping2.txt +595 -0
  588. package/test/corpus/snippetTests/mappings2/stringKeyNotFound.txt +57 -0
  589. package/test/corpus/snippetTests/mappings2/typeCheck.txt +582 -0
  590. package/test/corpus/snippetTests/mappings2/wrongParent.txt +334 -0
  591. package/test/corpus/snippetTests/methods/methodParameterConstraints1.txt +220 -0
  592. package/test/corpus/snippetTests/methods/methodParameterConstraints2.txt +382 -0
  593. package/test/corpus/snippetTests/methods/methodParameterTypes2.txt +734 -0
  594. package/test/corpus/snippetTests/methods/methodParameterTypes3.txt +196 -0
  595. package/test/corpus/snippetTests/modules/amendModule1.txt +36 -0
  596. package/test/corpus/snippetTests/modules/amendModule2.txt +28 -0
  597. package/test/corpus/snippetTests/modules/amendModule3.txt +24 -0
  598. package/test/corpus/snippetTests/modules/amendModule4.txt +35 -0
  599. package/test/corpus/snippetTests/modules/amendModule5.txt +68 -0
  600. package/test/corpus/snippetTests/modules/amendModule6.txt +13 -0
  601. package/test/corpus/snippetTests/modules/equality.txt +91 -0
  602. package/test/corpus/snippetTests/modules/extendModule1.txt +80 -0
  603. package/test/corpus/snippetTests/modules/externalFunction.txt +14 -0
  604. package/test/corpus/snippetTests/modules/externalProperty.txt +16 -0
  605. package/test/corpus/snippetTests/modules/filename with spaces 2.txt +14 -0
  606. package/test/corpus/snippetTests/modules/filename with spaces.txt +13 -0
  607. package/test/corpus/snippetTests/modules/functions.txt +264 -0
  608. package/test/corpus/snippetTests/modules/invalidAmend1.txt +18 -0
  609. package/test/corpus/snippetTests/modules/invalidAmend2.txt +19 -0
  610. package/test/corpus/snippetTests/modules/invalidAmend3.txt +23 -0
  611. package/test/corpus/snippetTests/modules/invalidAmend4.txt +21 -0
  612. package/test/corpus/snippetTests/modules/invalidAmend5.txt +17 -0
  613. package/test/corpus/snippetTests/modules/invalidAmend6.txt +22 -0
  614. package/test/corpus/snippetTests/modules/invalidExtend1.txt +18 -0
  615. package/test/corpus/snippetTests/modules/invalidExtend2.txt +13 -0
  616. package/test/corpus/snippetTests/modules/invalidExtend3.txt +13 -0
  617. package/test/corpus/snippetTests/modules/library.txt +77 -0
  618. package/test/corpus/snippetTests/modules/lists.txt +26 -0
  619. package/test/corpus/snippetTests/modules/objects.txt +22 -0
  620. package/test/corpus/snippetTests/modules/recursiveModule1.txt +51 -0
  621. package/test/corpus/snippetTests/modules/recursiveModule2.txt +26 -0
  622. package/test/corpus/snippetTests/modules/supercalls1.txt +43 -0
  623. package/test/corpus/snippetTests/modules/supercalls2.txt +76 -0
  624. package/test/corpus/snippetTests/modules/supercalls3.txt +142 -0
  625. package/test/corpus/snippetTests/modules/typedModuleMethods1.txt +229 -0
  626. package/test/corpus/snippetTests/modules/typedModuleProperties1.txt +106 -0
  627. package/test/corpus/snippetTests/modules/typedModuleProperties2.txt +16 -0
  628. package/test/corpus/snippetTests/modules/typedModuleProperties3.txt +20 -0
  629. package/test/corpus/snippetTests/modules//346/227/245/346/234/254/350/252/236.txt +45 -0
  630. package/test/corpus/snippetTests/modules//346/227/245/346/234/254/350/252/236_error.txt +14 -0
  631. package/test/corpus/snippetTests/objects/closure.txt +143 -0
  632. package/test/corpus/snippetTests/objects/configureObjectAssign.txt +78 -0
  633. package/test/corpus/snippetTests/objects/equality.txt +989 -0
  634. package/test/corpus/snippetTests/objects/hashCode.txt +566 -0
  635. package/test/corpus/snippetTests/objects/implicitReceiver1.txt +37 -0
  636. package/test/corpus/snippetTests/objects/implicitReceiver2.txt +33 -0
  637. package/test/corpus/snippetTests/objects/implicitReceiver3.txt +29 -0
  638. package/test/corpus/snippetTests/objects/implicitReceiver4.txt +25 -0
  639. package/test/corpus/snippetTests/objects/inequality.txt +777 -0
  640. package/test/corpus/snippetTests/objects/lateBinding1.txt +60 -0
  641. package/test/corpus/snippetTests/objects/lateBinding2.txt +60 -0
  642. package/test/corpus/snippetTests/objects/lateBinding3.txt +81 -0
  643. package/test/corpus/snippetTests/objects/lateBinding4.txt +77 -0
  644. package/test/corpus/snippetTests/objects/outer.txt +91 -0
  645. package/test/corpus/snippetTests/objects/outer2.txt +28 -0
  646. package/test/corpus/snippetTests/objects/super1.txt +67 -0
  647. package/test/corpus/snippetTests/objects/super2.txt +59 -0
  648. package/test/corpus/snippetTests/objects/super3.txt +59 -0
  649. package/test/corpus/snippetTests/objects/super4.txt +66 -0
  650. package/test/corpus/snippetTests/objects/super5.txt +69 -0
  651. package/test/corpus/snippetTests/objects/this1.txt +24 -0
  652. package/test/corpus/snippetTests/objects/this2.txt +71 -0
  653. package/test/corpus/snippetTests/packages/badImport1.error.txt +14 -0
  654. package/test/corpus/snippetTests/packages/badImport10.error.txt +14 -0
  655. package/test/corpus/snippetTests/packages/badImport11.error.txt +14 -0
  656. package/test/corpus/snippetTests/packages/badImport2.error.txt +14 -0
  657. package/test/corpus/snippetTests/packages/badImport3.error.txt +14 -0
  658. package/test/corpus/snippetTests/packages/badImport4.error.txt +14 -0
  659. package/test/corpus/snippetTests/packages/badImport6.error.txt +20 -0
  660. package/test/corpus/snippetTests/packages/badImport7.error.txt +14 -0
  661. package/test/corpus/snippetTests/packages/badImport8.error.txt +14 -0
  662. package/test/corpus/snippetTests/packages/badImport9.error.txt +14 -0
  663. package/test/corpus/snippetTests/packages/badRead1.error.txt +14 -0
  664. package/test/corpus/snippetTests/packages/badRead2.error.txt +14 -0
  665. package/test/corpus/snippetTests/packages/badRead3.error.txt +14 -0
  666. package/test/corpus/snippetTests/packages/badRead4.error.txt +14 -0
  667. package/test/corpus/snippetTests/packages/badRead8.error.txt +14 -0
  668. package/test/corpus/snippetTests/packages/badRead9.error.txt +14 -0
  669. package/test/corpus/snippetTests/packages/packages1.txt +103 -0
  670. package/test/corpus/snippetTests/packages/packages2.txt +104 -0
  671. package/test/corpus/snippetTests/packages/redirects.txt +54 -0
  672. package/test/corpus/snippetTests/types/ThisInTypeConstraint.txt +342 -0
  673. package/test/corpus/snippetTests/types/currentModuleType1.txt +343 -0
  674. package/test/corpus/snippetTests/types/currentModuleType2.txt +351 -0
  675. package/test/corpus/snippetTests/types/currentModuleType3.txt +18 -0
  676. package/test/corpus/snippetTests/types/cyclicTypeAlias1.txt +17 -0
  677. package/test/corpus/snippetTests/types/cyclicTypeAlias2.txt +42 -0
  678. package/test/corpus/snippetTests/types/modifiersForTypes.txt +68 -0
  679. package/test/corpus/snippetTests/types/moduleType.txt +58 -0
  680. package/test/corpus/snippetTests/types/nothingType.txt +29 -0
  681. package/test/corpus/snippetTests/types/nothingWithUnions.txt +31 -0
  682. package/test/corpus/snippetTests/types/typeAlias1.txt +925 -0
  683. package/test/corpus/snippetTests/types/typeAlias2.txt +361 -0
  684. package/test/corpus/snippetTests/types/typeAliasConstraint1.txt +79 -0
  685. package/test/corpus/snippetTests/types/typeAliasConstraint2.txt +77 -0
  686. package/test/corpus/snippetTests/types/typeAliasContext.txt +26 -0
  687. package/test/corpus/snippetTests/types/typeAliasUnion.txt +169 -0
  688. package/test/corpus/string/customStringDelimiters.txt +74 -74
  689. package/test/corpus/string/multiline.txt +4 -4
  690. package/test/corpus/string/multilineInterpolation.txt +21 -21
  691. package/test/corpus/string/multilineInterpolation2.txt +15 -0
  692. package/test/corpus/string/simple.txt +1 -1
  693. package/test/corpus/string/singleLineEscapes.txt +7 -7
  694. package/test/corpus/string/singleLineInterpolation.txt +28 -28
  695. package/test/corpus/string/stringWithTwoSlashes.txt +2 -2
  696. package/test/corpus/type/unionType.txt +34 -0
  697. package/test/corpus/type/unionTypeDefaults.txt +46 -0
  698. package/tree-sitter.json +44 -0
  699. package/test/corpus/string/missingDelimiter.txt +0 -28
@@ -0,0 +1,2506 @@
1
+ ===
2
+ listings/typeCheck.pkl
3
+ ===
4
+
5
+ import "pkl:test"
6
+
7
+ local x1: Listing<String> = new {
8
+ "pigeon"
9
+ 42
10
+ "barn owl"
11
+ }
12
+
13
+ local x2: Listing<String(length > 3)> = new {
14
+ "pigeon"
15
+ "bob"
16
+ }
17
+
18
+ res1 = x1[0]
19
+ res2 = test.catchOrNull(() -> x1[1])
20
+ res3 = x2[0]
21
+ res4 = test.catchOrNull(() -> x2[1])
22
+
23
+ local x4: Listing = new {
24
+ throw("element unnecessarily evaluated")
25
+ }
26
+
27
+ local x5: Listing<Any> = new {
28
+ throw("element unnecessarily evaluated")
29
+ }
30
+
31
+ local x6: Listing<unknown> = new {
32
+ throw("element unnecessarily evaluated")
33
+ }
34
+
35
+ local x7 = new Listing {
36
+ throw("element unnecessarily evaluated")
37
+ 42
38
+ throw("element unnecessarily evaluated")
39
+ }
40
+
41
+ local x8 = new Listing<String> {
42
+ throw("element unnecessarily evaluated")
43
+ }
44
+
45
+ res5 = x4.length == 1
46
+ res6 = x5.length == 1
47
+ res7 = x6.length == 1
48
+ res8 = x7[1] == 42
49
+ res9 = x8.length == 1
50
+
51
+ local x9 = new Listing {
52
+ "foo"
53
+ 1
54
+ }
55
+ local x10 = x9 as Listing<String>
56
+
57
+ res10 = x9 is Listing<String>
58
+ res11 = x10[0]
59
+ res12 = test.catch(() -> x10[1])
60
+
61
+ local x11: Listing<String(!isEmpty)> = new Listing<String> {
62
+ ""
63
+ }
64
+
65
+ res13 = test.catch(() -> x11[0])
66
+
67
+ local x12: Listing<String> = new Listing<String(!isEmpty)> {
68
+ ""
69
+ }
70
+
71
+ res14 = test.catch(() -> x12[0])
72
+
73
+ local l = new Listing { "foo"; 1 }
74
+
75
+ local x13: (Listing<String>|Listing<Int>) = l
76
+
77
+ local x14: Listing<String>|Listing<Int>? = l
78
+
79
+ local x15: Listing<String>|(Listing<Int>|Int) = l
80
+
81
+ local x16: Listing<String>|Int = l
82
+
83
+ res15 = test.catch(() -> x13)
84
+ res16 = test.catch(() -> x14)
85
+ res17 = test.catch(() -> x15)
86
+ res18 = x16.length
87
+ res19 = test.catch(() -> x16[1])
88
+
89
+ local x17: Listing<Listing<String>> = new {
90
+ new {
91
+ 5
92
+ }
93
+ }
94
+
95
+ res20 = x17.length
96
+ res21 = x17[0].length
97
+ res22 = test.catch(() -> x17[0][0])
98
+
99
+ local x18 = new Listing { 1; 2; 3 } as Listing<String>
100
+
101
+ res23 = x18.length
102
+ res24 = test.catch(() -> x18[0])
103
+
104
+ local x19 = new Listing<String> {
105
+ when (true) {
106
+ 15
107
+ }
108
+ }
109
+
110
+ res25 = x19.length
111
+ res26 = test.catch(() -> x19[0])
112
+
113
+ local x20 = new Listing<String> {
114
+ ...List(1, 2, 3)
115
+ }
116
+
117
+ res27 = x20.length
118
+ res28 = test.catch(() -> x20[0])
119
+
120
+ local x21 = new Listing<String> {
121
+ for (elem in List(1, 2, 3)) {
122
+ elem
123
+ }
124
+ }
125
+
126
+ res29 = x21.length
127
+ res30 = test.catch(() -> x21[0])
128
+
129
+ local x22: Listing<String> = new {
130
+ "hi"
131
+ }
132
+
133
+ res31 = (x22) {
134
+ "hi"
135
+ }
136
+
137
+ res32 = (x22) {
138
+ [0] = 1
139
+ 2
140
+ }
141
+
142
+ res33 = (x22) {
143
+ when (false) {
144
+ "hi"
145
+ }
146
+ 1
147
+ }
148
+
149
+ res34 = (x22) {
150
+ ...List(1, 2, 3)
151
+ }
152
+
153
+ local x23: Listing<Listing<String(length.isOdd)>> =
154
+ new Listing<Listing<String(this == capitalize())>> {
155
+ new {
156
+ "Ba"
157
+ "bar"
158
+ }
159
+ }
160
+
161
+ res35 = test.catch(() -> x23[0][0])
162
+ res36 = test.catch(() -> x23[0][1])
163
+
164
+ local x24: List<Listing<String(length.isOdd)>> = List(
165
+ new Listing<String(this == capitalize())> {
166
+ "Ba"
167
+ "bar"
168
+ }
169
+ )
170
+
171
+ res37 = test.catch(() -> x24[0][0])
172
+ res38 = test.catch(() -> x24[0][1])
173
+
174
+ local x25: List<String|Listing<Int>> = List(
175
+ "hello",
176
+ new Listing {
177
+ "foo"
178
+ },
179
+ "goodbye"
180
+ )
181
+
182
+ res39 = x25[0]
183
+ res40 = x25[1].length
184
+ res41 = test.catch(() -> x25[1][0])
185
+ res42 = x25[2]
186
+
187
+ local x26: Set<Listing<String(length.isOdd)>> = Set(
188
+ new Listing<String(this == capitalize())> {
189
+ "Ba"
190
+ "bar"
191
+ }
192
+ )
193
+
194
+ res43 = test.catch(() -> x26[0][0])
195
+
196
+ local x27: Set<String|Listing<Int>> = Set(
197
+ "hello",
198
+ new Listing {
199
+ "foo"
200
+ },
201
+ "goodbye"
202
+ )
203
+
204
+ res45 = test.catch(() -> x27)
205
+
206
+ local x28: List<Listing<Int>>|List<Listing<String>> = List(
207
+ new Listing { "hello" }
208
+ )
209
+
210
+ res46 = x28[0][0]
211
+
212
+ local x29: List<Listing<Int>>|List<Listing<String>> = List(
213
+ new Listing { 1; "hello" }
214
+ )
215
+
216
+ res47 = test.catch(() -> x29)
217
+
218
+ local x30: Map<String, Listing<String(length.isOdd)>> = Map(
219
+ "hello",
220
+ new Listing<String(this == capitalize())> {
221
+ "Ba"
222
+ "bar"
223
+ }
224
+ )
225
+
226
+ res48 = x30["hello"].length
227
+ res49 = test.catch(() -> x30["hello"][0])
228
+ res50 = test.catch(() -> x30["hello"][1])
229
+
230
+ local x31: Map<String, Int|Listing<String>> = Map(
231
+ "hello", 1,
232
+ "thelisting", new Listing {
233
+ 1
234
+ 2
235
+ },
236
+ "goodbye", 2
237
+ )
238
+
239
+ res51 = x31.length
240
+ res52 = x31["hello"]
241
+ res53 = x31["goodbye"]
242
+ res54 = x31["thelisting"].length
243
+ res55 = test.catch(() -> x31["thelisting"][0])
244
+ res56 = test.catch(() -> x31["thelisting"][1])
245
+
246
+ local x32: Map<Listing<String>, Int> = Map(
247
+ new Listing { 1; 2 },
248
+ 1
249
+ )
250
+
251
+ res57 = test.catch(() -> x32)
252
+
253
+ local x33: Map<String, Listing<Int>|Int> = Map(
254
+ "first", 1,
255
+ "second", new Listing { "hi" }
256
+ )
257
+
258
+ res58 = x33.length
259
+ res59 = x33["first"]
260
+ res60 = x33["second"].length
261
+ res61 = test.catch(() -> x33["second"][0])
262
+
263
+ local x34: Pair<Listing<String>, Listing<String>> = Pair(
264
+ new Listing { 1 },
265
+ new Listing { 2 }
266
+ )
267
+
268
+ res62 = x34.first.length
269
+ res63 = x34.second.length
270
+
271
+ res64 = test.catch(() -> x34.first[0])
272
+ res65 = test.catch(() -> x34.second[0])
273
+
274
+ local x35: Pair<Int, Listing<String>> = Pair(
275
+ 5,
276
+ new Listing { 1 }
277
+ )
278
+
279
+ res66 = x35.first
280
+ res67 = x35.second.length
281
+ res68 = test.catch(() -> x35.second[0])
282
+
283
+ local x36: Collection<Int|Listing<String>> = List(
284
+ 1,
285
+ new Listing { "hello"; 1 }
286
+ )
287
+
288
+ res69 = x36.length
289
+ res70 = x36.first
290
+ res71 = x36[1].length
291
+ res73 = x36[1][0]
292
+ res74 = test.catch(() -> x36[1][1])
293
+
294
+ local x37: Collection<Int|Listing<String>> = Set(
295
+ 1,
296
+ new Listing {
297
+ "hello"
298
+ 1
299
+ }
300
+ )
301
+
302
+ res75 = test.catch(() -> x37)
303
+
304
+ local x38: Collection<Listing<String>>|Collection<Listing<Int>> =
305
+ List(new Listing {
306
+ 1
307
+ "hi"
308
+ })
309
+
310
+ res76 = test.catch(() -> x38)
311
+
312
+ local class Person {
313
+ prop1 = 1
314
+ prop2 = 2
315
+ prop3 = "hi"
316
+ }
317
+
318
+ local x39: Listing<Int> = new Person {}.toMap().values.toListing()
319
+
320
+ res77 = x39.length
321
+ res78 = x39[0]
322
+ res79 = x39[1]
323
+ res80 = test.catch(() -> x39[2])
324
+
325
+ local x40: Listing<Int> = new {
326
+ ...List(1, 2, "hello")
327
+ }
328
+
329
+ res81 = x40.length
330
+ res82 = x40[0]
331
+ res83 = x40[1]
332
+ res84 = test.catch(() -> x40[2])
333
+
334
+ function myFunction(elem: Listing<Int>) = elem
335
+
336
+ local x41 = myFunction(new Listing { "hello" })
337
+
338
+ res85 = x41.length
339
+ res86 = test.catch(() -> x41[0])
340
+
341
+ function myFunction2(elem): Listing<Int> = elem
342
+
343
+ local x42 = myFunction(new Listing { "hello" })
344
+
345
+ res87 = x42.length
346
+ res88 = test.catch(() -> x42[0])
347
+
348
+ local x43 = (it: Listing<Int>) -> it
349
+ local x44 = x43.apply(new Listing { "hello" })
350
+
351
+ res89 = x44.length
352
+ res90 = test.catch(() -> x44[0])
353
+
354
+ function myFunction3(elem: Listing<Int>): Listing<Int> = elem
355
+ local x45 = myFunction3(new Listing { "hello" })
356
+
357
+ res91 = x45.length
358
+ res92 = test.catch(() -> x45[0])
359
+
360
+ ---
361
+
362
+ (module
363
+ (importClause
364
+ (stringConstant
365
+ (slStringLiteralPart)))
366
+ (classProperty
367
+ (modifier)
368
+ (identifier)
369
+ (typeAnnotation
370
+ (declaredType
371
+ (qualifiedIdentifier
372
+ (identifier))
373
+ (typeArgumentList
374
+ (declaredType
375
+ (qualifiedIdentifier
376
+ (identifier))))))
377
+ (newExpr
378
+ (objectBody
379
+ (objectElement
380
+ (slStringLiteralExpr
381
+ (slStringLiteralPart)))
382
+ (objectElement
383
+ (intLiteralExpr))
384
+ (objectElement
385
+ (slStringLiteralExpr
386
+ (slStringLiteralPart))))))
387
+ (classProperty
388
+ (modifier)
389
+ (identifier)
390
+ (typeAnnotation
391
+ (declaredType
392
+ (qualifiedIdentifier
393
+ (identifier))
394
+ (typeArgumentList
395
+ (constrainedType
396
+ (declaredType
397
+ (qualifiedIdentifier
398
+ (identifier)))
399
+ (comparisonExpr
400
+ (unqualifiedAccessExpr
401
+ (identifier))
402
+ (intLiteralExpr))))))
403
+ (newExpr
404
+ (objectBody
405
+ (objectElement
406
+ (slStringLiteralExpr
407
+ (slStringLiteralPart)))
408
+ (objectElement
409
+ (slStringLiteralExpr
410
+ (slStringLiteralPart))))))
411
+ (classProperty
412
+ (identifier)
413
+ (subscriptExpr
414
+ (unqualifiedAccessExpr
415
+ (identifier))
416
+ (intLiteralExpr)))
417
+ (classProperty
418
+ (identifier)
419
+ (qualifiedAccessExpr
420
+ (unqualifiedAccessExpr
421
+ (identifier))
422
+ (identifier)
423
+ (argumentList
424
+ (functionLiteralExpr
425
+ (parameterList)
426
+ (subscriptExpr
427
+ (unqualifiedAccessExpr
428
+ (identifier))
429
+ (intLiteralExpr))))))
430
+ (classProperty
431
+ (identifier)
432
+ (subscriptExpr
433
+ (unqualifiedAccessExpr
434
+ (identifier))
435
+ (intLiteralExpr)))
436
+ (classProperty
437
+ (identifier)
438
+ (qualifiedAccessExpr
439
+ (unqualifiedAccessExpr
440
+ (identifier))
441
+ (identifier)
442
+ (argumentList
443
+ (functionLiteralExpr
444
+ (parameterList)
445
+ (subscriptExpr
446
+ (unqualifiedAccessExpr
447
+ (identifier))
448
+ (intLiteralExpr))))))
449
+ (classProperty
450
+ (modifier)
451
+ (identifier)
452
+ (typeAnnotation
453
+ (declaredType
454
+ (qualifiedIdentifier
455
+ (identifier))))
456
+ (newExpr
457
+ (objectBody
458
+ (objectElement
459
+ (throwExpr
460
+ (slStringLiteralExpr
461
+ (slStringLiteralPart)))))))
462
+ (classProperty
463
+ (modifier)
464
+ (identifier)
465
+ (typeAnnotation
466
+ (declaredType
467
+ (qualifiedIdentifier
468
+ (identifier))
469
+ (typeArgumentList
470
+ (declaredType
471
+ (qualifiedIdentifier
472
+ (identifier))))))
473
+ (newExpr
474
+ (objectBody
475
+ (objectElement
476
+ (throwExpr
477
+ (slStringLiteralExpr
478
+ (slStringLiteralPart)))))))
479
+ (classProperty
480
+ (modifier)
481
+ (identifier)
482
+ (typeAnnotation
483
+ (declaredType
484
+ (qualifiedIdentifier
485
+ (identifier))
486
+ (typeArgumentList
487
+ (unknownType))))
488
+ (newExpr
489
+ (objectBody
490
+ (objectElement
491
+ (throwExpr
492
+ (slStringLiteralExpr
493
+ (slStringLiteralPart)))))))
494
+ (classProperty
495
+ (modifier)
496
+ (identifier)
497
+ (newExpr
498
+ (declaredType
499
+ (qualifiedIdentifier
500
+ (identifier)))
501
+ (objectBody
502
+ (objectElement
503
+ (throwExpr
504
+ (slStringLiteralExpr
505
+ (slStringLiteralPart))))
506
+ (objectElement
507
+ (intLiteralExpr))
508
+ (objectElement
509
+ (throwExpr
510
+ (slStringLiteralExpr
511
+ (slStringLiteralPart)))))))
512
+ (classProperty
513
+ (modifier)
514
+ (identifier)
515
+ (newExpr
516
+ (declaredType
517
+ (qualifiedIdentifier
518
+ (identifier))
519
+ (typeArgumentList
520
+ (declaredType
521
+ (qualifiedIdentifier
522
+ (identifier)))))
523
+ (objectBody
524
+ (objectElement
525
+ (throwExpr
526
+ (slStringLiteralExpr
527
+ (slStringLiteralPart)))))))
528
+ (classProperty
529
+ (identifier)
530
+ (equalityExpr
531
+ (qualifiedAccessExpr
532
+ (unqualifiedAccessExpr
533
+ (identifier))
534
+ (identifier))
535
+ (intLiteralExpr)))
536
+ (classProperty
537
+ (identifier)
538
+ (equalityExpr
539
+ (qualifiedAccessExpr
540
+ (unqualifiedAccessExpr
541
+ (identifier))
542
+ (identifier))
543
+ (intLiteralExpr)))
544
+ (classProperty
545
+ (identifier)
546
+ (equalityExpr
547
+ (qualifiedAccessExpr
548
+ (unqualifiedAccessExpr
549
+ (identifier))
550
+ (identifier))
551
+ (intLiteralExpr)))
552
+ (classProperty
553
+ (identifier)
554
+ (equalityExpr
555
+ (subscriptExpr
556
+ (unqualifiedAccessExpr
557
+ (identifier))
558
+ (intLiteralExpr))
559
+ (intLiteralExpr)))
560
+ (classProperty
561
+ (identifier)
562
+ (equalityExpr
563
+ (qualifiedAccessExpr
564
+ (unqualifiedAccessExpr
565
+ (identifier))
566
+ (identifier))
567
+ (intLiteralExpr)))
568
+ (classProperty
569
+ (modifier)
570
+ (identifier)
571
+ (newExpr
572
+ (declaredType
573
+ (qualifiedIdentifier
574
+ (identifier)))
575
+ (objectBody
576
+ (objectElement
577
+ (slStringLiteralExpr
578
+ (slStringLiteralPart)))
579
+ (objectElement
580
+ (intLiteralExpr)))))
581
+ (classProperty
582
+ (modifier)
583
+ (identifier)
584
+ (typeCastExpr
585
+ (unqualifiedAccessExpr
586
+ (identifier))
587
+ (declaredType
588
+ (qualifiedIdentifier
589
+ (identifier))
590
+ (typeArgumentList
591
+ (declaredType
592
+ (qualifiedIdentifier
593
+ (identifier)))))))
594
+ (classProperty
595
+ (identifier)
596
+ (typeTestExpr
597
+ (unqualifiedAccessExpr
598
+ (identifier))
599
+ (declaredType
600
+ (qualifiedIdentifier
601
+ (identifier))
602
+ (typeArgumentList
603
+ (declaredType
604
+ (qualifiedIdentifier
605
+ (identifier)))))))
606
+ (classProperty
607
+ (identifier)
608
+ (subscriptExpr
609
+ (unqualifiedAccessExpr
610
+ (identifier))
611
+ (intLiteralExpr)))
612
+ (classProperty
613
+ (identifier)
614
+ (qualifiedAccessExpr
615
+ (unqualifiedAccessExpr
616
+ (identifier))
617
+ (identifier)
618
+ (argumentList
619
+ (functionLiteralExpr
620
+ (parameterList)
621
+ (subscriptExpr
622
+ (unqualifiedAccessExpr
623
+ (identifier))
624
+ (intLiteralExpr))))))
625
+ (classProperty
626
+ (modifier)
627
+ (identifier)
628
+ (typeAnnotation
629
+ (declaredType
630
+ (qualifiedIdentifier
631
+ (identifier))
632
+ (typeArgumentList
633
+ (constrainedType
634
+ (declaredType
635
+ (qualifiedIdentifier
636
+ (identifier)))
637
+ (logicalNotExpr
638
+ (unqualifiedAccessExpr
639
+ (identifier)))))))
640
+ (newExpr
641
+ (declaredType
642
+ (qualifiedIdentifier
643
+ (identifier))
644
+ (typeArgumentList
645
+ (declaredType
646
+ (qualifiedIdentifier
647
+ (identifier)))))
648
+ (objectBody
649
+ (objectElement
650
+ (slStringLiteralExpr)))))
651
+ (classProperty
652
+ (identifier)
653
+ (qualifiedAccessExpr
654
+ (unqualifiedAccessExpr
655
+ (identifier))
656
+ (identifier)
657
+ (argumentList
658
+ (functionLiteralExpr
659
+ (parameterList)
660
+ (subscriptExpr
661
+ (unqualifiedAccessExpr
662
+ (identifier))
663
+ (intLiteralExpr))))))
664
+ (classProperty
665
+ (modifier)
666
+ (identifier)
667
+ (typeAnnotation
668
+ (declaredType
669
+ (qualifiedIdentifier
670
+ (identifier))
671
+ (typeArgumentList
672
+ (declaredType
673
+ (qualifiedIdentifier
674
+ (identifier))))))
675
+ (newExpr
676
+ (declaredType
677
+ (qualifiedIdentifier
678
+ (identifier))
679
+ (typeArgumentList
680
+ (constrainedType
681
+ (declaredType
682
+ (qualifiedIdentifier
683
+ (identifier)))
684
+ (logicalNotExpr
685
+ (unqualifiedAccessExpr
686
+ (identifier))))))
687
+ (objectBody
688
+ (objectElement
689
+ (slStringLiteralExpr)))))
690
+ (classProperty
691
+ (identifier)
692
+ (qualifiedAccessExpr
693
+ (unqualifiedAccessExpr
694
+ (identifier))
695
+ (identifier)
696
+ (argumentList
697
+ (functionLiteralExpr
698
+ (parameterList)
699
+ (subscriptExpr
700
+ (unqualifiedAccessExpr
701
+ (identifier))
702
+ (intLiteralExpr))))))
703
+ (classProperty
704
+ (modifier)
705
+ (identifier)
706
+ (newExpr
707
+ (declaredType
708
+ (qualifiedIdentifier
709
+ (identifier)))
710
+ (objectBody
711
+ (objectElement
712
+ (slStringLiteralExpr
713
+ (slStringLiteralPart)))
714
+ (objectElement
715
+ (intLiteralExpr)))))
716
+ (classProperty
717
+ (modifier)
718
+ (identifier)
719
+ (typeAnnotation
720
+ (parenthesizedType
721
+ (unionType
722
+ (declaredType
723
+ (qualifiedIdentifier
724
+ (identifier))
725
+ (typeArgumentList
726
+ (declaredType
727
+ (qualifiedIdentifier
728
+ (identifier)))))
729
+ (declaredType
730
+ (qualifiedIdentifier
731
+ (identifier))
732
+ (typeArgumentList
733
+ (declaredType
734
+ (qualifiedIdentifier
735
+ (identifier))))))))
736
+ (unqualifiedAccessExpr
737
+ (identifier)))
738
+ (classProperty
739
+ (modifier)
740
+ (identifier)
741
+ (typeAnnotation
742
+ (unionType
743
+ (declaredType
744
+ (qualifiedIdentifier
745
+ (identifier))
746
+ (typeArgumentList
747
+ (declaredType
748
+ (qualifiedIdentifier
749
+ (identifier)))))
750
+ (nullableType
751
+ (declaredType
752
+ (qualifiedIdentifier
753
+ (identifier))
754
+ (typeArgumentList
755
+ (declaredType
756
+ (qualifiedIdentifier
757
+ (identifier))))))))
758
+ (unqualifiedAccessExpr
759
+ (identifier)))
760
+ (classProperty
761
+ (modifier)
762
+ (identifier)
763
+ (typeAnnotation
764
+ (unionType
765
+ (declaredType
766
+ (qualifiedIdentifier
767
+ (identifier))
768
+ (typeArgumentList
769
+ (declaredType
770
+ (qualifiedIdentifier
771
+ (identifier)))))
772
+ (parenthesizedType
773
+ (unionType
774
+ (declaredType
775
+ (qualifiedIdentifier
776
+ (identifier))
777
+ (typeArgumentList
778
+ (declaredType
779
+ (qualifiedIdentifier
780
+ (identifier)))))
781
+ (declaredType
782
+ (qualifiedIdentifier
783
+ (identifier)))))))
784
+ (unqualifiedAccessExpr
785
+ (identifier)))
786
+ (classProperty
787
+ (modifier)
788
+ (identifier)
789
+ (typeAnnotation
790
+ (unionType
791
+ (declaredType
792
+ (qualifiedIdentifier
793
+ (identifier))
794
+ (typeArgumentList
795
+ (declaredType
796
+ (qualifiedIdentifier
797
+ (identifier)))))
798
+ (declaredType
799
+ (qualifiedIdentifier
800
+ (identifier)))))
801
+ (unqualifiedAccessExpr
802
+ (identifier)))
803
+ (classProperty
804
+ (identifier)
805
+ (qualifiedAccessExpr
806
+ (unqualifiedAccessExpr
807
+ (identifier))
808
+ (identifier)
809
+ (argumentList
810
+ (functionLiteralExpr
811
+ (parameterList)
812
+ (unqualifiedAccessExpr
813
+ (identifier))))))
814
+ (classProperty
815
+ (identifier)
816
+ (qualifiedAccessExpr
817
+ (unqualifiedAccessExpr
818
+ (identifier))
819
+ (identifier)
820
+ (argumentList
821
+ (functionLiteralExpr
822
+ (parameterList)
823
+ (unqualifiedAccessExpr
824
+ (identifier))))))
825
+ (classProperty
826
+ (identifier)
827
+ (qualifiedAccessExpr
828
+ (unqualifiedAccessExpr
829
+ (identifier))
830
+ (identifier)
831
+ (argumentList
832
+ (functionLiteralExpr
833
+ (parameterList)
834
+ (unqualifiedAccessExpr
835
+ (identifier))))))
836
+ (classProperty
837
+ (identifier)
838
+ (qualifiedAccessExpr
839
+ (unqualifiedAccessExpr
840
+ (identifier))
841
+ (identifier)))
842
+ (classProperty
843
+ (identifier)
844
+ (qualifiedAccessExpr
845
+ (unqualifiedAccessExpr
846
+ (identifier))
847
+ (identifier)
848
+ (argumentList
849
+ (functionLiteralExpr
850
+ (parameterList)
851
+ (subscriptExpr
852
+ (unqualifiedAccessExpr
853
+ (identifier))
854
+ (intLiteralExpr))))))
855
+ (classProperty
856
+ (modifier)
857
+ (identifier)
858
+ (typeAnnotation
859
+ (declaredType
860
+ (qualifiedIdentifier
861
+ (identifier))
862
+ (typeArgumentList
863
+ (declaredType
864
+ (qualifiedIdentifier
865
+ (identifier))
866
+ (typeArgumentList
867
+ (declaredType
868
+ (qualifiedIdentifier
869
+ (identifier))))))))
870
+ (newExpr
871
+ (objectBody
872
+ (objectElement
873
+ (newExpr
874
+ (objectBody
875
+ (objectElement
876
+ (intLiteralExpr))))))))
877
+ (classProperty
878
+ (identifier)
879
+ (qualifiedAccessExpr
880
+ (unqualifiedAccessExpr
881
+ (identifier))
882
+ (identifier)))
883
+ (classProperty
884
+ (identifier)
885
+ (qualifiedAccessExpr
886
+ (subscriptExpr
887
+ (unqualifiedAccessExpr
888
+ (identifier))
889
+ (intLiteralExpr))
890
+ (identifier)))
891
+ (classProperty
892
+ (identifier)
893
+ (qualifiedAccessExpr
894
+ (unqualifiedAccessExpr
895
+ (identifier))
896
+ (identifier)
897
+ (argumentList
898
+ (functionLiteralExpr
899
+ (parameterList)
900
+ (subscriptExpr
901
+ (subscriptExpr
902
+ (unqualifiedAccessExpr
903
+ (identifier))
904
+ (intLiteralExpr))
905
+ (intLiteralExpr))))))
906
+ (classProperty
907
+ (modifier)
908
+ (identifier)
909
+ (typeCastExpr
910
+ (newExpr
911
+ (declaredType
912
+ (qualifiedIdentifier
913
+ (identifier)))
914
+ (objectBody
915
+ (objectElement
916
+ (intLiteralExpr))
917
+ (objectElement
918
+ (intLiteralExpr))
919
+ (objectElement
920
+ (intLiteralExpr))))
921
+ (declaredType
922
+ (qualifiedIdentifier
923
+ (identifier))
924
+ (typeArgumentList
925
+ (declaredType
926
+ (qualifiedIdentifier
927
+ (identifier)))))))
928
+ (classProperty
929
+ (identifier)
930
+ (qualifiedAccessExpr
931
+ (unqualifiedAccessExpr
932
+ (identifier))
933
+ (identifier)))
934
+ (classProperty
935
+ (identifier)
936
+ (qualifiedAccessExpr
937
+ (unqualifiedAccessExpr
938
+ (identifier))
939
+ (identifier)
940
+ (argumentList
941
+ (functionLiteralExpr
942
+ (parameterList)
943
+ (subscriptExpr
944
+ (unqualifiedAccessExpr
945
+ (identifier))
946
+ (intLiteralExpr))))))
947
+ (classProperty
948
+ (modifier)
949
+ (identifier)
950
+ (newExpr
951
+ (declaredType
952
+ (qualifiedIdentifier
953
+ (identifier))
954
+ (typeArgumentList
955
+ (declaredType
956
+ (qualifiedIdentifier
957
+ (identifier)))))
958
+ (objectBody
959
+ (whenGenerator
960
+ (trueLiteralExpr)
961
+ (objectBody
962
+ (objectElement
963
+ (intLiteralExpr)))))))
964
+ (classProperty
965
+ (identifier)
966
+ (qualifiedAccessExpr
967
+ (unqualifiedAccessExpr
968
+ (identifier))
969
+ (identifier)))
970
+ (classProperty
971
+ (identifier)
972
+ (qualifiedAccessExpr
973
+ (unqualifiedAccessExpr
974
+ (identifier))
975
+ (identifier)
976
+ (argumentList
977
+ (functionLiteralExpr
978
+ (parameterList)
979
+ (subscriptExpr
980
+ (unqualifiedAccessExpr
981
+ (identifier))
982
+ (intLiteralExpr))))))
983
+ (classProperty
984
+ (modifier)
985
+ (identifier)
986
+ (newExpr
987
+ (declaredType
988
+ (qualifiedIdentifier
989
+ (identifier))
990
+ (typeArgumentList
991
+ (declaredType
992
+ (qualifiedIdentifier
993
+ (identifier)))))
994
+ (objectBody
995
+ (objectSpread
996
+ (unqualifiedAccessExpr
997
+ (identifier)
998
+ (argumentList
999
+ (intLiteralExpr)
1000
+ (intLiteralExpr)
1001
+ (intLiteralExpr)))))))
1002
+ (classProperty
1003
+ (identifier)
1004
+ (qualifiedAccessExpr
1005
+ (unqualifiedAccessExpr
1006
+ (identifier))
1007
+ (identifier)))
1008
+ (classProperty
1009
+ (identifier)
1010
+ (qualifiedAccessExpr
1011
+ (unqualifiedAccessExpr
1012
+ (identifier))
1013
+ (identifier)
1014
+ (argumentList
1015
+ (functionLiteralExpr
1016
+ (parameterList)
1017
+ (subscriptExpr
1018
+ (unqualifiedAccessExpr
1019
+ (identifier))
1020
+ (intLiteralExpr))))))
1021
+ (classProperty
1022
+ (modifier)
1023
+ (identifier)
1024
+ (newExpr
1025
+ (declaredType
1026
+ (qualifiedIdentifier
1027
+ (identifier))
1028
+ (typeArgumentList
1029
+ (declaredType
1030
+ (qualifiedIdentifier
1031
+ (identifier)))))
1032
+ (objectBody
1033
+ (forGenerator
1034
+ (typedIdentifier
1035
+ (identifier))
1036
+ (unqualifiedAccessExpr
1037
+ (identifier)
1038
+ (argumentList
1039
+ (intLiteralExpr)
1040
+ (intLiteralExpr)
1041
+ (intLiteralExpr)))
1042
+ (objectBody
1043
+ (objectElement
1044
+ (unqualifiedAccessExpr
1045
+ (identifier))))))))
1046
+ (classProperty
1047
+ (identifier)
1048
+ (qualifiedAccessExpr
1049
+ (unqualifiedAccessExpr
1050
+ (identifier))
1051
+ (identifier)))
1052
+ (classProperty
1053
+ (identifier)
1054
+ (qualifiedAccessExpr
1055
+ (unqualifiedAccessExpr
1056
+ (identifier))
1057
+ (identifier)
1058
+ (argumentList
1059
+ (functionLiteralExpr
1060
+ (parameterList)
1061
+ (subscriptExpr
1062
+ (unqualifiedAccessExpr
1063
+ (identifier))
1064
+ (intLiteralExpr))))))
1065
+ (classProperty
1066
+ (modifier)
1067
+ (identifier)
1068
+ (typeAnnotation
1069
+ (declaredType
1070
+ (qualifiedIdentifier
1071
+ (identifier))
1072
+ (typeArgumentList
1073
+ (declaredType
1074
+ (qualifiedIdentifier
1075
+ (identifier))))))
1076
+ (newExpr
1077
+ (objectBody
1078
+ (objectElement
1079
+ (slStringLiteralExpr
1080
+ (slStringLiteralPart))))))
1081
+ (classProperty
1082
+ (identifier)
1083
+ (amendExpr
1084
+ (parenthesizedExpr
1085
+ (unqualifiedAccessExpr
1086
+ (identifier)))
1087
+ (objectBody
1088
+ (objectElement
1089
+ (slStringLiteralExpr
1090
+ (slStringLiteralPart))))))
1091
+ (classProperty
1092
+ (identifier)
1093
+ (amendExpr
1094
+ (parenthesizedExpr
1095
+ (unqualifiedAccessExpr
1096
+ (identifier)))
1097
+ (objectBody
1098
+ (objectEntry
1099
+ (intLiteralExpr)
1100
+ (intLiteralExpr))
1101
+ (objectElement
1102
+ (intLiteralExpr)))))
1103
+ (classProperty
1104
+ (identifier)
1105
+ (amendExpr
1106
+ (parenthesizedExpr
1107
+ (unqualifiedAccessExpr
1108
+ (identifier)))
1109
+ (objectBody
1110
+ (whenGenerator
1111
+ (falseLiteralExpr)
1112
+ (objectBody
1113
+ (objectElement
1114
+ (slStringLiteralExpr
1115
+ (slStringLiteralPart)))))
1116
+ (objectElement
1117
+ (intLiteralExpr)))))
1118
+ (classProperty
1119
+ (identifier)
1120
+ (amendExpr
1121
+ (parenthesizedExpr
1122
+ (unqualifiedAccessExpr
1123
+ (identifier)))
1124
+ (objectBody
1125
+ (objectSpread
1126
+ (unqualifiedAccessExpr
1127
+ (identifier)
1128
+ (argumentList
1129
+ (intLiteralExpr)
1130
+ (intLiteralExpr)
1131
+ (intLiteralExpr)))))))
1132
+ (classProperty
1133
+ (modifier)
1134
+ (identifier)
1135
+ (typeAnnotation
1136
+ (declaredType
1137
+ (qualifiedIdentifier
1138
+ (identifier))
1139
+ (typeArgumentList
1140
+ (declaredType
1141
+ (qualifiedIdentifier
1142
+ (identifier))
1143
+ (typeArgumentList
1144
+ (constrainedType
1145
+ (declaredType
1146
+ (qualifiedIdentifier
1147
+ (identifier)))
1148
+ (qualifiedAccessExpr
1149
+ (unqualifiedAccessExpr
1150
+ (identifier))
1151
+ (identifier))))))))
1152
+ (newExpr
1153
+ (declaredType
1154
+ (qualifiedIdentifier
1155
+ (identifier))
1156
+ (typeArgumentList
1157
+ (declaredType
1158
+ (qualifiedIdentifier
1159
+ (identifier))
1160
+ (typeArgumentList
1161
+ (constrainedType
1162
+ (declaredType
1163
+ (qualifiedIdentifier
1164
+ (identifier)))
1165
+ (equalityExpr
1166
+ (thisExpr)
1167
+ (unqualifiedAccessExpr
1168
+ (identifier)
1169
+ (argumentList))))))))
1170
+ (objectBody
1171
+ (objectElement
1172
+ (newExpr
1173
+ (objectBody
1174
+ (objectElement
1175
+ (slStringLiteralExpr
1176
+ (slStringLiteralPart)))
1177
+ (objectElement
1178
+ (slStringLiteralExpr
1179
+ (slStringLiteralPart)))))))))
1180
+ (classProperty
1181
+ (identifier)
1182
+ (qualifiedAccessExpr
1183
+ (unqualifiedAccessExpr
1184
+ (identifier))
1185
+ (identifier)
1186
+ (argumentList
1187
+ (functionLiteralExpr
1188
+ (parameterList)
1189
+ (subscriptExpr
1190
+ (subscriptExpr
1191
+ (unqualifiedAccessExpr
1192
+ (identifier))
1193
+ (intLiteralExpr))
1194
+ (intLiteralExpr))))))
1195
+ (classProperty
1196
+ (identifier)
1197
+ (qualifiedAccessExpr
1198
+ (unqualifiedAccessExpr
1199
+ (identifier))
1200
+ (identifier)
1201
+ (argumentList
1202
+ (functionLiteralExpr
1203
+ (parameterList)
1204
+ (subscriptExpr
1205
+ (subscriptExpr
1206
+ (unqualifiedAccessExpr
1207
+ (identifier))
1208
+ (intLiteralExpr))
1209
+ (intLiteralExpr))))))
1210
+ (classProperty
1211
+ (modifier)
1212
+ (identifier)
1213
+ (typeAnnotation
1214
+ (declaredType
1215
+ (qualifiedIdentifier
1216
+ (identifier))
1217
+ (typeArgumentList
1218
+ (declaredType
1219
+ (qualifiedIdentifier
1220
+ (identifier))
1221
+ (typeArgumentList
1222
+ (constrainedType
1223
+ (declaredType
1224
+ (qualifiedIdentifier
1225
+ (identifier)))
1226
+ (qualifiedAccessExpr
1227
+ (unqualifiedAccessExpr
1228
+ (identifier))
1229
+ (identifier))))))))
1230
+ (unqualifiedAccessExpr
1231
+ (identifier)
1232
+ (argumentList
1233
+ (newExpr
1234
+ (declaredType
1235
+ (qualifiedIdentifier
1236
+ (identifier))
1237
+ (typeArgumentList
1238
+ (constrainedType
1239
+ (declaredType
1240
+ (qualifiedIdentifier
1241
+ (identifier)))
1242
+ (equalityExpr
1243
+ (thisExpr)
1244
+ (unqualifiedAccessExpr
1245
+ (identifier)
1246
+ (argumentList))))))
1247
+ (objectBody
1248
+ (objectElement
1249
+ (slStringLiteralExpr
1250
+ (slStringLiteralPart)))
1251
+ (objectElement
1252
+ (slStringLiteralExpr
1253
+ (slStringLiteralPart))))))))
1254
+ (classProperty
1255
+ (identifier)
1256
+ (qualifiedAccessExpr
1257
+ (unqualifiedAccessExpr
1258
+ (identifier))
1259
+ (identifier)
1260
+ (argumentList
1261
+ (functionLiteralExpr
1262
+ (parameterList)
1263
+ (subscriptExpr
1264
+ (subscriptExpr
1265
+ (unqualifiedAccessExpr
1266
+ (identifier))
1267
+ (intLiteralExpr))
1268
+ (intLiteralExpr))))))
1269
+ (classProperty
1270
+ (identifier)
1271
+ (qualifiedAccessExpr
1272
+ (unqualifiedAccessExpr
1273
+ (identifier))
1274
+ (identifier)
1275
+ (argumentList
1276
+ (functionLiteralExpr
1277
+ (parameterList)
1278
+ (subscriptExpr
1279
+ (subscriptExpr
1280
+ (unqualifiedAccessExpr
1281
+ (identifier))
1282
+ (intLiteralExpr))
1283
+ (intLiteralExpr))))))
1284
+ (classProperty
1285
+ (modifier)
1286
+ (identifier)
1287
+ (typeAnnotation
1288
+ (declaredType
1289
+ (qualifiedIdentifier
1290
+ (identifier))
1291
+ (typeArgumentList
1292
+ (unionType
1293
+ (declaredType
1294
+ (qualifiedIdentifier
1295
+ (identifier)))
1296
+ (declaredType
1297
+ (qualifiedIdentifier
1298
+ (identifier))
1299
+ (typeArgumentList
1300
+ (declaredType
1301
+ (qualifiedIdentifier
1302
+ (identifier)))))))))
1303
+ (unqualifiedAccessExpr
1304
+ (identifier)
1305
+ (argumentList
1306
+ (slStringLiteralExpr
1307
+ (slStringLiteralPart))
1308
+ (newExpr
1309
+ (declaredType
1310
+ (qualifiedIdentifier
1311
+ (identifier)))
1312
+ (objectBody
1313
+ (objectElement
1314
+ (slStringLiteralExpr
1315
+ (slStringLiteralPart)))))
1316
+ (slStringLiteralExpr
1317
+ (slStringLiteralPart)))))
1318
+ (classProperty
1319
+ (identifier)
1320
+ (subscriptExpr
1321
+ (unqualifiedAccessExpr
1322
+ (identifier))
1323
+ (intLiteralExpr)))
1324
+ (classProperty
1325
+ (identifier)
1326
+ (qualifiedAccessExpr
1327
+ (subscriptExpr
1328
+ (unqualifiedAccessExpr
1329
+ (identifier))
1330
+ (intLiteralExpr))
1331
+ (identifier)))
1332
+ (classProperty
1333
+ (identifier)
1334
+ (qualifiedAccessExpr
1335
+ (unqualifiedAccessExpr
1336
+ (identifier))
1337
+ (identifier)
1338
+ (argumentList
1339
+ (functionLiteralExpr
1340
+ (parameterList)
1341
+ (subscriptExpr
1342
+ (subscriptExpr
1343
+ (unqualifiedAccessExpr
1344
+ (identifier))
1345
+ (intLiteralExpr))
1346
+ (intLiteralExpr))))))
1347
+ (classProperty
1348
+ (identifier)
1349
+ (subscriptExpr
1350
+ (unqualifiedAccessExpr
1351
+ (identifier))
1352
+ (intLiteralExpr)))
1353
+ (classProperty
1354
+ (modifier)
1355
+ (identifier)
1356
+ (typeAnnotation
1357
+ (declaredType
1358
+ (qualifiedIdentifier
1359
+ (identifier))
1360
+ (typeArgumentList
1361
+ (declaredType
1362
+ (qualifiedIdentifier
1363
+ (identifier))
1364
+ (typeArgumentList
1365
+ (constrainedType
1366
+ (declaredType
1367
+ (qualifiedIdentifier
1368
+ (identifier)))
1369
+ (qualifiedAccessExpr
1370
+ (unqualifiedAccessExpr
1371
+ (identifier))
1372
+ (identifier))))))))
1373
+ (unqualifiedAccessExpr
1374
+ (identifier)
1375
+ (argumentList
1376
+ (newExpr
1377
+ (declaredType
1378
+ (qualifiedIdentifier
1379
+ (identifier))
1380
+ (typeArgumentList
1381
+ (constrainedType
1382
+ (declaredType
1383
+ (qualifiedIdentifier
1384
+ (identifier)))
1385
+ (equalityExpr
1386
+ (thisExpr)
1387
+ (unqualifiedAccessExpr
1388
+ (identifier)
1389
+ (argumentList))))))
1390
+ (objectBody
1391
+ (objectElement
1392
+ (slStringLiteralExpr
1393
+ (slStringLiteralPart)))
1394
+ (objectElement
1395
+ (slStringLiteralExpr
1396
+ (slStringLiteralPart))))))))
1397
+ (classProperty
1398
+ (identifier)
1399
+ (qualifiedAccessExpr
1400
+ (unqualifiedAccessExpr
1401
+ (identifier))
1402
+ (identifier)
1403
+ (argumentList
1404
+ (functionLiteralExpr
1405
+ (parameterList)
1406
+ (subscriptExpr
1407
+ (subscriptExpr
1408
+ (unqualifiedAccessExpr
1409
+ (identifier))
1410
+ (intLiteralExpr))
1411
+ (intLiteralExpr))))))
1412
+ (classProperty
1413
+ (modifier)
1414
+ (identifier)
1415
+ (typeAnnotation
1416
+ (declaredType
1417
+ (qualifiedIdentifier
1418
+ (identifier))
1419
+ (typeArgumentList
1420
+ (unionType
1421
+ (declaredType
1422
+ (qualifiedIdentifier
1423
+ (identifier)))
1424
+ (declaredType
1425
+ (qualifiedIdentifier
1426
+ (identifier))
1427
+ (typeArgumentList
1428
+ (declaredType
1429
+ (qualifiedIdentifier
1430
+ (identifier)))))))))
1431
+ (unqualifiedAccessExpr
1432
+ (identifier)
1433
+ (argumentList
1434
+ (slStringLiteralExpr
1435
+ (slStringLiteralPart))
1436
+ (newExpr
1437
+ (declaredType
1438
+ (qualifiedIdentifier
1439
+ (identifier)))
1440
+ (objectBody
1441
+ (objectElement
1442
+ (slStringLiteralExpr
1443
+ (slStringLiteralPart)))))
1444
+ (slStringLiteralExpr
1445
+ (slStringLiteralPart)))))
1446
+ (classProperty
1447
+ (identifier)
1448
+ (qualifiedAccessExpr
1449
+ (unqualifiedAccessExpr
1450
+ (identifier))
1451
+ (identifier)
1452
+ (argumentList
1453
+ (functionLiteralExpr
1454
+ (parameterList)
1455
+ (unqualifiedAccessExpr
1456
+ (identifier))))))
1457
+ (classProperty
1458
+ (modifier)
1459
+ (identifier)
1460
+ (typeAnnotation
1461
+ (unionType
1462
+ (declaredType
1463
+ (qualifiedIdentifier
1464
+ (identifier))
1465
+ (typeArgumentList
1466
+ (declaredType
1467
+ (qualifiedIdentifier
1468
+ (identifier))
1469
+ (typeArgumentList
1470
+ (declaredType
1471
+ (qualifiedIdentifier
1472
+ (identifier)))))))
1473
+ (declaredType
1474
+ (qualifiedIdentifier
1475
+ (identifier))
1476
+ (typeArgumentList
1477
+ (declaredType
1478
+ (qualifiedIdentifier
1479
+ (identifier))
1480
+ (typeArgumentList
1481
+ (declaredType
1482
+ (qualifiedIdentifier
1483
+ (identifier)))))))))
1484
+ (unqualifiedAccessExpr
1485
+ (identifier)
1486
+ (argumentList
1487
+ (newExpr
1488
+ (declaredType
1489
+ (qualifiedIdentifier
1490
+ (identifier)))
1491
+ (objectBody
1492
+ (objectElement
1493
+ (slStringLiteralExpr
1494
+ (slStringLiteralPart))))))))
1495
+ (classProperty
1496
+ (identifier)
1497
+ (subscriptExpr
1498
+ (subscriptExpr
1499
+ (unqualifiedAccessExpr
1500
+ (identifier))
1501
+ (intLiteralExpr))
1502
+ (intLiteralExpr)))
1503
+ (classProperty
1504
+ (modifier)
1505
+ (identifier)
1506
+ (typeAnnotation
1507
+ (unionType
1508
+ (declaredType
1509
+ (qualifiedIdentifier
1510
+ (identifier))
1511
+ (typeArgumentList
1512
+ (declaredType
1513
+ (qualifiedIdentifier
1514
+ (identifier))
1515
+ (typeArgumentList
1516
+ (declaredType
1517
+ (qualifiedIdentifier
1518
+ (identifier)))))))
1519
+ (declaredType
1520
+ (qualifiedIdentifier
1521
+ (identifier))
1522
+ (typeArgumentList
1523
+ (declaredType
1524
+ (qualifiedIdentifier
1525
+ (identifier))
1526
+ (typeArgumentList
1527
+ (declaredType
1528
+ (qualifiedIdentifier
1529
+ (identifier)))))))))
1530
+ (unqualifiedAccessExpr
1531
+ (identifier)
1532
+ (argumentList
1533
+ (newExpr
1534
+ (declaredType
1535
+ (qualifiedIdentifier
1536
+ (identifier)))
1537
+ (objectBody
1538
+ (objectElement
1539
+ (intLiteralExpr))
1540
+ (objectElement
1541
+ (slStringLiteralExpr
1542
+ (slStringLiteralPart))))))))
1543
+ (classProperty
1544
+ (identifier)
1545
+ (qualifiedAccessExpr
1546
+ (unqualifiedAccessExpr
1547
+ (identifier))
1548
+ (identifier)
1549
+ (argumentList
1550
+ (functionLiteralExpr
1551
+ (parameterList)
1552
+ (unqualifiedAccessExpr
1553
+ (identifier))))))
1554
+ (classProperty
1555
+ (modifier)
1556
+ (identifier)
1557
+ (typeAnnotation
1558
+ (declaredType
1559
+ (qualifiedIdentifier
1560
+ (identifier))
1561
+ (typeArgumentList
1562
+ (declaredType
1563
+ (qualifiedIdentifier
1564
+ (identifier)))
1565
+ (declaredType
1566
+ (qualifiedIdentifier
1567
+ (identifier))
1568
+ (typeArgumentList
1569
+ (constrainedType
1570
+ (declaredType
1571
+ (qualifiedIdentifier
1572
+ (identifier)))
1573
+ (qualifiedAccessExpr
1574
+ (unqualifiedAccessExpr
1575
+ (identifier))
1576
+ (identifier))))))))
1577
+ (unqualifiedAccessExpr
1578
+ (identifier)
1579
+ (argumentList
1580
+ (slStringLiteralExpr
1581
+ (slStringLiteralPart))
1582
+ (newExpr
1583
+ (declaredType
1584
+ (qualifiedIdentifier
1585
+ (identifier))
1586
+ (typeArgumentList
1587
+ (constrainedType
1588
+ (declaredType
1589
+ (qualifiedIdentifier
1590
+ (identifier)))
1591
+ (equalityExpr
1592
+ (thisExpr)
1593
+ (unqualifiedAccessExpr
1594
+ (identifier)
1595
+ (argumentList))))))
1596
+ (objectBody
1597
+ (objectElement
1598
+ (slStringLiteralExpr
1599
+ (slStringLiteralPart)))
1600
+ (objectElement
1601
+ (slStringLiteralExpr
1602
+ (slStringLiteralPart))))))))
1603
+ (classProperty
1604
+ (identifier)
1605
+ (qualifiedAccessExpr
1606
+ (subscriptExpr
1607
+ (unqualifiedAccessExpr
1608
+ (identifier))
1609
+ (slStringLiteralExpr
1610
+ (slStringLiteralPart)))
1611
+ (identifier)))
1612
+ (classProperty
1613
+ (identifier)
1614
+ (qualifiedAccessExpr
1615
+ (unqualifiedAccessExpr
1616
+ (identifier))
1617
+ (identifier)
1618
+ (argumentList
1619
+ (functionLiteralExpr
1620
+ (parameterList)
1621
+ (subscriptExpr
1622
+ (subscriptExpr
1623
+ (unqualifiedAccessExpr
1624
+ (identifier))
1625
+ (slStringLiteralExpr
1626
+ (slStringLiteralPart)))
1627
+ (intLiteralExpr))))))
1628
+ (classProperty
1629
+ (identifier)
1630
+ (qualifiedAccessExpr
1631
+ (unqualifiedAccessExpr
1632
+ (identifier))
1633
+ (identifier)
1634
+ (argumentList
1635
+ (functionLiteralExpr
1636
+ (parameterList)
1637
+ (subscriptExpr
1638
+ (subscriptExpr
1639
+ (unqualifiedAccessExpr
1640
+ (identifier))
1641
+ (slStringLiteralExpr
1642
+ (slStringLiteralPart)))
1643
+ (intLiteralExpr))))))
1644
+ (classProperty
1645
+ (modifier)
1646
+ (identifier)
1647
+ (typeAnnotation
1648
+ (declaredType
1649
+ (qualifiedIdentifier
1650
+ (identifier))
1651
+ (typeArgumentList
1652
+ (declaredType
1653
+ (qualifiedIdentifier
1654
+ (identifier)))
1655
+ (unionType
1656
+ (declaredType
1657
+ (qualifiedIdentifier
1658
+ (identifier)))
1659
+ (declaredType
1660
+ (qualifiedIdentifier
1661
+ (identifier))
1662
+ (typeArgumentList
1663
+ (declaredType
1664
+ (qualifiedIdentifier
1665
+ (identifier)))))))))
1666
+ (unqualifiedAccessExpr
1667
+ (identifier)
1668
+ (argumentList
1669
+ (slStringLiteralExpr
1670
+ (slStringLiteralPart))
1671
+ (intLiteralExpr)
1672
+ (slStringLiteralExpr
1673
+ (slStringLiteralPart))
1674
+ (newExpr
1675
+ (declaredType
1676
+ (qualifiedIdentifier
1677
+ (identifier)))
1678
+ (objectBody
1679
+ (objectElement
1680
+ (intLiteralExpr))
1681
+ (objectElement
1682
+ (intLiteralExpr))))
1683
+ (slStringLiteralExpr
1684
+ (slStringLiteralPart))
1685
+ (intLiteralExpr))))
1686
+ (classProperty
1687
+ (identifier)
1688
+ (qualifiedAccessExpr
1689
+ (unqualifiedAccessExpr
1690
+ (identifier))
1691
+ (identifier)))
1692
+ (classProperty
1693
+ (identifier)
1694
+ (subscriptExpr
1695
+ (unqualifiedAccessExpr
1696
+ (identifier))
1697
+ (slStringLiteralExpr
1698
+ (slStringLiteralPart))))
1699
+ (classProperty
1700
+ (identifier)
1701
+ (subscriptExpr
1702
+ (unqualifiedAccessExpr
1703
+ (identifier))
1704
+ (slStringLiteralExpr
1705
+ (slStringLiteralPart))))
1706
+ (classProperty
1707
+ (identifier)
1708
+ (qualifiedAccessExpr
1709
+ (subscriptExpr
1710
+ (unqualifiedAccessExpr
1711
+ (identifier))
1712
+ (slStringLiteralExpr
1713
+ (slStringLiteralPart)))
1714
+ (identifier)))
1715
+ (classProperty
1716
+ (identifier)
1717
+ (qualifiedAccessExpr
1718
+ (unqualifiedAccessExpr
1719
+ (identifier))
1720
+ (identifier)
1721
+ (argumentList
1722
+ (functionLiteralExpr
1723
+ (parameterList)
1724
+ (subscriptExpr
1725
+ (subscriptExpr
1726
+ (unqualifiedAccessExpr
1727
+ (identifier))
1728
+ (slStringLiteralExpr
1729
+ (slStringLiteralPart)))
1730
+ (intLiteralExpr))))))
1731
+ (classProperty
1732
+ (identifier)
1733
+ (qualifiedAccessExpr
1734
+ (unqualifiedAccessExpr
1735
+ (identifier))
1736
+ (identifier)
1737
+ (argumentList
1738
+ (functionLiteralExpr
1739
+ (parameterList)
1740
+ (subscriptExpr
1741
+ (subscriptExpr
1742
+ (unqualifiedAccessExpr
1743
+ (identifier))
1744
+ (slStringLiteralExpr
1745
+ (slStringLiteralPart)))
1746
+ (intLiteralExpr))))))
1747
+ (classProperty
1748
+ (modifier)
1749
+ (identifier)
1750
+ (typeAnnotation
1751
+ (declaredType
1752
+ (qualifiedIdentifier
1753
+ (identifier))
1754
+ (typeArgumentList
1755
+ (declaredType
1756
+ (qualifiedIdentifier
1757
+ (identifier))
1758
+ (typeArgumentList
1759
+ (declaredType
1760
+ (qualifiedIdentifier
1761
+ (identifier)))))
1762
+ (declaredType
1763
+ (qualifiedIdentifier
1764
+ (identifier))))))
1765
+ (unqualifiedAccessExpr
1766
+ (identifier)
1767
+ (argumentList
1768
+ (newExpr
1769
+ (declaredType
1770
+ (qualifiedIdentifier
1771
+ (identifier)))
1772
+ (objectBody
1773
+ (objectElement
1774
+ (intLiteralExpr))
1775
+ (objectElement
1776
+ (intLiteralExpr))))
1777
+ (intLiteralExpr))))
1778
+ (classProperty
1779
+ (identifier)
1780
+ (qualifiedAccessExpr
1781
+ (unqualifiedAccessExpr
1782
+ (identifier))
1783
+ (identifier)
1784
+ (argumentList
1785
+ (functionLiteralExpr
1786
+ (parameterList)
1787
+ (unqualifiedAccessExpr
1788
+ (identifier))))))
1789
+ (classProperty
1790
+ (modifier)
1791
+ (identifier)
1792
+ (typeAnnotation
1793
+ (declaredType
1794
+ (qualifiedIdentifier
1795
+ (identifier))
1796
+ (typeArgumentList
1797
+ (declaredType
1798
+ (qualifiedIdentifier
1799
+ (identifier)))
1800
+ (unionType
1801
+ (declaredType
1802
+ (qualifiedIdentifier
1803
+ (identifier))
1804
+ (typeArgumentList
1805
+ (declaredType
1806
+ (qualifiedIdentifier
1807
+ (identifier)))))
1808
+ (declaredType
1809
+ (qualifiedIdentifier
1810
+ (identifier)))))))
1811
+ (unqualifiedAccessExpr
1812
+ (identifier)
1813
+ (argumentList
1814
+ (slStringLiteralExpr
1815
+ (slStringLiteralPart))
1816
+ (intLiteralExpr)
1817
+ (slStringLiteralExpr
1818
+ (slStringLiteralPart))
1819
+ (newExpr
1820
+ (declaredType
1821
+ (qualifiedIdentifier
1822
+ (identifier)))
1823
+ (objectBody
1824
+ (objectElement
1825
+ (slStringLiteralExpr
1826
+ (slStringLiteralPart))))))))
1827
+ (classProperty
1828
+ (identifier)
1829
+ (qualifiedAccessExpr
1830
+ (unqualifiedAccessExpr
1831
+ (identifier))
1832
+ (identifier)))
1833
+ (classProperty
1834
+ (identifier)
1835
+ (subscriptExpr
1836
+ (unqualifiedAccessExpr
1837
+ (identifier))
1838
+ (slStringLiteralExpr
1839
+ (slStringLiteralPart))))
1840
+ (classProperty
1841
+ (identifier)
1842
+ (qualifiedAccessExpr
1843
+ (subscriptExpr
1844
+ (unqualifiedAccessExpr
1845
+ (identifier))
1846
+ (slStringLiteralExpr
1847
+ (slStringLiteralPart)))
1848
+ (identifier)))
1849
+ (classProperty
1850
+ (identifier)
1851
+ (qualifiedAccessExpr
1852
+ (unqualifiedAccessExpr
1853
+ (identifier))
1854
+ (identifier)
1855
+ (argumentList
1856
+ (functionLiteralExpr
1857
+ (parameterList)
1858
+ (subscriptExpr
1859
+ (subscriptExpr
1860
+ (unqualifiedAccessExpr
1861
+ (identifier))
1862
+ (slStringLiteralExpr
1863
+ (slStringLiteralPart)))
1864
+ (intLiteralExpr))))))
1865
+ (classProperty
1866
+ (modifier)
1867
+ (identifier)
1868
+ (typeAnnotation
1869
+ (declaredType
1870
+ (qualifiedIdentifier
1871
+ (identifier))
1872
+ (typeArgumentList
1873
+ (declaredType
1874
+ (qualifiedIdentifier
1875
+ (identifier))
1876
+ (typeArgumentList
1877
+ (declaredType
1878
+ (qualifiedIdentifier
1879
+ (identifier)))))
1880
+ (declaredType
1881
+ (qualifiedIdentifier
1882
+ (identifier))
1883
+ (typeArgumentList
1884
+ (declaredType
1885
+ (qualifiedIdentifier
1886
+ (identifier))))))))
1887
+ (unqualifiedAccessExpr
1888
+ (identifier)
1889
+ (argumentList
1890
+ (newExpr
1891
+ (declaredType
1892
+ (qualifiedIdentifier
1893
+ (identifier)))
1894
+ (objectBody
1895
+ (objectElement
1896
+ (intLiteralExpr))))
1897
+ (newExpr
1898
+ (declaredType
1899
+ (qualifiedIdentifier
1900
+ (identifier)))
1901
+ (objectBody
1902
+ (objectElement
1903
+ (intLiteralExpr)))))))
1904
+ (classProperty
1905
+ (identifier)
1906
+ (qualifiedAccessExpr
1907
+ (qualifiedAccessExpr
1908
+ (unqualifiedAccessExpr
1909
+ (identifier))
1910
+ (identifier))
1911
+ (identifier)))
1912
+ (classProperty
1913
+ (identifier)
1914
+ (qualifiedAccessExpr
1915
+ (qualifiedAccessExpr
1916
+ (unqualifiedAccessExpr
1917
+ (identifier))
1918
+ (identifier))
1919
+ (identifier)))
1920
+ (classProperty
1921
+ (identifier)
1922
+ (qualifiedAccessExpr
1923
+ (unqualifiedAccessExpr
1924
+ (identifier))
1925
+ (identifier)
1926
+ (argumentList
1927
+ (functionLiteralExpr
1928
+ (parameterList)
1929
+ (subscriptExpr
1930
+ (qualifiedAccessExpr
1931
+ (unqualifiedAccessExpr
1932
+ (identifier))
1933
+ (identifier))
1934
+ (intLiteralExpr))))))
1935
+ (classProperty
1936
+ (identifier)
1937
+ (qualifiedAccessExpr
1938
+ (unqualifiedAccessExpr
1939
+ (identifier))
1940
+ (identifier)
1941
+ (argumentList
1942
+ (functionLiteralExpr
1943
+ (parameterList)
1944
+ (subscriptExpr
1945
+ (qualifiedAccessExpr
1946
+ (unqualifiedAccessExpr
1947
+ (identifier))
1948
+ (identifier))
1949
+ (intLiteralExpr))))))
1950
+ (classProperty
1951
+ (modifier)
1952
+ (identifier)
1953
+ (typeAnnotation
1954
+ (declaredType
1955
+ (qualifiedIdentifier
1956
+ (identifier))
1957
+ (typeArgumentList
1958
+ (declaredType
1959
+ (qualifiedIdentifier
1960
+ (identifier)))
1961
+ (declaredType
1962
+ (qualifiedIdentifier
1963
+ (identifier))
1964
+ (typeArgumentList
1965
+ (declaredType
1966
+ (qualifiedIdentifier
1967
+ (identifier))))))))
1968
+ (unqualifiedAccessExpr
1969
+ (identifier)
1970
+ (argumentList
1971
+ (intLiteralExpr)
1972
+ (newExpr
1973
+ (declaredType
1974
+ (qualifiedIdentifier
1975
+ (identifier)))
1976
+ (objectBody
1977
+ (objectElement
1978
+ (intLiteralExpr)))))))
1979
+ (classProperty
1980
+ (identifier)
1981
+ (qualifiedAccessExpr
1982
+ (unqualifiedAccessExpr
1983
+ (identifier))
1984
+ (identifier)))
1985
+ (classProperty
1986
+ (identifier)
1987
+ (qualifiedAccessExpr
1988
+ (qualifiedAccessExpr
1989
+ (unqualifiedAccessExpr
1990
+ (identifier))
1991
+ (identifier))
1992
+ (identifier)))
1993
+ (classProperty
1994
+ (identifier)
1995
+ (qualifiedAccessExpr
1996
+ (unqualifiedAccessExpr
1997
+ (identifier))
1998
+ (identifier)
1999
+ (argumentList
2000
+ (functionLiteralExpr
2001
+ (parameterList)
2002
+ (subscriptExpr
2003
+ (qualifiedAccessExpr
2004
+ (unqualifiedAccessExpr
2005
+ (identifier))
2006
+ (identifier))
2007
+ (intLiteralExpr))))))
2008
+ (classProperty
2009
+ (modifier)
2010
+ (identifier)
2011
+ (typeAnnotation
2012
+ (declaredType
2013
+ (qualifiedIdentifier
2014
+ (identifier))
2015
+ (typeArgumentList
2016
+ (unionType
2017
+ (declaredType
2018
+ (qualifiedIdentifier
2019
+ (identifier)))
2020
+ (declaredType
2021
+ (qualifiedIdentifier
2022
+ (identifier))
2023
+ (typeArgumentList
2024
+ (declaredType
2025
+ (qualifiedIdentifier
2026
+ (identifier)))))))))
2027
+ (unqualifiedAccessExpr
2028
+ (identifier)
2029
+ (argumentList
2030
+ (intLiteralExpr)
2031
+ (newExpr
2032
+ (declaredType
2033
+ (qualifiedIdentifier
2034
+ (identifier)))
2035
+ (objectBody
2036
+ (objectElement
2037
+ (slStringLiteralExpr
2038
+ (slStringLiteralPart)))
2039
+ (objectElement
2040
+ (intLiteralExpr)))))))
2041
+ (classProperty
2042
+ (identifier)
2043
+ (qualifiedAccessExpr
2044
+ (unqualifiedAccessExpr
2045
+ (identifier))
2046
+ (identifier)))
2047
+ (classProperty
2048
+ (identifier)
2049
+ (qualifiedAccessExpr
2050
+ (unqualifiedAccessExpr
2051
+ (identifier))
2052
+ (identifier)))
2053
+ (classProperty
2054
+ (identifier)
2055
+ (qualifiedAccessExpr
2056
+ (subscriptExpr
2057
+ (unqualifiedAccessExpr
2058
+ (identifier))
2059
+ (intLiteralExpr))
2060
+ (identifier)))
2061
+ (classProperty
2062
+ (identifier)
2063
+ (subscriptExpr
2064
+ (subscriptExpr
2065
+ (unqualifiedAccessExpr
2066
+ (identifier))
2067
+ (intLiteralExpr))
2068
+ (intLiteralExpr)))
2069
+ (classProperty
2070
+ (identifier)
2071
+ (qualifiedAccessExpr
2072
+ (unqualifiedAccessExpr
2073
+ (identifier))
2074
+ (identifier)
2075
+ (argumentList
2076
+ (functionLiteralExpr
2077
+ (parameterList)
2078
+ (subscriptExpr
2079
+ (subscriptExpr
2080
+ (unqualifiedAccessExpr
2081
+ (identifier))
2082
+ (intLiteralExpr))
2083
+ (intLiteralExpr))))))
2084
+ (classProperty
2085
+ (modifier)
2086
+ (identifier)
2087
+ (typeAnnotation
2088
+ (declaredType
2089
+ (qualifiedIdentifier
2090
+ (identifier))
2091
+ (typeArgumentList
2092
+ (unionType
2093
+ (declaredType
2094
+ (qualifiedIdentifier
2095
+ (identifier)))
2096
+ (declaredType
2097
+ (qualifiedIdentifier
2098
+ (identifier))
2099
+ (typeArgumentList
2100
+ (declaredType
2101
+ (qualifiedIdentifier
2102
+ (identifier)))))))))
2103
+ (unqualifiedAccessExpr
2104
+ (identifier)
2105
+ (argumentList
2106
+ (intLiteralExpr)
2107
+ (newExpr
2108
+ (declaredType
2109
+ (qualifiedIdentifier
2110
+ (identifier)))
2111
+ (objectBody
2112
+ (objectElement
2113
+ (slStringLiteralExpr
2114
+ (slStringLiteralPart)))
2115
+ (objectElement
2116
+ (intLiteralExpr)))))))
2117
+ (classProperty
2118
+ (identifier)
2119
+ (qualifiedAccessExpr
2120
+ (unqualifiedAccessExpr
2121
+ (identifier))
2122
+ (identifier)
2123
+ (argumentList
2124
+ (functionLiteralExpr
2125
+ (parameterList)
2126
+ (unqualifiedAccessExpr
2127
+ (identifier))))))
2128
+ (classProperty
2129
+ (modifier)
2130
+ (identifier)
2131
+ (typeAnnotation
2132
+ (unionType
2133
+ (declaredType
2134
+ (qualifiedIdentifier
2135
+ (identifier))
2136
+ (typeArgumentList
2137
+ (declaredType
2138
+ (qualifiedIdentifier
2139
+ (identifier))
2140
+ (typeArgumentList
2141
+ (declaredType
2142
+ (qualifiedIdentifier
2143
+ (identifier)))))))
2144
+ (declaredType
2145
+ (qualifiedIdentifier
2146
+ (identifier))
2147
+ (typeArgumentList
2148
+ (declaredType
2149
+ (qualifiedIdentifier
2150
+ (identifier))
2151
+ (typeArgumentList
2152
+ (declaredType
2153
+ (qualifiedIdentifier
2154
+ (identifier)))))))))
2155
+ (unqualifiedAccessExpr
2156
+ (identifier)
2157
+ (argumentList
2158
+ (newExpr
2159
+ (declaredType
2160
+ (qualifiedIdentifier
2161
+ (identifier)))
2162
+ (objectBody
2163
+ (objectElement
2164
+ (intLiteralExpr))
2165
+ (objectElement
2166
+ (slStringLiteralExpr
2167
+ (slStringLiteralPart))))))))
2168
+ (classProperty
2169
+ (identifier)
2170
+ (qualifiedAccessExpr
2171
+ (unqualifiedAccessExpr
2172
+ (identifier))
2173
+ (identifier)
2174
+ (argumentList
2175
+ (functionLiteralExpr
2176
+ (parameterList)
2177
+ (unqualifiedAccessExpr
2178
+ (identifier))))))
2179
+ (clazz
2180
+ (modifier)
2181
+ (identifier)
2182
+ (classBody
2183
+ (classProperty
2184
+ (identifier)
2185
+ (intLiteralExpr))
2186
+ (classProperty
2187
+ (identifier)
2188
+ (intLiteralExpr))
2189
+ (classProperty
2190
+ (identifier)
2191
+ (slStringLiteralExpr
2192
+ (slStringLiteralPart)))))
2193
+ (classProperty
2194
+ (modifier)
2195
+ (identifier)
2196
+ (typeAnnotation
2197
+ (declaredType
2198
+ (qualifiedIdentifier
2199
+ (identifier))
2200
+ (typeArgumentList
2201
+ (declaredType
2202
+ (qualifiedIdentifier
2203
+ (identifier))))))
2204
+ (qualifiedAccessExpr
2205
+ (qualifiedAccessExpr
2206
+ (qualifiedAccessExpr
2207
+ (newExpr
2208
+ (declaredType
2209
+ (qualifiedIdentifier
2210
+ (identifier)))
2211
+ (objectBody))
2212
+ (identifier)
2213
+ (argumentList))
2214
+ (identifier))
2215
+ (identifier)
2216
+ (argumentList)))
2217
+ (classProperty
2218
+ (identifier)
2219
+ (qualifiedAccessExpr
2220
+ (unqualifiedAccessExpr
2221
+ (identifier))
2222
+ (identifier)))
2223
+ (classProperty
2224
+ (identifier)
2225
+ (subscriptExpr
2226
+ (unqualifiedAccessExpr
2227
+ (identifier))
2228
+ (intLiteralExpr)))
2229
+ (classProperty
2230
+ (identifier)
2231
+ (subscriptExpr
2232
+ (unqualifiedAccessExpr
2233
+ (identifier))
2234
+ (intLiteralExpr)))
2235
+ (classProperty
2236
+ (identifier)
2237
+ (qualifiedAccessExpr
2238
+ (unqualifiedAccessExpr
2239
+ (identifier))
2240
+ (identifier)
2241
+ (argumentList
2242
+ (functionLiteralExpr
2243
+ (parameterList)
2244
+ (subscriptExpr
2245
+ (unqualifiedAccessExpr
2246
+ (identifier))
2247
+ (intLiteralExpr))))))
2248
+ (classProperty
2249
+ (modifier)
2250
+ (identifier)
2251
+ (typeAnnotation
2252
+ (declaredType
2253
+ (qualifiedIdentifier
2254
+ (identifier))
2255
+ (typeArgumentList
2256
+ (declaredType
2257
+ (qualifiedIdentifier
2258
+ (identifier))))))
2259
+ (newExpr
2260
+ (objectBody
2261
+ (objectSpread
2262
+ (unqualifiedAccessExpr
2263
+ (identifier)
2264
+ (argumentList
2265
+ (intLiteralExpr)
2266
+ (intLiteralExpr)
2267
+ (slStringLiteralExpr
2268
+ (slStringLiteralPart))))))))
2269
+ (classProperty
2270
+ (identifier)
2271
+ (qualifiedAccessExpr
2272
+ (unqualifiedAccessExpr
2273
+ (identifier))
2274
+ (identifier)))
2275
+ (classProperty
2276
+ (identifier)
2277
+ (subscriptExpr
2278
+ (unqualifiedAccessExpr
2279
+ (identifier))
2280
+ (intLiteralExpr)))
2281
+ (classProperty
2282
+ (identifier)
2283
+ (subscriptExpr
2284
+ (unqualifiedAccessExpr
2285
+ (identifier))
2286
+ (intLiteralExpr)))
2287
+ (classProperty
2288
+ (identifier)
2289
+ (qualifiedAccessExpr
2290
+ (unqualifiedAccessExpr
2291
+ (identifier))
2292
+ (identifier)
2293
+ (argumentList
2294
+ (functionLiteralExpr
2295
+ (parameterList)
2296
+ (subscriptExpr
2297
+ (unqualifiedAccessExpr
2298
+ (identifier))
2299
+ (intLiteralExpr))))))
2300
+ (classMethod
2301
+ (methodHeader
2302
+ (identifier)
2303
+ (parameterList
2304
+ (typedIdentifier
2305
+ (identifier)
2306
+ (typeAnnotation
2307
+ (declaredType
2308
+ (qualifiedIdentifier
2309
+ (identifier))
2310
+ (typeArgumentList
2311
+ (declaredType
2312
+ (qualifiedIdentifier
2313
+ (identifier)))))))))
2314
+ (unqualifiedAccessExpr
2315
+ (identifier)))
2316
+ (classProperty
2317
+ (modifier)
2318
+ (identifier)
2319
+ (unqualifiedAccessExpr
2320
+ (identifier)
2321
+ (argumentList
2322
+ (newExpr
2323
+ (declaredType
2324
+ (qualifiedIdentifier
2325
+ (identifier)))
2326
+ (objectBody
2327
+ (objectElement
2328
+ (slStringLiteralExpr
2329
+ (slStringLiteralPart))))))))
2330
+ (classProperty
2331
+ (identifier)
2332
+ (qualifiedAccessExpr
2333
+ (unqualifiedAccessExpr
2334
+ (identifier))
2335
+ (identifier)))
2336
+ (classProperty
2337
+ (identifier)
2338
+ (qualifiedAccessExpr
2339
+ (unqualifiedAccessExpr
2340
+ (identifier))
2341
+ (identifier)
2342
+ (argumentList
2343
+ (functionLiteralExpr
2344
+ (parameterList)
2345
+ (subscriptExpr
2346
+ (unqualifiedAccessExpr
2347
+ (identifier))
2348
+ (intLiteralExpr))))))
2349
+ (classMethod
2350
+ (methodHeader
2351
+ (identifier)
2352
+ (parameterList
2353
+ (typedIdentifier
2354
+ (identifier)))
2355
+ (typeAnnotation
2356
+ (declaredType
2357
+ (qualifiedIdentifier
2358
+ (identifier))
2359
+ (typeArgumentList
2360
+ (declaredType
2361
+ (qualifiedIdentifier
2362
+ (identifier)))))))
2363
+ (unqualifiedAccessExpr
2364
+ (identifier)))
2365
+ (classProperty
2366
+ (modifier)
2367
+ (identifier)
2368
+ (unqualifiedAccessExpr
2369
+ (identifier)
2370
+ (argumentList
2371
+ (newExpr
2372
+ (declaredType
2373
+ (qualifiedIdentifier
2374
+ (identifier)))
2375
+ (objectBody
2376
+ (objectElement
2377
+ (slStringLiteralExpr
2378
+ (slStringLiteralPart))))))))
2379
+ (classProperty
2380
+ (identifier)
2381
+ (qualifiedAccessExpr
2382
+ (unqualifiedAccessExpr
2383
+ (identifier))
2384
+ (identifier)))
2385
+ (classProperty
2386
+ (identifier)
2387
+ (qualifiedAccessExpr
2388
+ (unqualifiedAccessExpr
2389
+ (identifier))
2390
+ (identifier)
2391
+ (argumentList
2392
+ (functionLiteralExpr
2393
+ (parameterList)
2394
+ (subscriptExpr
2395
+ (unqualifiedAccessExpr
2396
+ (identifier))
2397
+ (intLiteralExpr))))))
2398
+ (classProperty
2399
+ (modifier)
2400
+ (identifier)
2401
+ (functionLiteralExpr
2402
+ (parameterList
2403
+ (typedIdentifier
2404
+ (identifier)
2405
+ (typeAnnotation
2406
+ (declaredType
2407
+ (qualifiedIdentifier
2408
+ (identifier))
2409
+ (typeArgumentList
2410
+ (declaredType
2411
+ (qualifiedIdentifier
2412
+ (identifier))))))))
2413
+ (unqualifiedAccessExpr
2414
+ (identifier))))
2415
+ (classProperty
2416
+ (modifier)
2417
+ (identifier)
2418
+ (qualifiedAccessExpr
2419
+ (unqualifiedAccessExpr
2420
+ (identifier))
2421
+ (identifier)
2422
+ (argumentList
2423
+ (newExpr
2424
+ (declaredType
2425
+ (qualifiedIdentifier
2426
+ (identifier)))
2427
+ (objectBody
2428
+ (objectElement
2429
+ (slStringLiteralExpr
2430
+ (slStringLiteralPart))))))))
2431
+ (classProperty
2432
+ (identifier)
2433
+ (qualifiedAccessExpr
2434
+ (unqualifiedAccessExpr
2435
+ (identifier))
2436
+ (identifier)))
2437
+ (classProperty
2438
+ (identifier)
2439
+ (qualifiedAccessExpr
2440
+ (unqualifiedAccessExpr
2441
+ (identifier))
2442
+ (identifier)
2443
+ (argumentList
2444
+ (functionLiteralExpr
2445
+ (parameterList)
2446
+ (subscriptExpr
2447
+ (unqualifiedAccessExpr
2448
+ (identifier))
2449
+ (intLiteralExpr))))))
2450
+ (classMethod
2451
+ (methodHeader
2452
+ (identifier)
2453
+ (parameterList
2454
+ (typedIdentifier
2455
+ (identifier)
2456
+ (typeAnnotation
2457
+ (declaredType
2458
+ (qualifiedIdentifier
2459
+ (identifier))
2460
+ (typeArgumentList
2461
+ (declaredType
2462
+ (qualifiedIdentifier
2463
+ (identifier))))))))
2464
+ (typeAnnotation
2465
+ (declaredType
2466
+ (qualifiedIdentifier
2467
+ (identifier))
2468
+ (typeArgumentList
2469
+ (declaredType
2470
+ (qualifiedIdentifier
2471
+ (identifier)))))))
2472
+ (unqualifiedAccessExpr
2473
+ (identifier)))
2474
+ (classProperty
2475
+ (modifier)
2476
+ (identifier)
2477
+ (unqualifiedAccessExpr
2478
+ (identifier)
2479
+ (argumentList
2480
+ (newExpr
2481
+ (declaredType
2482
+ (qualifiedIdentifier
2483
+ (identifier)))
2484
+ (objectBody
2485
+ (objectElement
2486
+ (slStringLiteralExpr
2487
+ (slStringLiteralPart))))))))
2488
+ (classProperty
2489
+ (identifier)
2490
+ (qualifiedAccessExpr
2491
+ (unqualifiedAccessExpr
2492
+ (identifier))
2493
+ (identifier)))
2494
+ (classProperty
2495
+ (identifier)
2496
+ (qualifiedAccessExpr
2497
+ (unqualifiedAccessExpr
2498
+ (identifier))
2499
+ (identifier)
2500
+ (argumentList
2501
+ (functionLiteralExpr
2502
+ (parameterList)
2503
+ (subscriptExpr
2504
+ (unqualifiedAccessExpr
2505
+ (identifier))
2506
+ (intLiteralExpr)))))))