1 file changed
+1
-1
lines changed- .editorconfig+39
- .gitattributes+15-3
- .github/ISSUE_TEMPLATE/bug_report.yml+59
- .github/ISSUE_TEMPLATE/config.yml+1
- .github/ISSUE_TEMPLATE/feature_request.yml+36
- .github/pull_request_template.md-8
- .github/workflows/ci.yml+51-14
- .github/workflows/fuzz.yml+30
- .github/workflows/lint.yml+26
- .github/workflows/publish.yml+23
- .gitignore+37-6
- .npmignore-5
- Cargo.lock+89
- Cargo.toml+23-11
- LICENSE+1
- Makefile+14
- Package.swift+60
- README.md+14-6
- binding.gyp+22-9
- bindings/c/tree-sitter-php.h+16
- bindings/c/tree-sitter-php.pc.in+11
- bindings/c/tree-sitter-php_only.h+16
- bindings/c/tree-sitter-php_only.pc.in+11
- bindings/go/binding_test.go+22
- bindings/go/php.go+14
- bindings/go/php_only.go+14
- bindings/node/binding.cc+29-26
- bindings/node/binding_test.js+10
- bindings/node/index.d.ts+29
- bindings/node/index.js+6-17
- bindings/node/php.js+1
- bindings/node/php_only.js+1
- bindings/python/tests/test_binding.py+12
- bindings/python/tree_sitter_php/__init__.py+31
- bindings/python/tree_sitter_php/__init__.pyi+9
- bindings/python/tree_sitter_php/binding.c+34
- bindings/python/tree_sitter_php/py.typed
- bindings/rust/README.md-48
- bindings/rust/build.rs+24-22
- bindings/rust/lib.rs+33-20
- bindings/swift/TreeSitterPHP/php.h+17
- bindings/swift/TreeSitterPHPTests/TreeSitterPHPTests.swift+15
- common/common.mak+111
- common/define-grammar.js+1.7k
- common/scanner.h+543
- eslint.config.mjs+43
- go.mod+9
- go.sum+34
- grammar.js-1.4k
- package-lock.json+1.5k
- package.json+77-18
- php/Makefile+3
- php/grammar.js+3
- php/package.json+3
- php/src/grammar.json+2.6k-1.8k
- php/src/node-types.json+6.0k
- php/src/parser.c+156.5k
- php/src/scanner.c+17
- php/src/tree_sitter/alloc.h+54
- php/src/tree_sitter/array.h+290
- php/src/tree_sitter/parser.h+56-13
- php_only/Makefile+3
- php_only/grammar.js+3
- php_only/package.json+3
- php_only/src/grammar.json+9.2k
- php_only/src/node-types.json+1.1k-436
- php_only/src/parser.c+143.4k
- php_only/src/scanner.c+17
- php_only/src/tree_sitter/alloc.h+54
- php_only/src/tree_sitter/array.h+290
- php_only/src/tree_sitter/parser.h+266
- pyproject.toml+33
- queries/highlights.scm+145-72
- queries/injections-text.scm+3
- queries/injections.scm+10-3
- queries/tags.scm+14
- script/known-failures.txt-1
- script/parse-examples-39
- script/parse-examples.js-102
- setup.py+64
- src/parser.c-131.6k
- src/scanner.cc-381
- test/corpus/bugs.txt+238
- test/corpus/class.txt+759-143
- test/corpus/declarations.txt+610-266
- test/corpus/execution_operator.txt+190
- test/corpus/expressions.txt+671-168
- test/corpus/interpolation.txt+73-17
- test/corpus/literals.txt+15-117
- test/corpus/nowdoc.txt+20
- test/corpus/php_only.txt+60
- test/corpus/statements.txt+87-71
- test/corpus/string.txt+874-299
- test/corpus/types.txt+319-27
- test/highlight/keywords.php+166-28
- test/highlight/literals.php+12-9
- test/highlight/types.php+17-4
- test/highlight/variables.php+21
0 commit comments