Rename position to offset and point to offset_point

This commit is contained in:
joshvera 2015-11-18 17:53:38 -08:00
parent cf72f2f0ae
commit 8446b657f0
3 changed files with 32 additions and 23 deletions

View file

@ -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;