tree-sitter/spec/helpers
Max Brunsfeld 535879a2bd Represent byte, char and tree counts as 32 bit numbers
The parser spends the majority of its time allocating and freeing trees and stack nodes.
Also, the memory footprint of the AST is a significant concern when using tree-sitter
with large files. This library is already unlikely to work very well with source files
larger than 4GB, so representing rows, columns, byte lengths and child indices as
unsigned 32 bit integers seems like the right choice.
2016-11-14 12:19:13 -08:00
..
encoding_helpers.cc Unify test targets, use externally defined languages as fixtures 2016-01-15 11:19:24 -08:00
encoding_helpers.h Unify test targets, use externally defined languages as fixtures 2016-01-15 11:19:24 -08:00
equals_pointer.h Unify test targets, use externally defined languages as fixtures 2016-01-15 11:19:24 -08:00
load_language.cc Import error corpus entries from grammar repos 2016-05-28 20:12:02 -07:00
load_language.h Avoid recompiling test languages when possible 2016-03-03 12:05:04 -08:00
point_helpers.cc Remove the TS prefix from some internal type/function names 2016-11-09 20:59:05 -08:00
point_helpers.h Remove the TS prefix from some internal type/function names 2016-11-09 20:59:05 -08:00
random_helpers.cc Move random string helpers into a separate file 2016-07-17 06:22:05 -07:00
random_helpers.h Move random string helpers into a separate file 2016-07-17 06:22:05 -07:00
read_test_entries.cc Trim trailing newlines from corpus texts 2016-08-29 13:00:28 -07:00
read_test_entries.h Unify test targets, use externally defined languages as fixtures 2016-01-15 11:19:24 -08:00
record_alloc.cc Remove logic for recovering from OOM 2016-11-04 09:18:38 -07:00
record_alloc.h Handle allocation failures when instantiating documents 2016-01-18 11:32:10 -08:00
rule_helpers.cc Unify test targets, use externally defined languages as fixtures 2016-01-15 11:19:24 -08:00
rule_helpers.h Unify test targets, use externally defined languages as fixtures 2016-01-15 11:19:24 -08:00
scope_sequence.cc Implement ts_document_parse_and_get_changed_ranges 2016-10-15 22:31:21 -07:00
scope_sequence.h Start work on randomized changed-region testing 2016-09-09 09:20:04 -07:00
spy_input.cc Represent byte, char and tree counts as 32 bit numbers 2016-11-14 12:19:13 -08:00
spy_input.h Represent byte, char and tree counts as 32 bit numbers 2016-11-14 12:19:13 -08:00
spy_logger.cc Rename ts_document_set_debugger -> ts_document_set_logger 2016-09-06 17:40:26 -07:00
spy_logger.h Rename ts_document_set_debugger -> ts_document_set_logger 2016-09-06 17:40:26 -07:00
stderr_logger.cc Rename ts_document_set_debugger -> ts_document_set_logger 2016-09-06 17:40:26 -07:00
stderr_logger.h Rename ts_document_set_debugger -> ts_document_set_logger 2016-09-06 17:40:26 -07:00
stream_methods.cc Store shift states for non-terminals directly in the main parse table 2016-11-14 08:36:06 -08:00
stream_methods.h Clean up lex table generation 2016-05-19 13:25:46 -07:00
tree_helpers.cc Remove the TS prefix from some internal type/function names 2016-11-09 20:59:05 -08:00
tree_helpers.h Remove the TS prefix from some internal type/function names 2016-11-09 20:59:05 -08:00