expose ts_node start and end point functions

This commit is contained in:
joshvera 2015-11-25 11:57:39 -05:00
parent 4663b9ce89
commit 1687d66776

View file

@ -53,6 +53,8 @@ typedef struct TSDocument TSDocument;
TSLength ts_node_pos(TSNode);
TSLength ts_node_size(TSNode);
TSPoint ts_node_size_point(TSNode);
TSPoint ts_node_start_point(TSNode);
TSPoint ts_node_end_point(TSNode);
TSSymbol ts_node_symbol(TSNode);
const char *ts_node_name(TSNode, const TSDocument *);
const char *ts_node_string(TSNode, const TSDocument *);