diff options
author | Michael Davis | 2024-01-10 20:58:44 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2024-03-23 06:32:34 +0000 |
commit | b1222f06640c02feb1b87b988d6bca53fdddb9c0 (patch) | |
tree | eec9a682fa9faa020bf3bfe0647af4626a1a9edd /runtime/queries/ponylang/indents.scm | |
parent | 6dd46bfe1c87a4ba4d3ae2feef1270a90ef5f67b (diff) |
Add a TreeCursor type that travels over injection layers
This uses the layer parentage information from the parent commit to
traverse the layers. It's a similar API to `tree_sitter:TreeCursor`
but internally it does not use a `tree_sitter::TreeCursor` currently
because that interface is behaving very unexpectedly. Using the
`next_sibling`/`prev_sibling`/`parent` API on `tree_sitter::Node`
reflects the previous code's behavior so this should result in no
surprising changes.
Diffstat (limited to 'runtime/queries/ponylang/indents.scm')
0 files changed, 0 insertions, 0 deletions