parsers: add phpdoc parser (experimental)

This commit is contained in:
Michael Härtl 2022-01-17 12:20:47 +01:00 committed by Stephan Seitz
parent d0158c053d
commit d7c4ae886d
3 changed files with 54 additions and 1 deletions

View file

@ -245,6 +245,17 @@ list.php = {
maintainers = { "@tk-shirasaka" },
}
list.phpdoc = {
install_info = {
url = "https://github.com/claytonrcarter/tree-sitter-phpdoc",
files = { "src/parser.c" },
-- parser.c in the repo still based on TS 0.17 due to other dependencies
requires_generate_from_grammar = true,
generate_requires_npm = true,
},
experimental = true,
}
list.java = {
install_info = {
url = "https://github.com/tree-sitter/tree-sitter-java",