-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tree-sitter-php to latest upstream (#1521)
Brings in PHP 8.1 features, like enums, union types and the like.
- Loading branch information
1 parent
a7b0cc7
commit dd1f64d
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
Submodule tree-sitter-php
updated
28 files
+8 −0 | .github/pull_request_template.md | |
+1 −10 | .github/workflows/ci.yml | |
+1 −1 | binding.gyp | |
+1 −1 | bindings/node/binding.cc | |
+48 −0 | bindings/rust/README.md | |
+0 −11 | bindings/rust/build.rs | |
+1 −1 | bindings/rust/lib.rs | |
+390 −117 | grammar.js | |
+0 −9 | index.js | |
+4 −4 | package.json | |
+3 −2 | queries/highlights.scm | |
+1 −5 | script/known-failures.txt | |
+102 −0 | script/parse-examples.js | |
+0 −28 | src/binding.cc | |
+2,494 −753 | src/grammar.json | |
+1,464 −159 | src/node-types.json | |
+122,598 −61,213 | src/parser.c | |
+127 −2 | src/scanner.cc | |
+2 −2 | src/tree_sitter/parser.h | |
+80 −19 | test/corpus/class.txt | |
+308 −22 | test/corpus/declarations.txt | |
+1,031 −58 | test/corpus/expressions.txt | |
+40 −10 | test/corpus/interpolation.txt | |
+86 −9 | test/corpus/literals.txt | |
+76 −40 | test/corpus/statements.txt | |
+655 −0 | test/corpus/string.txt | |
+105 −7 | test/corpus/types.txt | |
+3 −0 | test/highlight/literals.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters