├── .editorconfig ├── .gitattributes ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── Cargo.toml ├── Makefile ├── Package.swift ├── README.md ├── binding.gyp ├── bindings ├── c │ ├── tree-sitter-phpdoc.h │ └── tree-sitter-phpdoc.pc.in ├── go │ ├── binding.go │ ├── binding_test.go │ └── go.mod ├── node │ ├── binding.cc │ ├── index.d.ts │ └── index.js ├── python │ └── tree_sitter_phpdoc │ │ ├── __init__.py │ │ ├── __init__.pyi │ │ ├── binding.c │ │ └── py.typed ├── rust │ ├── build.rs │ └── lib.rs └── swift │ └── TreeSitterPhpdoc │ └── phpdoc.h ├── grammar.js ├── package.json ├── pyproject.toml ├── setup.py ├── src ├── grammar.json ├── node-types.json ├── parser.c ├── scanner.c └── tree_sitter │ ├── alloc.h │ ├── array.h │ └── parser.h └── test └── corpus ├── basic.txt ├── generics.txt ├── incomplete.txt ├── inline.txt ├── phpunit.txt ├── psalm-phpstan.txt ├── references.txt ├── special.txt ├── typed_tags.txt ├── types.txt └── versioning.txt /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | build 3 | *.log 4 | .DS_Store 5 | examples 6 | .ccls-cache 7 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/Cargo.toml -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/Makefile -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/README.md -------------------------------------------------------------------------------- /binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/binding.gyp -------------------------------------------------------------------------------- /bindings/c/tree-sitter-phpdoc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/bindings/c/tree-sitter-phpdoc.h -------------------------------------------------------------------------------- /bindings/c/tree-sitter-phpdoc.pc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/bindings/c/tree-sitter-phpdoc.pc.in -------------------------------------------------------------------------------- /bindings/go/binding.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/bindings/go/binding.go -------------------------------------------------------------------------------- /bindings/go/binding_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/bindings/go/binding_test.go -------------------------------------------------------------------------------- /bindings/go/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/bindings/go/go.mod -------------------------------------------------------------------------------- /bindings/node/binding.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/bindings/node/binding.cc -------------------------------------------------------------------------------- /bindings/node/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/bindings/node/index.d.ts -------------------------------------------------------------------------------- /bindings/node/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/bindings/node/index.js -------------------------------------------------------------------------------- /bindings/python/tree_sitter_phpdoc/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/bindings/python/tree_sitter_phpdoc/__init__.py -------------------------------------------------------------------------------- /bindings/python/tree_sitter_phpdoc/__init__.pyi: -------------------------------------------------------------------------------- 1 | def language() -> int: ... 2 | -------------------------------------------------------------------------------- /bindings/python/tree_sitter_phpdoc/binding.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/bindings/python/tree_sitter_phpdoc/binding.c -------------------------------------------------------------------------------- /bindings/python/tree_sitter_phpdoc/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bindings/rust/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/bindings/rust/build.rs -------------------------------------------------------------------------------- /bindings/rust/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/bindings/rust/lib.rs -------------------------------------------------------------------------------- /bindings/swift/TreeSitterPhpdoc/phpdoc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/bindings/swift/TreeSitterPhpdoc/phpdoc.h -------------------------------------------------------------------------------- /grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/grammar.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/package.json -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/setup.py -------------------------------------------------------------------------------- /src/grammar.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/src/grammar.json -------------------------------------------------------------------------------- /src/node-types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/src/node-types.json -------------------------------------------------------------------------------- /src/parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/src/parser.c -------------------------------------------------------------------------------- /src/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/src/scanner.c -------------------------------------------------------------------------------- /src/tree_sitter/alloc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/src/tree_sitter/alloc.h -------------------------------------------------------------------------------- /src/tree_sitter/array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/src/tree_sitter/array.h -------------------------------------------------------------------------------- /src/tree_sitter/parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/src/tree_sitter/parser.h -------------------------------------------------------------------------------- /test/corpus/basic.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/test/corpus/basic.txt -------------------------------------------------------------------------------- /test/corpus/generics.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/test/corpus/generics.txt -------------------------------------------------------------------------------- /test/corpus/incomplete.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/test/corpus/incomplete.txt -------------------------------------------------------------------------------- /test/corpus/inline.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/test/corpus/inline.txt -------------------------------------------------------------------------------- /test/corpus/phpunit.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/test/corpus/phpunit.txt -------------------------------------------------------------------------------- /test/corpus/psalm-phpstan.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/test/corpus/psalm-phpstan.txt -------------------------------------------------------------------------------- /test/corpus/references.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/test/corpus/references.txt -------------------------------------------------------------------------------- /test/corpus/special.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/test/corpus/special.txt -------------------------------------------------------------------------------- /test/corpus/typed_tags.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/test/corpus/typed_tags.txt -------------------------------------------------------------------------------- /test/corpus/types.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/test/corpus/types.txt -------------------------------------------------------------------------------- /test/corpus/versioning.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/claytonrcarter/tree-sitter-phpdoc/HEAD/test/corpus/versioning.txt --------------------------------------------------------------------------------