tree-sitter/lib
Amaan Qureshi c16a8c71ce
fix: pass a value_id the same size of predicate_capture_ids's elements to avoid big-endian integer narrowing
This solves a bug on big-endian architectures where the value would be later passed by reference as an elements "view" before being inserted. The issue is it is casted as a void pointer, and when writing uint16_t's of size 1, only 2 of the 4 bytes are written. This is okay for little-endian systems, but not big-endian
2023-07-18 05:40:38 -04:00
..
binding_rust rust: remove Copy, Clone from opaque ptr data structs 2023-07-14 00:19:23 +03:00
binding_web chore: update exports to include some string.h functions 2023-07-10 15:21:39 -04:00
include/tree_sitter Add ts_node_language() that returns the language of the node 2023-07-13 11:21:18 -04:00
src fix: pass a value_id the same size of predicate_capture_ids's elements to avoid big-endian integer narrowing 2023-07-18 05:40:38 -04:00
.ccls rust: Change QueryCursor::captures to expose the full match 2019-10-03 12:45:58 -07:00
Cargo.toml cargo: specify minimum supported Rust version 2023-04-04 03:42:55 +03:00
compile_flags.txt Add files needed for using clangd 2022-02-22 09:44:50 -08:00
README.md docs: update badges; fix markdown lint complains 2023-04-16 23:39:08 +03: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