tree-sitter/lib/src
Christian Clason 36f5f7918f fix(endian): rely on system headers where possible
Problem: Macros (re)defined in `endian.h` conflict with system headers
on FreeBSD (at least).

Solution: Rely on system `endian.h` on OpenBSD, FreeBSD, NetBSD, and
DragonFly

Ref. https://github.com/mikepb/endian.h/issues/4
2025-01-25 13:28:46 -05:00
..
portable fix(endian): rely on system headers where possible 2025-01-25 13:28:46 -05:00
unicode Expand on query docs 2019-10-30 10:26:10 -07:00
wasm build(swift): include all source files 2025-01-06 01:13:04 -05:00
alloc.c fix(lib): include api.h so ts_set_allocator is visible 2024-02-27 09:21:17 -05:00
alloc.h style(lib): add parameter names in declarations that are missing them 2024-09-27 13:38:08 -04:00
array.h fix(lib): handle compiler warnings 2024-10-19 02:57:08 +00:00
atomic.h Merge branch 'master' into wasm-language 2023-10-27 12:11:43 +01:00
clock.h fix(lib): use clock_gettime on macOS again 2024-12-03 18:12:32 -05:00
error_costs.h Just call the C lib 'the library' everywhere, don't call it a 'runtime' 2019-01-10 15:22:39 -08:00
get_changed_ranges.c fix(lib): silence warnings with -Wpedantic 2024-09-27 12:58:26 -04:00
get_changed_ranges.h Just call the C lib 'the library' everywhere, don't call it a 'runtime' 2019-01-10 15:22:39 -08:00
host.h Make SubtreeInlineData work on Big-Endian 2021-12-24 16:47:10 +01:00
language.c feat: add the semantic version to TSLanguage, and expose an API for retrieving it 2025-01-25 01:14:30 -05:00
language.h feat: add the semantic version to TSLanguage, and expose an API for retrieving it 2025-01-25 01:14:30 -05:00
length.h fix(lib): add saturating subtraction to prevent integer underflow 2024-12-25 04:49:39 -05:00
lexer.c chore: cleanup unused code 2025-01-21 01:17:03 -05:00
lexer.h chore: cleanup unused code 2025-01-21 01:17:03 -05:00
lib.c feat!: properly handle UTF-16 endianness encoding 2024-10-05 21:12:48 -04:00
node.c feat(lib)!: remove ts_node_child_containing_descendant 2025-01-12 22:11:30 -05:00
parser.c feat: add error information in the progress callback 2025-01-25 02:47:39 -05:00
parser.h feat: add the semantic version to TSLanguage, and expose an API for retrieving it 2025-01-25 01:14:30 -05:00
point.h chore: cleanup unused code 2025-01-21 01:17:03 -05:00
query.c feat: add the semantic version to TSLanguage, and expose an API for retrieving it 2025-01-25 01:14:30 -05:00
reduce_action.h Generate node-fields.json file 2019-02-12 11:06:18 -08:00
reusable_node.h Allocate parent nodes together with their child array 2020-10-23 12:15:44 -07:00
stack.c fix(lib): silence warnings with -Wpedantic 2024-09-27 12:58:26 -04:00
stack.h style(lib): add parameter names in declarations that are missing them 2024-09-27 13:38:08 -04:00
subtree.c chore: cleanup unused code 2025-01-21 01:17:03 -05:00
subtree.h feat: allow parser balancing to be cancellable 2025-01-20 23:52:19 -05:00
tree.c feat!: properly handle UTF-16 endianness encoding 2024-10-05 21:12:48 -04:00
tree.h style(lib): add parameter names in declarations that are missing them 2024-09-27 13:38:08 -04:00
tree_cursor.c fix(lib): handle compiler warnings 2024-10-19 02:57:08 +00:00
tree_cursor.h style(lib): add parameter names in declarations that are missing them 2024-09-27 13:38:08 -04:00
ts_assert.h fix(lib): silence warnings with -Wpedantic 2024-09-27 12:58:26 -04:00
unicode.h feat: add the ability to specify a custom decode function 2024-10-31 22:51:40 -04:00
wasm_store.c feat: add the semantic version to TSLanguage, and expose an API for retrieving it 2025-01-25 01:14:30 -05:00
wasm_store.h style(lib): add parameter names in declarations that are missing them 2024-09-27 13:38:08 -04:00