tree-sitter/lib/src
Amaan Qureshi 5f379da544 fix(lib): prevent wildcards from incorrectly marking child patterns as infallible
When a pattern appears under a wildcard parent (like "(_ (expr))"), we
were incorrectly marking it as infallible. The parent_pattern_guaranteed
flag only means the pattern will match after finding the right wildcard
parent, not that any wildcard parent will work.
2025-01-03 23:09:49 -05:00
..
portable fix(lib): fix compilation issue on windows with endian.h 2024-10-11 15:25:51 -04:00
unicode Expand on query docs 2019-10-30 10:26:10 -07:00
wasm feat: add 'reserved word' construct 2024-12-23 03:06:32 -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 'reserved word' construct 2024-12-23 03:06:32 -05:00
language.h feat: add 'reserved word' construct 2024-12-23 03:06:32 -05:00
length.h fix(lib): add saturating subtraction to prevent integer underflow 2024-12-25 04:49:39 -05:00
lexer.c fix(lib): correct fix for parsing hang with ranges containing empty points 2024-12-25 04:49:39 -05:00
lexer.h feat: implement a cache for get_column 2024-10-30 18:35:38 -04:00
lib.c feat!: properly handle UTF-16 endianness encoding 2024-10-05 21:12:48 -04:00
node.c fix(lib): correct next sibling of zero width node 2024-11-12 18:17:45 -05:00
parser.c feat: add 'reserved word' construct 2024-12-23 03:06:32 -05:00
parser.h feat: add 'reserved word' construct 2024-12-23 03:06:32 -05:00
point.h fix(lib): add saturating subtraction to prevent integer underflow 2024-12-25 04:49:39 -05:00
query.c fix(lib): prevent wildcards from incorrectly marking child patterns as infallible 2025-01-03 23:09:49 -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 fix(lib): correct fix for parsing hang with ranges containing empty points 2024-12-25 04:49:39 -05:00
subtree.h fix(lib): add parameter names in declarations in subtree.h 2024-10-13 23:05:40 -04: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 'reserved word' construct 2024-12-23 03:06:32 -05:00
wasm_store.h style(lib): add parameter names in declarations that are missing them 2024-09-27 13:38:08 -04:00