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
|
|
@ -16,6 +16,11 @@ typedef struct TSTree TSTree;
|
|||
|
||||
typedef unsigned short TSStateId;
|
||||
|
||||
typedef struct {
|
||||
size_t bytes;
|
||||
size_t chars;
|
||||
} TSLength;
|
||||
|
||||
typedef struct {
|
||||
bool visible : 1;
|
||||
bool named : 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue