feat(kotlin)!: update parser and queries

Breaking change: removed nodes `"!in"` and `"!is"`.
This commit is contained in:
Christian Clason 2026-02-18 19:47:57 +01:00
parent 0211563445
commit ee29b6ceee
3 changed files with 4 additions and 6 deletions

View file

@ -159,7 +159,7 @@ jsx (queries only)[^jsx] | unstable | `HFIJ ` | @steelsojka
[kdl](https://github.com/tree-sitter-grammars/tree-sitter-kdl) | unstable | `HFIJL` | @amaanq
[kitty](https://github.com/OXY2DEV/tree-sitter-kitty) | unstable | `H  J ` | @OXY2DEV
[kos](https://github.com/kos-lang/tree-sitter-kos) | unstable | `HF JL` | @cdragan
[kotlin](https://github.com/fwcd/tree-sitter-kotlin) | unstable | `HF JL` | @SalBakraa
[kotlin](https://github.com/fwcd/tree-sitter-kotlin) | unstable | `HF JL` |
[koto](https://github.com/koto-lang/tree-sitter-koto) | unstable | `HF JL` | @irh
[kusto](https://github.com/Willem-J-an/tree-sitter-kusto) | unstable | `H  J ` | @Willem-J-an
[lalrpop](https://github.com/traxys/tree-sitter-lalrpop) | unstable | `HF JL` | @traxys

View file

@ -1204,10 +1204,9 @@ return {
},
kotlin = {
install_info = {
revision = '6b9788578ae23a1bc7c87e8d564e0daf7671dee3',
revision = '48c964a9ddfe4387968d1b6412d7b39106fb7f39',
url = 'https://github.com/fwcd/tree-sitter-kotlin',
},
maintainers = { '@SalBakraa' },
tier = 2,
},
koto = {

View file

@ -153,7 +153,7 @@
"charArrayOf" "emptyArray" "mapOf" "setOf" "listOf" "emptyMap" "emptySet" "emptyList"
"mutableMapOf" "mutableSetOf" "mutableListOf" "print" "println" "error" "TODO" "run"
"runCatching" "repeat" "lazy" "lazyOf" "enumValues" "enumValueOf" "assert" "check"
"checkNotNull" "require" "requireNotNull" "with" "suspend" "synchronized"))
"checkNotNull" "require" "requireNotNull" "with" "synchronized"))
; Literals
[
@ -343,12 +343,11 @@
"?:"
"!!"
"is"
"!is"
"in"
"!in"
"as"
"as?"
".."
"..<"
"->"
] @operator