type-sitter-gen 0.10.0

generate typed wrappers for tree-sitter grammars from node-types.json and queries
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::NodeTypeMap;
use syn::Path;

/// General arguments to both node and query printers.
#[derive(Clone, Copy)]
pub struct PrintCtx<'a> {
    pub all_types: &'a NodeTypeMap,
    pub tree_sitter: &'a Path,
    pub type_sitter_lib: &'a Path,
}