tree-sitter/src/runtime
Max Brunsfeld 16a45d4aa4 Fix hole in logic for terminating tree balancing
It's important that the repetition nodes have a child count of 2,
because we assign to their second child. We could maybe generalize
this to allow balancing in the presence of 'extra' nodes like comments
and errors, but this might be complicated.
2018-02-16 12:44:30 -08:00
..
alloc.h Fix some C code that MSVC doesn't like 2017-08-08 10:47:59 -07:00
array.h Replace general array_reverse with ts_tree_array_reverse 2017-08-07 12:44:33 -07:00
document.c Log changed ranges when reparsing 2018-01-26 15:40:07 -08:00
document.h Allocate and free trees using an object pool 2017-12-27 10:34:29 -08:00
error_costs.h Start work on repairing errors by inserting missing tokens 2017-12-29 15:11:00 -08:00
get_changed_ranges.c Fix error in handling of padding in get_changed_ranges 2017-12-29 18:02:06 -08:00
get_changed_ranges.h Allocate and free trees using an object pool 2017-12-27 10:34:29 -08:00
language.c Remove 'extra' and 'structural' booleans from symbol metadata 2017-09-14 12:07:46 -07:00
language.h Start work on repairing errors by inserting missing tokens 2017-12-29 15:11:00 -08:00
length.h Return a character count from the lexer's get_column method 2017-12-20 16:26:38 -08:00
lexer.c Pass row/column position to input seek method 2018-02-14 07:31:49 -08:00
lexer.h Always call deserialize on external scanner before scanning 2017-08-29 14:41:55 -07:00
node.c Add an API for getting a node's child index 2018-01-09 14:01:36 -08:00
node.h Return a character count from the lexer's get_column method 2017-12-20 16:26:38 -08:00
parser.c Balance repetition trees after parsing 2018-02-12 11:41:56 -08:00
parser.h Bail on error recovery if too many alternative parses have already completed 2018-01-09 17:08:36 -08:00
point.h Avoid struct literal syntax in point functions 2017-08-08 10:42:21 -07:00
reduce_action.h Rename RENAME rule to ALIAS, allow it to create anonymous nodes 2017-07-31 16:41:11 -07:00
reusable_node.h Consolidate logic for deciding on a lookahead node 2017-08-31 12:19:37 -07:00
stack.c Allocate and free trees using an object pool 2017-12-27 10:34:29 -08:00
stack.h Allocate and free trees using an object pool 2017-12-27 10:34:29 -08:00
string_input.c Pass row/column position to input seek method 2018-02-14 07:31:49 -08:00
string_input.h Construct TSStringInput with explicit length. 2017-02-10 09:10:06 -05:00
tree.c Fix hole in logic for terminating tree balancing 2018-02-16 12:44:30 -08:00
tree.h Balance repetition trees after parsing 2018-02-12 11:41:56 -08:00
utf16.c Handle out-of-bound read in utf16_iterate 2017-07-17 13:57:12 -07:00
utf16.h Support UTF16 directly 2015-12-28 13:53:22 -08:00