When descending into a hidden child rule, the current stack entry can be reused if it is currently at the end of its rule. This fixes a test failure when analyzing a Ruby query. The failure was introduced due to some changes to the Ruby grammar. This optimization allows us to impose a _smaller_ limit on the stack size, which should make query analysis faster and more memory-efficient. |
||
|---|---|---|
| .. | ||
| binding_rust | ||
| binding_web | ||
| include/tree_sitter | ||
| src | ||
| .ccls | ||
| Cargo.toml | ||
| README.md | ||
Subdirectories
src- C source code for the Tree-sitter libraryinclude- C headers for the Tree-sitter librarybinding_rust- Rust bindings to the Tree-sitter librarybinding_web- JavaScript bindings to the Tree-sitter library, using WebAssembly