1#ifndef TREE_SITTER_BINDINGS_H_
 2#define TREE_SITTER_BINDINGS_H_
 3
 4#include "api.h"
 5
 6TSLogger stderr_logger_new(bool include_lexing);
 7
 8typedef struct
 9{
10    int read_function_id;
11    char *previous_content;
12} ParsePayload;
13
14extern char *callReadFunc(int id, uint32_t byteIndex, TSPoint position, uint32_t *bytesRead);
15TSTree *call_ts_parser_parse(TSParser *self, const TSTree *old_tree, int read_function_id, TSInputEncoding encoding);
16
17#endif