Rename position to offset and point to offset_point
This commit is contained in:
parent
cf72f2f0ae
commit
8446b657f0
3 changed files with 32 additions and 23 deletions
|
|
@ -55,6 +55,7 @@ static void ts_tree__set_children(TSTree *self, TSTree **children,
|
|||
child->context.parent = self;
|
||||
child->context.index = i;
|
||||
child->context.offset = ts_tree_total_size(self);
|
||||
child->context.end_point = ts_tree_end_point(self);
|
||||
|
||||
if (i == 0) {
|
||||
self->padding = child->padding;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue