Replace NodeType enum with SymbolMetadata bitfield
This will allow storing other metadata about symbols, like if they only appear as ubiquitous tokens
This commit is contained in:
parent
53424699e4
commit
f08554e958
17 changed files with 541 additions and 512 deletions
|
|
@ -43,8 +43,9 @@ describe("Stack", [&]() {
|
|||
});
|
||||
|
||||
TSLength len = ts_length_make(2, 2);
|
||||
TSPoint point = ts_point_make(1, 1);
|
||||
for (size_t i = 0; i < tree_count; i++)
|
||||
trees[i] = ts_tree_make_leaf(i, len, len, {1, 1}, {1, 2}, TSNodeTypeNamed);
|
||||
trees[i] = ts_tree_make_leaf(i, len, len, point, point, {});
|
||||
});
|
||||
|
||||
after_each([&]() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue