Remove TSLength from runtime header
Refactor node functions now that character offset and byte offset are stored separately
This commit is contained in:
parent
8e217f758c
commit
22c76fc71b
6 changed files with 101 additions and 106 deletions
|
|
@ -2,9 +2,7 @@
|
|||
#define RUNTIME_NODE_H_
|
||||
|
||||
#include "tree_sitter/parser.h"
|
||||
#include "runtime/length.h"
|
||||
#include "runtime/tree.h"
|
||||
|
||||
TSNode ts_node_make(const TSTree *, TSLength, size_t);
|
||||
TSNode ts_node_make(const TSTree *, size_t character, size_t byte, size_t row);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue