Rename ts_node_name -> ts_node_type
This commit is contained in:
parent
38241d466b
commit
a6a08dde31
4 changed files with 47 additions and 47 deletions
|
|
@ -281,7 +281,7 @@ void ts_symbol_iterator_next(TSSymbolIterator *self) {
|
|||
self->done = true;
|
||||
}
|
||||
|
||||
const char *ts_node_name(TSNode self, const TSDocument *document) {
|
||||
const char *ts_node_type(TSNode self, const TSDocument *document) {
|
||||
TSSymbol symbol = ts_node__tree(self)->symbol;
|
||||
return ts_language_symbol_name(document->parser.language, symbol);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue