@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,1513 @@
1
+ ===
2
+ api/listNullable.pkl
3
+ ===
4
+
5
+ amends "../snippetTest.pkl"
6
+
7
+ local list1 = List(1, 2, 3)
8
+
9
+ examples {
10
+ ["getOrNull()"] {
11
+ list1.getOrNull(1)
12
+ list1.getOrNull(3)
13
+ list1.getOrNull(-1)
14
+ }
15
+
16
+ ["sublistOrNull()"] {
17
+ list1.sublistOrNull(1, 3)
18
+ list1.sublistOrNull(2, 4)
19
+ }
20
+
21
+ ["firstOrNull"] {
22
+ list1.firstOrNull
23
+ List().firstOrNull
24
+ }
25
+
26
+ ["restOrNull"] {
27
+ list1.restOrNull
28
+ List().restOrNull
29
+ }
30
+
31
+ ["lastOrNull"] {
32
+ list1.lastOrNull
33
+ List().lastOrNull
34
+ }
35
+
36
+ ["singleOrNull"] {
37
+ List(1).singleOrNull
38
+ list1.singleOrNull
39
+ List().singleOrNull
40
+ }
41
+
42
+ ["findOrNull()"] {
43
+ list1.findOrNull((x) -> x >= 2)
44
+ list1.findOrNull((x) -> false)
45
+ module.catch(() -> list1.findOrNull((x) -> "wrong type"))
46
+ }
47
+
48
+ ["findLastOrNull()"] {
49
+ list1.findLastOrNull((x) -> x >= 2)
50
+ list1.findLastOrNull((x) -> false)
51
+ module.catch(() -> list1.findLastOrNull((x) -> "wrong type"))
52
+ }
53
+
54
+ ["indexOfOrNull()"] {
55
+ list1.indexOfOrNull(2)
56
+ list1.indexOfOrNull(4)
57
+ }
58
+
59
+ ["lastIndexOfOrNull()"] {
60
+ list1.lastIndexOfOrNull(2)
61
+ list1.lastIndexOfOrNull(4)
62
+ }
63
+
64
+ ["findIndexOrNull()"] {
65
+ list1.findIndexOrNull((x) -> x >= 2)
66
+ list1.findIndexOrNull((x) -> false)
67
+ module.catch(() -> list1.findIndexOrNull((x) -> "wrong type"))
68
+ }
69
+
70
+ ["findLastIndexOrNull()"] {
71
+ list1.findLastIndexOrNull((x) -> x >= 2)
72
+ list1.findLastIndexOrNull((x) -> false)
73
+ module.catch(() -> list1.findLastIndexOrNull((x) -> "wrong type"))
74
+ }
75
+
76
+ ["reduceOrNull()"] {
77
+ list1.reduceOrNull((x, y) -> x + y)
78
+ List(1).reduceOrNull((x, y) -> x + y)
79
+ List().reduceOrNull((x, y) -> x + y)
80
+ }
81
+
82
+ ["replaceRangeOrNull()"] {
83
+ local list2 = List(1, 2, 3, 4, 5)
84
+ list2.replaceRangeOrNull(1, 4, List(9, 8))
85
+ list2.replaceRangeOrNull(1, 4, List(9))
86
+ list2.replaceRangeOrNull(1, 4, List())
87
+ list2.replaceRangeOrNull(1, 1, List(9, 8))
88
+ list2.replaceRangeOrNull(1, 1, List(9))
89
+ list2.replaceRangeOrNull(1, 1, List())
90
+ list2.replaceRangeOrNull(-1, 2, List(1))
91
+ list2.replaceRangeOrNull(3, 6, List(1))
92
+ }
93
+
94
+ ["replaceOrNull()"] {
95
+ list1.replaceOrNull(0, 42)
96
+ list1.replaceOrNull(1, 42)
97
+ list1.replaceOrNull(2, 42)
98
+
99
+ list1.replaceOrNull(-1, 42)
100
+ list1.replaceOrNull(3, 42)
101
+ List().replaceOrNull(0, 42)
102
+ }
103
+
104
+ ["minWithOrNull()"] {
105
+ local comparator = (x, y) -> x < y
106
+
107
+ list1.minWithOrNull(comparator)
108
+ List(1).minWithOrNull(comparator)
109
+ List().minWithOrNull(comparator)
110
+
111
+ list1.maxWithOrNull(comparator)
112
+ List(1).maxWithOrNull(comparator)
113
+ List().maxWithOrNull(comparator)
114
+ }
115
+
116
+ ["splitOrNull()"] {
117
+ list1.splitOrNull(0)
118
+ list1.splitOrNull(1)
119
+ list1.splitOrNull(2)
120
+ list1.splitOrNull(3)
121
+ List().split(0)
122
+ list1.splitOrNull(-1)
123
+ list1.splitOrNull(4)
124
+ }
125
+
126
+ ["minOrNull"] {
127
+ list1.minOrNull
128
+ List("Pigeon", "Barn Owl", "Parrot").minOrNull
129
+ List(3.9, -8.4, 42, -99999).minOrNull
130
+ List(42, 42, 42).minOrNull
131
+ List(42, 42.0).minOrNull
132
+ List(42.0, 42).minOrNull
133
+ List(11.gb, 100.mb, 12.tb).minOrNull
134
+ List(11.s, 100.ms, 3.d).minOrNull
135
+ List().minOrNull
136
+ module.catch(() -> List(1, "Pigeon", 3.d).minOrNull)
137
+ }
138
+
139
+ ["maxOrNull"] {
140
+ list1.maxOrNull
141
+ List("Pigeon", "Barn Owl", "Parrot").maxOrNull
142
+ List(3.9, -8.4, 42, -99999).maxOrNull
143
+ List(42, 42, 42).maxOrNull
144
+ List(42, 42.0).maxOrNull
145
+ List(42.0, 42).maxOrNull
146
+ List(11.gb, 100.mb, 12.tb).maxOrNull
147
+ List(11.s, 100.ms, 3.d).maxOrNull
148
+ List().maxOrNull
149
+ module.catch(() -> List(1, "Pigeon", 3.d).maxOrNull)
150
+ }
151
+
152
+ ["minByOrNull()"] {
153
+ list1.minByOrNull((it) -> it)
154
+ list1.minByOrNull((it) -> -it)
155
+ List("Pigeon", "Barn Owl", "Parrot").minByOrNull((it) -> it.length)
156
+ List("Pigeon", "Barn Owl", "Parrot").minByOrNull((it) -> it.reverse())
157
+ List(11.gb, 100.mb, 12.tb).minByOrNull((it) -> it.value)
158
+ List(11.gb, 100.mb, 12.tb).minByOrNull((it) -> it)
159
+ List(11.s, 100.ms, 12.min).minByOrNull((it) -> it.value)
160
+ List(11.s, 100.ms, 12.min).minByOrNull((it) -> it)
161
+ List().minByOrNull((it) -> it)
162
+ module.catch(() -> List(1, "Pigeon", 3.d).minByOrNull((it) -> it))
163
+ }
164
+
165
+ ["maxByOrNull()"] {
166
+ list1.maxByOrNull((it) -> it)
167
+ list1.maxByOrNull((it) -> -it)
168
+ List("Pigeon", "Barn Owl", "Parrot").maxByOrNull((it) -> it.length)
169
+ List("Pigeon", "Barn Owl", "Parrot").maxByOrNull((it) -> it.reverse())
170
+ List(11.gb, 100.mb, 12.tb).maxByOrNull((it) -> it.value)
171
+ List(11.gb, 100.mb, 12.tb).maxByOrNull((it) -> it)
172
+ List(11.s, 100.ms, 12.min).maxByOrNull((it) -> it.value)
173
+ List(11.s, 100.ms, 12.min).maxByOrNull((it) -> it)
174
+ List().maxByOrNull((it) -> it)
175
+ module.catch(() -> List(1, "Pigeon", 3.d).maxByOrNull((it) -> it))
176
+ }
177
+ }
178
+
179
+ ---
180
+
181
+ (module
182
+ (moduleHeader
183
+ (extendsOrAmendsClause
184
+ (stringConstant
185
+ (slStringLiteralPart))))
186
+ (classProperty
187
+ (modifier)
188
+ (identifier)
189
+ (unqualifiedAccessExpr
190
+ (identifier)
191
+ (argumentList
192
+ (intLiteralExpr)
193
+ (intLiteralExpr)
194
+ (intLiteralExpr))))
195
+ (classProperty
196
+ (identifier)
197
+ (objectBody
198
+ (objectEntry
199
+ (slStringLiteralExpr
200
+ (slStringLiteralPart))
201
+ (objectBody
202
+ (objectElement
203
+ (qualifiedAccessExpr
204
+ (unqualifiedAccessExpr
205
+ (identifier))
206
+ (identifier)
207
+ (argumentList
208
+ (intLiteralExpr))))
209
+ (objectElement
210
+ (qualifiedAccessExpr
211
+ (unqualifiedAccessExpr
212
+ (identifier))
213
+ (identifier)
214
+ (argumentList
215
+ (intLiteralExpr))))
216
+ (objectElement
217
+ (qualifiedAccessExpr
218
+ (unqualifiedAccessExpr
219
+ (identifier))
220
+ (identifier)
221
+ (argumentList
222
+ (unaryMinusExpr
223
+ (intLiteralExpr)))))))
224
+ (objectEntry
225
+ (slStringLiteralExpr
226
+ (slStringLiteralPart))
227
+ (objectBody
228
+ (objectElement
229
+ (qualifiedAccessExpr
230
+ (unqualifiedAccessExpr
231
+ (identifier))
232
+ (identifier)
233
+ (argumentList
234
+ (intLiteralExpr)
235
+ (intLiteralExpr))))
236
+ (objectElement
237
+ (qualifiedAccessExpr
238
+ (unqualifiedAccessExpr
239
+ (identifier))
240
+ (identifier)
241
+ (argumentList
242
+ (intLiteralExpr)
243
+ (intLiteralExpr))))))
244
+ (objectEntry
245
+ (slStringLiteralExpr
246
+ (slStringLiteralPart))
247
+ (objectBody
248
+ (objectElement
249
+ (qualifiedAccessExpr
250
+ (unqualifiedAccessExpr
251
+ (identifier))
252
+ (identifier)))
253
+ (objectElement
254
+ (qualifiedAccessExpr
255
+ (unqualifiedAccessExpr
256
+ (identifier)
257
+ (argumentList))
258
+ (identifier)))))
259
+ (objectEntry
260
+ (slStringLiteralExpr
261
+ (slStringLiteralPart))
262
+ (objectBody
263
+ (objectElement
264
+ (qualifiedAccessExpr
265
+ (unqualifiedAccessExpr
266
+ (identifier))
267
+ (identifier)))
268
+ (objectElement
269
+ (qualifiedAccessExpr
270
+ (unqualifiedAccessExpr
271
+ (identifier)
272
+ (argumentList))
273
+ (identifier)))))
274
+ (objectEntry
275
+ (slStringLiteralExpr
276
+ (slStringLiteralPart))
277
+ (objectBody
278
+ (objectElement
279
+ (qualifiedAccessExpr
280
+ (unqualifiedAccessExpr
281
+ (identifier))
282
+ (identifier)))
283
+ (objectElement
284
+ (qualifiedAccessExpr
285
+ (unqualifiedAccessExpr
286
+ (identifier)
287
+ (argumentList))
288
+ (identifier)))))
289
+ (objectEntry
290
+ (slStringLiteralExpr
291
+ (slStringLiteralPart))
292
+ (objectBody
293
+ (objectElement
294
+ (qualifiedAccessExpr
295
+ (unqualifiedAccessExpr
296
+ (identifier)
297
+ (argumentList
298
+ (intLiteralExpr)))
299
+ (identifier)))
300
+ (objectElement
301
+ (qualifiedAccessExpr
302
+ (unqualifiedAccessExpr
303
+ (identifier))
304
+ (identifier)))
305
+ (objectElement
306
+ (qualifiedAccessExpr
307
+ (unqualifiedAccessExpr
308
+ (identifier)
309
+ (argumentList))
310
+ (identifier)))))
311
+ (objectEntry
312
+ (slStringLiteralExpr
313
+ (slStringLiteralPart))
314
+ (objectBody
315
+ (objectElement
316
+ (qualifiedAccessExpr
317
+ (unqualifiedAccessExpr
318
+ (identifier))
319
+ (identifier)
320
+ (argumentList
321
+ (functionLiteralExpr
322
+ (parameterList
323
+ (typedIdentifier
324
+ (identifier)))
325
+ (comparisonExpr
326
+ (unqualifiedAccessExpr
327
+ (identifier))
328
+ (intLiteralExpr))))))
329
+ (objectElement
330
+ (qualifiedAccessExpr
331
+ (unqualifiedAccessExpr
332
+ (identifier))
333
+ (identifier)
334
+ (argumentList
335
+ (functionLiteralExpr
336
+ (parameterList
337
+ (typedIdentifier
338
+ (identifier)))
339
+ (falseLiteralExpr)))))
340
+ (objectElement
341
+ (qualifiedAccessExpr
342
+ (moduleExpr)
343
+ (identifier)
344
+ (argumentList
345
+ (functionLiteralExpr
346
+ (parameterList)
347
+ (qualifiedAccessExpr
348
+ (unqualifiedAccessExpr
349
+ (identifier))
350
+ (identifier)
351
+ (argumentList
352
+ (functionLiteralExpr
353
+ (parameterList
354
+ (typedIdentifier
355
+ (identifier)))
356
+ (slStringLiteralExpr
357
+ (slStringLiteralPart)))))))))))
358
+ (objectEntry
359
+ (slStringLiteralExpr
360
+ (slStringLiteralPart))
361
+ (objectBody
362
+ (objectElement
363
+ (qualifiedAccessExpr
364
+ (unqualifiedAccessExpr
365
+ (identifier))
366
+ (identifier)
367
+ (argumentList
368
+ (functionLiteralExpr
369
+ (parameterList
370
+ (typedIdentifier
371
+ (identifier)))
372
+ (comparisonExpr
373
+ (unqualifiedAccessExpr
374
+ (identifier))
375
+ (intLiteralExpr))))))
376
+ (objectElement
377
+ (qualifiedAccessExpr
378
+ (unqualifiedAccessExpr
379
+ (identifier))
380
+ (identifier)
381
+ (argumentList
382
+ (functionLiteralExpr
383
+ (parameterList
384
+ (typedIdentifier
385
+ (identifier)))
386
+ (falseLiteralExpr)))))
387
+ (objectElement
388
+ (qualifiedAccessExpr
389
+ (moduleExpr)
390
+ (identifier)
391
+ (argumentList
392
+ (functionLiteralExpr
393
+ (parameterList)
394
+ (qualifiedAccessExpr
395
+ (unqualifiedAccessExpr
396
+ (identifier))
397
+ (identifier)
398
+ (argumentList
399
+ (functionLiteralExpr
400
+ (parameterList
401
+ (typedIdentifier
402
+ (identifier)))
403
+ (slStringLiteralExpr
404
+ (slStringLiteralPart)))))))))))
405
+ (objectEntry
406
+ (slStringLiteralExpr
407
+ (slStringLiteralPart))
408
+ (objectBody
409
+ (objectElement
410
+ (qualifiedAccessExpr
411
+ (unqualifiedAccessExpr
412
+ (identifier))
413
+ (identifier)
414
+ (argumentList
415
+ (intLiteralExpr))))
416
+ (objectElement
417
+ (qualifiedAccessExpr
418
+ (unqualifiedAccessExpr
419
+ (identifier))
420
+ (identifier)
421
+ (argumentList
422
+ (intLiteralExpr))))))
423
+ (objectEntry
424
+ (slStringLiteralExpr
425
+ (slStringLiteralPart))
426
+ (objectBody
427
+ (objectElement
428
+ (qualifiedAccessExpr
429
+ (unqualifiedAccessExpr
430
+ (identifier))
431
+ (identifier)
432
+ (argumentList
433
+ (intLiteralExpr))))
434
+ (objectElement
435
+ (qualifiedAccessExpr
436
+ (unqualifiedAccessExpr
437
+ (identifier))
438
+ (identifier)
439
+ (argumentList
440
+ (intLiteralExpr))))))
441
+ (objectEntry
442
+ (slStringLiteralExpr
443
+ (slStringLiteralPart))
444
+ (objectBody
445
+ (objectElement
446
+ (qualifiedAccessExpr
447
+ (unqualifiedAccessExpr
448
+ (identifier))
449
+ (identifier)
450
+ (argumentList
451
+ (functionLiteralExpr
452
+ (parameterList
453
+ (typedIdentifier
454
+ (identifier)))
455
+ (comparisonExpr
456
+ (unqualifiedAccessExpr
457
+ (identifier))
458
+ (intLiteralExpr))))))
459
+ (objectElement
460
+ (qualifiedAccessExpr
461
+ (unqualifiedAccessExpr
462
+ (identifier))
463
+ (identifier)
464
+ (argumentList
465
+ (functionLiteralExpr
466
+ (parameterList
467
+ (typedIdentifier
468
+ (identifier)))
469
+ (falseLiteralExpr)))))
470
+ (objectElement
471
+ (qualifiedAccessExpr
472
+ (moduleExpr)
473
+ (identifier)
474
+ (argumentList
475
+ (functionLiteralExpr
476
+ (parameterList)
477
+ (qualifiedAccessExpr
478
+ (unqualifiedAccessExpr
479
+ (identifier))
480
+ (identifier)
481
+ (argumentList
482
+ (functionLiteralExpr
483
+ (parameterList
484
+ (typedIdentifier
485
+ (identifier)))
486
+ (slStringLiteralExpr
487
+ (slStringLiteralPart)))))))))))
488
+ (objectEntry
489
+ (slStringLiteralExpr
490
+ (slStringLiteralPart))
491
+ (objectBody
492
+ (objectElement
493
+ (qualifiedAccessExpr
494
+ (unqualifiedAccessExpr
495
+ (identifier))
496
+ (identifier)
497
+ (argumentList
498
+ (functionLiteralExpr
499
+ (parameterList
500
+ (typedIdentifier
501
+ (identifier)))
502
+ (comparisonExpr
503
+ (unqualifiedAccessExpr
504
+ (identifier))
505
+ (intLiteralExpr))))))
506
+ (objectElement
507
+ (qualifiedAccessExpr
508
+ (unqualifiedAccessExpr
509
+ (identifier))
510
+ (identifier)
511
+ (argumentList
512
+ (functionLiteralExpr
513
+ (parameterList
514
+ (typedIdentifier
515
+ (identifier)))
516
+ (falseLiteralExpr)))))
517
+ (objectElement
518
+ (qualifiedAccessExpr
519
+ (moduleExpr)
520
+ (identifier)
521
+ (argumentList
522
+ (functionLiteralExpr
523
+ (parameterList)
524
+ (qualifiedAccessExpr
525
+ (unqualifiedAccessExpr
526
+ (identifier))
527
+ (identifier)
528
+ (argumentList
529
+ (functionLiteralExpr
530
+ (parameterList
531
+ (typedIdentifier
532
+ (identifier)))
533
+ (slStringLiteralExpr
534
+ (slStringLiteralPart)))))))))))
535
+ (objectEntry
536
+ (slStringLiteralExpr
537
+ (slStringLiteralPart))
538
+ (objectBody
539
+ (objectElement
540
+ (qualifiedAccessExpr
541
+ (unqualifiedAccessExpr
542
+ (identifier))
543
+ (identifier)
544
+ (argumentList
545
+ (functionLiteralExpr
546
+ (parameterList
547
+ (typedIdentifier
548
+ (identifier))
549
+ (typedIdentifier
550
+ (identifier)))
551
+ (additiveExpr
552
+ (unqualifiedAccessExpr
553
+ (identifier))
554
+ (unqualifiedAccessExpr
555
+ (identifier)))))))
556
+ (objectElement
557
+ (qualifiedAccessExpr
558
+ (unqualifiedAccessExpr
559
+ (identifier)
560
+ (argumentList
561
+ (intLiteralExpr)))
562
+ (identifier)
563
+ (argumentList
564
+ (functionLiteralExpr
565
+ (parameterList
566
+ (typedIdentifier
567
+ (identifier))
568
+ (typedIdentifier
569
+ (identifier)))
570
+ (additiveExpr
571
+ (unqualifiedAccessExpr
572
+ (identifier))
573
+ (unqualifiedAccessExpr
574
+ (identifier)))))))
575
+ (objectElement
576
+ (qualifiedAccessExpr
577
+ (unqualifiedAccessExpr
578
+ (identifier)
579
+ (argumentList))
580
+ (identifier)
581
+ (argumentList
582
+ (functionLiteralExpr
583
+ (parameterList
584
+ (typedIdentifier
585
+ (identifier))
586
+ (typedIdentifier
587
+ (identifier)))
588
+ (additiveExpr
589
+ (unqualifiedAccessExpr
590
+ (identifier))
591
+ (unqualifiedAccessExpr
592
+ (identifier)))))))))
593
+ (objectEntry
594
+ (slStringLiteralExpr
595
+ (slStringLiteralPart))
596
+ (objectBody
597
+ (objectProperty
598
+ (modifier)
599
+ (identifier)
600
+ (unqualifiedAccessExpr
601
+ (identifier)
602
+ (argumentList
603
+ (intLiteralExpr)
604
+ (intLiteralExpr)
605
+ (intLiteralExpr)
606
+ (intLiteralExpr)
607
+ (intLiteralExpr))))
608
+ (objectElement
609
+ (qualifiedAccessExpr
610
+ (unqualifiedAccessExpr
611
+ (identifier))
612
+ (identifier)
613
+ (argumentList
614
+ (intLiteralExpr)
615
+ (intLiteralExpr)
616
+ (unqualifiedAccessExpr
617
+ (identifier)
618
+ (argumentList
619
+ (intLiteralExpr)
620
+ (intLiteralExpr))))))
621
+ (objectElement
622
+ (qualifiedAccessExpr
623
+ (unqualifiedAccessExpr
624
+ (identifier))
625
+ (identifier)
626
+ (argumentList
627
+ (intLiteralExpr)
628
+ (intLiteralExpr)
629
+ (unqualifiedAccessExpr
630
+ (identifier)
631
+ (argumentList
632
+ (intLiteralExpr))))))
633
+ (objectElement
634
+ (qualifiedAccessExpr
635
+ (unqualifiedAccessExpr
636
+ (identifier))
637
+ (identifier)
638
+ (argumentList
639
+ (intLiteralExpr)
640
+ (intLiteralExpr)
641
+ (unqualifiedAccessExpr
642
+ (identifier)
643
+ (argumentList)))))
644
+ (objectElement
645
+ (qualifiedAccessExpr
646
+ (unqualifiedAccessExpr
647
+ (identifier))
648
+ (identifier)
649
+ (argumentList
650
+ (intLiteralExpr)
651
+ (intLiteralExpr)
652
+ (unqualifiedAccessExpr
653
+ (identifier)
654
+ (argumentList
655
+ (intLiteralExpr)
656
+ (intLiteralExpr))))))
657
+ (objectElement
658
+ (qualifiedAccessExpr
659
+ (unqualifiedAccessExpr
660
+ (identifier))
661
+ (identifier)
662
+ (argumentList
663
+ (intLiteralExpr)
664
+ (intLiteralExpr)
665
+ (unqualifiedAccessExpr
666
+ (identifier)
667
+ (argumentList
668
+ (intLiteralExpr))))))
669
+ (objectElement
670
+ (qualifiedAccessExpr
671
+ (unqualifiedAccessExpr
672
+ (identifier))
673
+ (identifier)
674
+ (argumentList
675
+ (intLiteralExpr)
676
+ (intLiteralExpr)
677
+ (unqualifiedAccessExpr
678
+ (identifier)
679
+ (argumentList)))))
680
+ (objectElement
681
+ (qualifiedAccessExpr
682
+ (unqualifiedAccessExpr
683
+ (identifier))
684
+ (identifier)
685
+ (argumentList
686
+ (unaryMinusExpr
687
+ (intLiteralExpr))
688
+ (intLiteralExpr)
689
+ (unqualifiedAccessExpr
690
+ (identifier)
691
+ (argumentList
692
+ (intLiteralExpr))))))
693
+ (objectElement
694
+ (qualifiedAccessExpr
695
+ (unqualifiedAccessExpr
696
+ (identifier))
697
+ (identifier)
698
+ (argumentList
699
+ (intLiteralExpr)
700
+ (intLiteralExpr)
701
+ (unqualifiedAccessExpr
702
+ (identifier)
703
+ (argumentList
704
+ (intLiteralExpr))))))))
705
+ (objectEntry
706
+ (slStringLiteralExpr
707
+ (slStringLiteralPart))
708
+ (objectBody
709
+ (objectElement
710
+ (qualifiedAccessExpr
711
+ (unqualifiedAccessExpr
712
+ (identifier))
713
+ (identifier)
714
+ (argumentList
715
+ (intLiteralExpr)
716
+ (intLiteralExpr))))
717
+ (objectElement
718
+ (qualifiedAccessExpr
719
+ (unqualifiedAccessExpr
720
+ (identifier))
721
+ (identifier)
722
+ (argumentList
723
+ (intLiteralExpr)
724
+ (intLiteralExpr))))
725
+ (objectElement
726
+ (qualifiedAccessExpr
727
+ (unqualifiedAccessExpr
728
+ (identifier))
729
+ (identifier)
730
+ (argumentList
731
+ (intLiteralExpr)
732
+ (intLiteralExpr))))
733
+ (objectElement
734
+ (qualifiedAccessExpr
735
+ (unqualifiedAccessExpr
736
+ (identifier))
737
+ (identifier)
738
+ (argumentList
739
+ (unaryMinusExpr
740
+ (intLiteralExpr))
741
+ (intLiteralExpr))))
742
+ (objectElement
743
+ (qualifiedAccessExpr
744
+ (unqualifiedAccessExpr
745
+ (identifier))
746
+ (identifier)
747
+ (argumentList
748
+ (intLiteralExpr)
749
+ (intLiteralExpr))))
750
+ (objectElement
751
+ (qualifiedAccessExpr
752
+ (unqualifiedAccessExpr
753
+ (identifier)
754
+ (argumentList))
755
+ (identifier)
756
+ (argumentList
757
+ (intLiteralExpr)
758
+ (intLiteralExpr))))))
759
+ (objectEntry
760
+ (slStringLiteralExpr
761
+ (slStringLiteralPart))
762
+ (objectBody
763
+ (objectProperty
764
+ (modifier)
765
+ (identifier)
766
+ (functionLiteralExpr
767
+ (parameterList
768
+ (typedIdentifier
769
+ (identifier))
770
+ (typedIdentifier
771
+ (identifier)))
772
+ (comparisonExpr
773
+ (unqualifiedAccessExpr
774
+ (identifier))
775
+ (unqualifiedAccessExpr
776
+ (identifier)))))
777
+ (objectElement
778
+ (qualifiedAccessExpr
779
+ (unqualifiedAccessExpr
780
+ (identifier))
781
+ (identifier)
782
+ (argumentList
783
+ (unqualifiedAccessExpr
784
+ (identifier)))))
785
+ (objectElement
786
+ (qualifiedAccessExpr
787
+ (unqualifiedAccessExpr
788
+ (identifier)
789
+ (argumentList
790
+ (intLiteralExpr)))
791
+ (identifier)
792
+ (argumentList
793
+ (unqualifiedAccessExpr
794
+ (identifier)))))
795
+ (objectElement
796
+ (qualifiedAccessExpr
797
+ (unqualifiedAccessExpr
798
+ (identifier)
799
+ (argumentList))
800
+ (identifier)
801
+ (argumentList
802
+ (unqualifiedAccessExpr
803
+ (identifier)))))
804
+ (objectElement
805
+ (qualifiedAccessExpr
806
+ (unqualifiedAccessExpr
807
+ (identifier))
808
+ (identifier)
809
+ (argumentList
810
+ (unqualifiedAccessExpr
811
+ (identifier)))))
812
+ (objectElement
813
+ (qualifiedAccessExpr
814
+ (unqualifiedAccessExpr
815
+ (identifier)
816
+ (argumentList
817
+ (intLiteralExpr)))
818
+ (identifier)
819
+ (argumentList
820
+ (unqualifiedAccessExpr
821
+ (identifier)))))
822
+ (objectElement
823
+ (qualifiedAccessExpr
824
+ (unqualifiedAccessExpr
825
+ (identifier)
826
+ (argumentList))
827
+ (identifier)
828
+ (argumentList
829
+ (unqualifiedAccessExpr
830
+ (identifier)))))))
831
+ (objectEntry
832
+ (slStringLiteralExpr
833
+ (slStringLiteralPart))
834
+ (objectBody
835
+ (objectElement
836
+ (qualifiedAccessExpr
837
+ (unqualifiedAccessExpr
838
+ (identifier))
839
+ (identifier)
840
+ (argumentList
841
+ (intLiteralExpr))))
842
+ (objectElement
843
+ (qualifiedAccessExpr
844
+ (unqualifiedAccessExpr
845
+ (identifier))
846
+ (identifier)
847
+ (argumentList
848
+ (intLiteralExpr))))
849
+ (objectElement
850
+ (qualifiedAccessExpr
851
+ (unqualifiedAccessExpr
852
+ (identifier))
853
+ (identifier)
854
+ (argumentList
855
+ (intLiteralExpr))))
856
+ (objectElement
857
+ (qualifiedAccessExpr
858
+ (unqualifiedAccessExpr
859
+ (identifier))
860
+ (identifier)
861
+ (argumentList
862
+ (intLiteralExpr))))
863
+ (objectElement
864
+ (qualifiedAccessExpr
865
+ (unqualifiedAccessExpr
866
+ (identifier)
867
+ (argumentList))
868
+ (identifier)
869
+ (argumentList
870
+ (intLiteralExpr))))
871
+ (objectElement
872
+ (qualifiedAccessExpr
873
+ (unqualifiedAccessExpr
874
+ (identifier))
875
+ (identifier)
876
+ (argumentList
877
+ (unaryMinusExpr
878
+ (intLiteralExpr)))))
879
+ (objectElement
880
+ (qualifiedAccessExpr
881
+ (unqualifiedAccessExpr
882
+ (identifier))
883
+ (identifier)
884
+ (argumentList
885
+ (intLiteralExpr))))))
886
+ (objectEntry
887
+ (slStringLiteralExpr
888
+ (slStringLiteralPart))
889
+ (objectBody
890
+ (objectElement
891
+ (qualifiedAccessExpr
892
+ (unqualifiedAccessExpr
893
+ (identifier))
894
+ (identifier)))
895
+ (objectElement
896
+ (qualifiedAccessExpr
897
+ (unqualifiedAccessExpr
898
+ (identifier)
899
+ (argumentList
900
+ (slStringLiteralExpr
901
+ (slStringLiteralPart))
902
+ (slStringLiteralExpr
903
+ (slStringLiteralPart))
904
+ (slStringLiteralExpr
905
+ (slStringLiteralPart))))
906
+ (identifier)))
907
+ (objectElement
908
+ (qualifiedAccessExpr
909
+ (unqualifiedAccessExpr
910
+ (identifier)
911
+ (argumentList
912
+ (floatLiteralExpr)
913
+ (unaryMinusExpr
914
+ (floatLiteralExpr))
915
+ (intLiteralExpr)
916
+ (unaryMinusExpr
917
+ (intLiteralExpr))))
918
+ (identifier)))
919
+ (objectElement
920
+ (qualifiedAccessExpr
921
+ (unqualifiedAccessExpr
922
+ (identifier)
923
+ (argumentList
924
+ (intLiteralExpr)
925
+ (intLiteralExpr)
926
+ (intLiteralExpr)))
927
+ (identifier)))
928
+ (objectElement
929
+ (qualifiedAccessExpr
930
+ (unqualifiedAccessExpr
931
+ (identifier)
932
+ (argumentList
933
+ (intLiteralExpr)
934
+ (floatLiteralExpr)))
935
+ (identifier)))
936
+ (objectElement
937
+ (qualifiedAccessExpr
938
+ (unqualifiedAccessExpr
939
+ (identifier)
940
+ (argumentList
941
+ (floatLiteralExpr)
942
+ (intLiteralExpr)))
943
+ (identifier)))
944
+ (objectElement
945
+ (qualifiedAccessExpr
946
+ (unqualifiedAccessExpr
947
+ (identifier)
948
+ (argumentList
949
+ (qualifiedAccessExpr
950
+ (intLiteralExpr)
951
+ (identifier))
952
+ (qualifiedAccessExpr
953
+ (intLiteralExpr)
954
+ (identifier))
955
+ (qualifiedAccessExpr
956
+ (intLiteralExpr)
957
+ (identifier))))
958
+ (identifier)))
959
+ (objectElement
960
+ (qualifiedAccessExpr
961
+ (unqualifiedAccessExpr
962
+ (identifier)
963
+ (argumentList
964
+ (qualifiedAccessExpr
965
+ (intLiteralExpr)
966
+ (identifier))
967
+ (qualifiedAccessExpr
968
+ (intLiteralExpr)
969
+ (identifier))
970
+ (qualifiedAccessExpr
971
+ (intLiteralExpr)
972
+ (identifier))))
973
+ (identifier)))
974
+ (objectElement
975
+ (qualifiedAccessExpr
976
+ (unqualifiedAccessExpr
977
+ (identifier)
978
+ (argumentList))
979
+ (identifier)))
980
+ (objectElement
981
+ (qualifiedAccessExpr
982
+ (moduleExpr)
983
+ (identifier)
984
+ (argumentList
985
+ (functionLiteralExpr
986
+ (parameterList)
987
+ (qualifiedAccessExpr
988
+ (unqualifiedAccessExpr
989
+ (identifier)
990
+ (argumentList
991
+ (intLiteralExpr)
992
+ (slStringLiteralExpr
993
+ (slStringLiteralPart))
994
+ (qualifiedAccessExpr
995
+ (intLiteralExpr)
996
+ (identifier))))
997
+ (identifier))))))))
998
+ (objectEntry
999
+ (slStringLiteralExpr
1000
+ (slStringLiteralPart))
1001
+ (objectBody
1002
+ (objectElement
1003
+ (qualifiedAccessExpr
1004
+ (unqualifiedAccessExpr
1005
+ (identifier))
1006
+ (identifier)))
1007
+ (objectElement
1008
+ (qualifiedAccessExpr
1009
+ (unqualifiedAccessExpr
1010
+ (identifier)
1011
+ (argumentList
1012
+ (slStringLiteralExpr
1013
+ (slStringLiteralPart))
1014
+ (slStringLiteralExpr
1015
+ (slStringLiteralPart))
1016
+ (slStringLiteralExpr
1017
+ (slStringLiteralPart))))
1018
+ (identifier)))
1019
+ (objectElement
1020
+ (qualifiedAccessExpr
1021
+ (unqualifiedAccessExpr
1022
+ (identifier)
1023
+ (argumentList
1024
+ (floatLiteralExpr)
1025
+ (unaryMinusExpr
1026
+ (floatLiteralExpr))
1027
+ (intLiteralExpr)
1028
+ (unaryMinusExpr
1029
+ (intLiteralExpr))))
1030
+ (identifier)))
1031
+ (objectElement
1032
+ (qualifiedAccessExpr
1033
+ (unqualifiedAccessExpr
1034
+ (identifier)
1035
+ (argumentList
1036
+ (intLiteralExpr)
1037
+ (intLiteralExpr)
1038
+ (intLiteralExpr)))
1039
+ (identifier)))
1040
+ (objectElement
1041
+ (qualifiedAccessExpr
1042
+ (unqualifiedAccessExpr
1043
+ (identifier)
1044
+ (argumentList
1045
+ (intLiteralExpr)
1046
+ (floatLiteralExpr)))
1047
+ (identifier)))
1048
+ (objectElement
1049
+ (qualifiedAccessExpr
1050
+ (unqualifiedAccessExpr
1051
+ (identifier)
1052
+ (argumentList
1053
+ (floatLiteralExpr)
1054
+ (intLiteralExpr)))
1055
+ (identifier)))
1056
+ (objectElement
1057
+ (qualifiedAccessExpr
1058
+ (unqualifiedAccessExpr
1059
+ (identifier)
1060
+ (argumentList
1061
+ (qualifiedAccessExpr
1062
+ (intLiteralExpr)
1063
+ (identifier))
1064
+ (qualifiedAccessExpr
1065
+ (intLiteralExpr)
1066
+ (identifier))
1067
+ (qualifiedAccessExpr
1068
+ (intLiteralExpr)
1069
+ (identifier))))
1070
+ (identifier)))
1071
+ (objectElement
1072
+ (qualifiedAccessExpr
1073
+ (unqualifiedAccessExpr
1074
+ (identifier)
1075
+ (argumentList
1076
+ (qualifiedAccessExpr
1077
+ (intLiteralExpr)
1078
+ (identifier))
1079
+ (qualifiedAccessExpr
1080
+ (intLiteralExpr)
1081
+ (identifier))
1082
+ (qualifiedAccessExpr
1083
+ (intLiteralExpr)
1084
+ (identifier))))
1085
+ (identifier)))
1086
+ (objectElement
1087
+ (qualifiedAccessExpr
1088
+ (unqualifiedAccessExpr
1089
+ (identifier)
1090
+ (argumentList))
1091
+ (identifier)))
1092
+ (objectElement
1093
+ (qualifiedAccessExpr
1094
+ (moduleExpr)
1095
+ (identifier)
1096
+ (argumentList
1097
+ (functionLiteralExpr
1098
+ (parameterList)
1099
+ (qualifiedAccessExpr
1100
+ (unqualifiedAccessExpr
1101
+ (identifier)
1102
+ (argumentList
1103
+ (intLiteralExpr)
1104
+ (slStringLiteralExpr
1105
+ (slStringLiteralPart))
1106
+ (qualifiedAccessExpr
1107
+ (intLiteralExpr)
1108
+ (identifier))))
1109
+ (identifier))))))))
1110
+ (objectEntry
1111
+ (slStringLiteralExpr
1112
+ (slStringLiteralPart))
1113
+ (objectBody
1114
+ (objectElement
1115
+ (qualifiedAccessExpr
1116
+ (unqualifiedAccessExpr
1117
+ (identifier))
1118
+ (identifier)
1119
+ (argumentList
1120
+ (functionLiteralExpr
1121
+ (parameterList
1122
+ (typedIdentifier
1123
+ (identifier)))
1124
+ (unqualifiedAccessExpr
1125
+ (identifier))))))
1126
+ (objectElement
1127
+ (qualifiedAccessExpr
1128
+ (unqualifiedAccessExpr
1129
+ (identifier))
1130
+ (identifier)
1131
+ (argumentList
1132
+ (functionLiteralExpr
1133
+ (parameterList
1134
+ (typedIdentifier
1135
+ (identifier)))
1136
+ (unaryMinusExpr
1137
+ (unqualifiedAccessExpr
1138
+ (identifier)))))))
1139
+ (objectElement
1140
+ (qualifiedAccessExpr
1141
+ (unqualifiedAccessExpr
1142
+ (identifier)
1143
+ (argumentList
1144
+ (slStringLiteralExpr
1145
+ (slStringLiteralPart))
1146
+ (slStringLiteralExpr
1147
+ (slStringLiteralPart))
1148
+ (slStringLiteralExpr
1149
+ (slStringLiteralPart))))
1150
+ (identifier)
1151
+ (argumentList
1152
+ (functionLiteralExpr
1153
+ (parameterList
1154
+ (typedIdentifier
1155
+ (identifier)))
1156
+ (qualifiedAccessExpr
1157
+ (unqualifiedAccessExpr
1158
+ (identifier))
1159
+ (identifier))))))
1160
+ (objectElement
1161
+ (qualifiedAccessExpr
1162
+ (unqualifiedAccessExpr
1163
+ (identifier)
1164
+ (argumentList
1165
+ (slStringLiteralExpr
1166
+ (slStringLiteralPart))
1167
+ (slStringLiteralExpr
1168
+ (slStringLiteralPart))
1169
+ (slStringLiteralExpr
1170
+ (slStringLiteralPart))))
1171
+ (identifier)
1172
+ (argumentList
1173
+ (functionLiteralExpr
1174
+ (parameterList
1175
+ (typedIdentifier
1176
+ (identifier)))
1177
+ (qualifiedAccessExpr
1178
+ (unqualifiedAccessExpr
1179
+ (identifier))
1180
+ (identifier)
1181
+ (argumentList))))))
1182
+ (objectElement
1183
+ (qualifiedAccessExpr
1184
+ (unqualifiedAccessExpr
1185
+ (identifier)
1186
+ (argumentList
1187
+ (qualifiedAccessExpr
1188
+ (intLiteralExpr)
1189
+ (identifier))
1190
+ (qualifiedAccessExpr
1191
+ (intLiteralExpr)
1192
+ (identifier))
1193
+ (qualifiedAccessExpr
1194
+ (intLiteralExpr)
1195
+ (identifier))))
1196
+ (identifier)
1197
+ (argumentList
1198
+ (functionLiteralExpr
1199
+ (parameterList
1200
+ (typedIdentifier
1201
+ (identifier)))
1202
+ (qualifiedAccessExpr
1203
+ (unqualifiedAccessExpr
1204
+ (identifier))
1205
+ (identifier))))))
1206
+ (objectElement
1207
+ (qualifiedAccessExpr
1208
+ (unqualifiedAccessExpr
1209
+ (identifier)
1210
+ (argumentList
1211
+ (qualifiedAccessExpr
1212
+ (intLiteralExpr)
1213
+ (identifier))
1214
+ (qualifiedAccessExpr
1215
+ (intLiteralExpr)
1216
+ (identifier))
1217
+ (qualifiedAccessExpr
1218
+ (intLiteralExpr)
1219
+ (identifier))))
1220
+ (identifier)
1221
+ (argumentList
1222
+ (functionLiteralExpr
1223
+ (parameterList
1224
+ (typedIdentifier
1225
+ (identifier)))
1226
+ (unqualifiedAccessExpr
1227
+ (identifier))))))
1228
+ (objectElement
1229
+ (qualifiedAccessExpr
1230
+ (unqualifiedAccessExpr
1231
+ (identifier)
1232
+ (argumentList
1233
+ (qualifiedAccessExpr
1234
+ (intLiteralExpr)
1235
+ (identifier))
1236
+ (qualifiedAccessExpr
1237
+ (intLiteralExpr)
1238
+ (identifier))
1239
+ (qualifiedAccessExpr
1240
+ (intLiteralExpr)
1241
+ (identifier))))
1242
+ (identifier)
1243
+ (argumentList
1244
+ (functionLiteralExpr
1245
+ (parameterList
1246
+ (typedIdentifier
1247
+ (identifier)))
1248
+ (qualifiedAccessExpr
1249
+ (unqualifiedAccessExpr
1250
+ (identifier))
1251
+ (identifier))))))
1252
+ (objectElement
1253
+ (qualifiedAccessExpr
1254
+ (unqualifiedAccessExpr
1255
+ (identifier)
1256
+ (argumentList
1257
+ (qualifiedAccessExpr
1258
+ (intLiteralExpr)
1259
+ (identifier))
1260
+ (qualifiedAccessExpr
1261
+ (intLiteralExpr)
1262
+ (identifier))
1263
+ (qualifiedAccessExpr
1264
+ (intLiteralExpr)
1265
+ (identifier))))
1266
+ (identifier)
1267
+ (argumentList
1268
+ (functionLiteralExpr
1269
+ (parameterList
1270
+ (typedIdentifier
1271
+ (identifier)))
1272
+ (unqualifiedAccessExpr
1273
+ (identifier))))))
1274
+ (objectElement
1275
+ (qualifiedAccessExpr
1276
+ (unqualifiedAccessExpr
1277
+ (identifier)
1278
+ (argumentList))
1279
+ (identifier)
1280
+ (argumentList
1281
+ (functionLiteralExpr
1282
+ (parameterList
1283
+ (typedIdentifier
1284
+ (identifier)))
1285
+ (unqualifiedAccessExpr
1286
+ (identifier))))))
1287
+ (objectElement
1288
+ (qualifiedAccessExpr
1289
+ (moduleExpr)
1290
+ (identifier)
1291
+ (argumentList
1292
+ (functionLiteralExpr
1293
+ (parameterList)
1294
+ (qualifiedAccessExpr
1295
+ (unqualifiedAccessExpr
1296
+ (identifier)
1297
+ (argumentList
1298
+ (intLiteralExpr)
1299
+ (slStringLiteralExpr
1300
+ (slStringLiteralPart))
1301
+ (qualifiedAccessExpr
1302
+ (intLiteralExpr)
1303
+ (identifier))))
1304
+ (identifier)
1305
+ (argumentList
1306
+ (functionLiteralExpr
1307
+ (parameterList
1308
+ (typedIdentifier
1309
+ (identifier)))
1310
+ (unqualifiedAccessExpr
1311
+ (identifier)))))))))))
1312
+ (objectEntry
1313
+ (slStringLiteralExpr
1314
+ (slStringLiteralPart))
1315
+ (objectBody
1316
+ (objectElement
1317
+ (qualifiedAccessExpr
1318
+ (unqualifiedAccessExpr
1319
+ (identifier))
1320
+ (identifier)
1321
+ (argumentList
1322
+ (functionLiteralExpr
1323
+ (parameterList
1324
+ (typedIdentifier
1325
+ (identifier)))
1326
+ (unqualifiedAccessExpr
1327
+ (identifier))))))
1328
+ (objectElement
1329
+ (qualifiedAccessExpr
1330
+ (unqualifiedAccessExpr
1331
+ (identifier))
1332
+ (identifier)
1333
+ (argumentList
1334
+ (functionLiteralExpr
1335
+ (parameterList
1336
+ (typedIdentifier
1337
+ (identifier)))
1338
+ (unaryMinusExpr
1339
+ (unqualifiedAccessExpr
1340
+ (identifier)))))))
1341
+ (objectElement
1342
+ (qualifiedAccessExpr
1343
+ (unqualifiedAccessExpr
1344
+ (identifier)
1345
+ (argumentList
1346
+ (slStringLiteralExpr
1347
+ (slStringLiteralPart))
1348
+ (slStringLiteralExpr
1349
+ (slStringLiteralPart))
1350
+ (slStringLiteralExpr
1351
+ (slStringLiteralPart))))
1352
+ (identifier)
1353
+ (argumentList
1354
+ (functionLiteralExpr
1355
+ (parameterList
1356
+ (typedIdentifier
1357
+ (identifier)))
1358
+ (qualifiedAccessExpr
1359
+ (unqualifiedAccessExpr
1360
+ (identifier))
1361
+ (identifier))))))
1362
+ (objectElement
1363
+ (qualifiedAccessExpr
1364
+ (unqualifiedAccessExpr
1365
+ (identifier)
1366
+ (argumentList
1367
+ (slStringLiteralExpr
1368
+ (slStringLiteralPart))
1369
+ (slStringLiteralExpr
1370
+ (slStringLiteralPart))
1371
+ (slStringLiteralExpr
1372
+ (slStringLiteralPart))))
1373
+ (identifier)
1374
+ (argumentList
1375
+ (functionLiteralExpr
1376
+ (parameterList
1377
+ (typedIdentifier
1378
+ (identifier)))
1379
+ (qualifiedAccessExpr
1380
+ (unqualifiedAccessExpr
1381
+ (identifier))
1382
+ (identifier)
1383
+ (argumentList))))))
1384
+ (objectElement
1385
+ (qualifiedAccessExpr
1386
+ (unqualifiedAccessExpr
1387
+ (identifier)
1388
+ (argumentList
1389
+ (qualifiedAccessExpr
1390
+ (intLiteralExpr)
1391
+ (identifier))
1392
+ (qualifiedAccessExpr
1393
+ (intLiteralExpr)
1394
+ (identifier))
1395
+ (qualifiedAccessExpr
1396
+ (intLiteralExpr)
1397
+ (identifier))))
1398
+ (identifier)
1399
+ (argumentList
1400
+ (functionLiteralExpr
1401
+ (parameterList
1402
+ (typedIdentifier
1403
+ (identifier)))
1404
+ (qualifiedAccessExpr
1405
+ (unqualifiedAccessExpr
1406
+ (identifier))
1407
+ (identifier))))))
1408
+ (objectElement
1409
+ (qualifiedAccessExpr
1410
+ (unqualifiedAccessExpr
1411
+ (identifier)
1412
+ (argumentList
1413
+ (qualifiedAccessExpr
1414
+ (intLiteralExpr)
1415
+ (identifier))
1416
+ (qualifiedAccessExpr
1417
+ (intLiteralExpr)
1418
+ (identifier))
1419
+ (qualifiedAccessExpr
1420
+ (intLiteralExpr)
1421
+ (identifier))))
1422
+ (identifier)
1423
+ (argumentList
1424
+ (functionLiteralExpr
1425
+ (parameterList
1426
+ (typedIdentifier
1427
+ (identifier)))
1428
+ (unqualifiedAccessExpr
1429
+ (identifier))))))
1430
+ (objectElement
1431
+ (qualifiedAccessExpr
1432
+ (unqualifiedAccessExpr
1433
+ (identifier)
1434
+ (argumentList
1435
+ (qualifiedAccessExpr
1436
+ (intLiteralExpr)
1437
+ (identifier))
1438
+ (qualifiedAccessExpr
1439
+ (intLiteralExpr)
1440
+ (identifier))
1441
+ (qualifiedAccessExpr
1442
+ (intLiteralExpr)
1443
+ (identifier))))
1444
+ (identifier)
1445
+ (argumentList
1446
+ (functionLiteralExpr
1447
+ (parameterList
1448
+ (typedIdentifier
1449
+ (identifier)))
1450
+ (qualifiedAccessExpr
1451
+ (unqualifiedAccessExpr
1452
+ (identifier))
1453
+ (identifier))))))
1454
+ (objectElement
1455
+ (qualifiedAccessExpr
1456
+ (unqualifiedAccessExpr
1457
+ (identifier)
1458
+ (argumentList
1459
+ (qualifiedAccessExpr
1460
+ (intLiteralExpr)
1461
+ (identifier))
1462
+ (qualifiedAccessExpr
1463
+ (intLiteralExpr)
1464
+ (identifier))
1465
+ (qualifiedAccessExpr
1466
+ (intLiteralExpr)
1467
+ (identifier))))
1468
+ (identifier)
1469
+ (argumentList
1470
+ (functionLiteralExpr
1471
+ (parameterList
1472
+ (typedIdentifier
1473
+ (identifier)))
1474
+ (unqualifiedAccessExpr
1475
+ (identifier))))))
1476
+ (objectElement
1477
+ (qualifiedAccessExpr
1478
+ (unqualifiedAccessExpr
1479
+ (identifier)
1480
+ (argumentList))
1481
+ (identifier)
1482
+ (argumentList
1483
+ (functionLiteralExpr
1484
+ (parameterList
1485
+ (typedIdentifier
1486
+ (identifier)))
1487
+ (unqualifiedAccessExpr
1488
+ (identifier))))))
1489
+ (objectElement
1490
+ (qualifiedAccessExpr
1491
+ (moduleExpr)
1492
+ (identifier)
1493
+ (argumentList
1494
+ (functionLiteralExpr
1495
+ (parameterList)
1496
+ (qualifiedAccessExpr
1497
+ (unqualifiedAccessExpr
1498
+ (identifier)
1499
+ (argumentList
1500
+ (intLiteralExpr)
1501
+ (slStringLiteralExpr
1502
+ (slStringLiteralPart))
1503
+ (qualifiedAccessExpr
1504
+ (intLiteralExpr)
1505
+ (identifier))))
1506
+ (identifier)
1507
+ (argumentList
1508
+ (functionLiteralExpr
1509
+ (parameterList
1510
+ (typedIdentifier
1511
+ (identifier)))
1512
+ (unqualifiedAccessExpr
1513
+ (identifier))))))))))))))