Merge pull request #442 from NinoScript/update-tree-sitter-java

Update `tree-sitter-java` from `0.20.0` to `0.20.2`
This commit is contained in:
Hendrik van Antwerpen 2024-07-01 10:52:31 +02:00 коммит произвёл GitHub
Родитель 3c4d1a6c37 20ad4befe1
Коммит a66702fa75
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -40,7 +40,7 @@ cli = ["anyhow", "clap", "tree-sitter-stack-graphs/cli"]
[dependencies]
anyhow = { version = "1.0", optional = true }
clap = { version = "4", features = ["derive"], optional = true }
tree-sitter-java = { version = "=0.20.0" }
tree-sitter-java = { version = "=0.20.2" }
tree-sitter-stack-graphs = { version = "0.8", path = "../../tree-sitter-stack-graphs" }
[dev-dependencies]

Просмотреть файл

@ -1078,6 +1078,10 @@ attribute node_symbol = node => symbol = (source-text node), source_n
edge @child.lexical_scope -> @expr.lexical_scope
}
(condition (_) @child) @expr {
edge @child.lexical_scope -> @expr.lexical_scope
}
;; =============
;; Expressions
;; =============
@ -1107,6 +1111,7 @@ attribute node_symbol = node => symbol = (source-text node), source_n
(this)
; (identifier)
(parenthesized_expression)
(condition)
(object_creation_expression)
(field_access)
(array_access)