tree-sitter/lib
Riley Bruins fa6c1471ef
fix(lib): correct escape detection for invalid anonymous nodes
The current quotation escape checker fails in the case that
there is an anonymous node that is just an escaped backslash (it thinks
the backslash escapes the quote, when really it is just an escaped
backslash itself. See the added test case for an example of this).

This commit ensures the node identification logic keeps track of the
number of backslashes seen so it can accurately determine if the
quotation is escaped or not.
2024-11-15 23:49:06 -05:00
..
binding_rust fix(lib): correct escape detection for invalid anonymous nodes 2024-11-15 23:49:06 -05:00
binding_web fix(lib): check point, byte ranges in ts_query_cursor_set 2024-11-02 03:06:07 -04:00
include/tree_sitter fix(lib): check point, byte ranges in ts_query_cursor_set 2024-11-02 03:06:07 -04:00
language build: configure clippy lints at the workspace level 2024-10-08 21:07:41 -04:00
src fix(lib): correct next sibling of zero width node 2024-11-12 18:17:45 -05:00
.ccls rust: Change QueryCursor::captures to expose the full match 2019-10-03 12:45:58 -07:00
Cargo.toml build(deps): bump wasmtime-c-api to v26.0.1 2024-11-09 21:04:52 +01:00
CMakeLists.txt build: treat incompatible pointer warning as error 2024-10-19 02:57:08 +00:00
README.md docs: update badges; fix markdown lint complains 2023-04-16 23:39:08 +03:00
tree-sitter.pc.in build(lib): build using cmake 2024-09-07 18:38:05 -04:00

Subdirectories

  • src - C source code for the Tree-sitter library
  • include - C headers for the Tree-sitter library
  • binding_rust - Rust bindings to the Tree-sitter library
  • binding_web - JavaScript bindings to the Tree-sitter library, using WebAssembly