Rework AST access API: reduce heap allocation
This commit is contained in:
parent
feb46302f3
commit
54e40b8146
16 changed files with 288 additions and 273 deletions
|
|
@ -21,7 +21,7 @@ TSParser ts_parser_make();
|
|||
void ts_parser_destroy(TSParser *);
|
||||
TSDebugger ts_parser_get_debugger(const TSParser *);
|
||||
void ts_parser_set_debugger(TSParser *, TSDebugger);
|
||||
const TSTree *ts_parser_parse(TSParser *, TSInput, TSInputEdit *);
|
||||
TSTree *ts_parser_parse(TSParser *, TSInput, TSInputEdit *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue