tree-sitter/crates/generate
DanikVitek ffd777ba65 fix: Naming; Lifetimes; deny(rust_2018_idioms)
- One has to think about lifetimes if a type has one:
  - `<&'a Node<'tree>>::language` now returns `Language<'tree>` instead of
    `Language<'a>`, as it should;
- Renamed `struct TreeCursor<'cursor>` into `struct TreeCursor<'tree>`,
  to be consistant with the usages and reduse confusion;
- Remove explicit "outlives" requirements from `QueryMatches`, `QueryCaptures`,
  and their impl blocks, because they're inferred
- TODO: should `'query` be renamed into `'cursor`?
2026-01-11 00:40:33 +02:00
..
src fix: Naming; Lifetimes; deny(rust_2018_idioms) 2026-01-11 00:40:33 +02:00
Cargo.toml build(deps): update rquickjs to 0.11.0 2025-12-31 13:32:09 +01:00
LICENSE chore: copy license to all packages 2025-09-11 03:12:35 -04:00
README.md Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00

Tree-sitter Generate

This helper crate implements the logic for the tree-sitter generate command, and can be used by external tools to generate a parser from a grammar file.