mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
c57dd1ef8f
Copying into TSLengths ended up being worst of both worlds.
12 lines
414 B
C
12 lines
414 B
C
#include "tree_sitter/runtime.h"
|
|
|
|
void ts_document_root_node_p(TSDocument *document, TSNode *outNode);
|
|
|
|
const char *ts_node_p_name(const TSNode *node, const TSDocument *document);
|
|
|
|
size_t ts_node_p_named_child_count(const TSNode *node);
|
|
void ts_node_p_named_child(const TSNode *node, size_t index, TSNode *outNode);
|
|
|
|
size_t ts_node_p_pos_chars(const TSNode *node);
|
|
size_t ts_node_p_size_chars(const TSNode *node);
|