type-sitter-gen 0.5.0

generate typed wrappers for tree-sitter grammars from node-types.json and queries
Documentation
1
2
3
4
5
6
# type-sitter-gen: base functionality to generate typed wrapper nodes for type-sitter

[![crates.io](https://img.shields.io/crates/v/type-sitter-gen.svg)](https://crates.io/crates/type-sitter-gen)
[![docs.rs](https://img.shields.io/docsrs/type-sitter-gen)](https://docs.rs/type-sitter-gen)

See [type-sitter](https://github.com/Jakobeha/type-sitter#readme) for background information. This library allows you to generate type-sitter wrappers with more flexibility than [type-sitter-cli](https://crates.io/crates/type-sitter-cli) and [type-sitter-proc](https://crates.io/crates/type-sitter-proc). It's the only way (outside of manually editing code generated by `type-sitter-cli`) to generate wrappers which import something that isn't `tree_sitter`, generate queries without some of their patterns and captures, or combine multiple generations into one file.