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 committed by Christian Clason
parent 23502d650a
commit ecdae44bae
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 [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 [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 [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 [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 [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 [lalrpop](https://github.com/traxys/tree-sitter-lalrpop) | unstable | `HF JL` | @traxys

View file

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

View file

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