diff --git a/include/tree_sitter/runtime.h b/include/tree_sitter/runtime.h index 1c0b47e8..69f5a1b1 100644 --- a/include/tree_sitter/runtime.h +++ b/include/tree_sitter/runtime.h @@ -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 *);