tree-sitter/src/runtime
Max Brunsfeld 4348eb89d4 Expose lower stack nodes via pop_until() function
This callback-based API allows the parser to easily visit each interior node
of the stack when searching for an error repair. It also is a better abstraction
over the stack's DAG implementation than having the public functions for
accessing entries and their successor entries.
2016-03-07 16:09:34 -08:00
..
alloc.h Handle allocation failures when instantiating documents 2016-01-18 11:32:10 -08:00
array.h Expose lower stack nodes via pop_until() function 2016-03-07 16:09:34 -08:00
debugger.h Drop release functions from callback structs 2015-09-08 23:24:33 -07:00
document.c Add a public function for printing debugging graphs 2016-02-23 11:16:50 -08:00
document.h Fix leak of StringInput wrapper struct 2016-01-29 16:40:38 -08:00
language.c Remove old error recovery code 2016-03-02 20:58:39 -08:00
language.h Remove old error recovery code 2016-03-02 20:58:39 -08:00
length.h clang-format 2015-12-04 20:56:33 -08:00
lexer.c Use an object pool for stack nodes, to reduce allocations 2016-02-04 11:19:42 -08:00
lexer.h Use an object pool for stack nodes, to reduce allocations 2016-02-04 11:19:42 -08:00
node.c Remove old error recovery code 2016-03-02 20:58:39 -08:00
node.h Remove TSLength from runtime header 2015-12-04 10:45:30 -08:00
parser.c Halt stack pops at all error states, not just error trees 2016-03-03 11:05:37 -08:00
parser.h Start using the forward move to recover from errors 2016-03-02 21:08:42 -08:00
stack.c Expose lower stack nodes via pop_until() function 2016-03-07 16:09:34 -08:00
stack.h Expose lower stack nodes via pop_until() function 2016-03-07 16:09:34 -08:00
string_input.c Rename Vector -> Array 2016-02-17 20:41:29 -08:00
string_input.h Move StringInput into its own file 2014-08-01 12:43:14 -07:00
tree.c Expose lower stack nodes via pop_until() function 2016-03-07 16:09:34 -08:00
tree.h Expose lower stack nodes via pop_until() function 2016-03-07 16:09:34 -08:00
utf16.c Support UTF16 directly 2015-12-28 13:53:22 -08:00
utf16.h Support UTF16 directly 2015-12-28 13:53:22 -08:00