Go to the source code of this file.
|
TSTagger * | ts_tagger_new () |
|
void | ts_tagger_delete (TSTagger *) |
|
TSTagsError | ts_tagger_add_language (TSTagger *self, const char *scope_name, const TSLanguage *language, const char *tags_query, const char *locals_query, uint32_t tags_query_len, uint32_t locals_query_len) |
|
TSTagsError | ts_tagger_tag (const TSTagger *self, const char *scope_name, const char *source_code, uint32_t source_code_len, TSTagsBuffer *output, const size_t *cancellation_flag) |
|
TSTagsBuffer * | ts_tags_buffer_new () |
|
void | ts_tags_buffer_delete (TSTagsBuffer *) |
|
const TSTag * | ts_tags_buffer_tags (const TSTagsBuffer *) |
|
uint32_t | ts_tags_buffer_tags_len (const TSTagsBuffer *) |
|
const char * | ts_tags_buffer_docs (const TSTagsBuffer *) |
|
uint32_t | ts_tags_buffer_docs_len (const TSTagsBuffer *) |
|
const char ** | ts_tagger_syntax_kinds_for_scope_name (const TSTagger *, const char *scope_name, uint32_t *len) |
|
bool | ts_tags_buffer_found_parse_error (const TSTagsBuffer *) |
|
◆ TSTagger
Definition at line 1 of file tags.h.
◆ TSTagsBuffer
Definition at line 1 of file tags.h.
◆ TSTagsError
Enumerator |
---|
TSTagsOk | |
TSTagsUnknownScope | |
TSTagsTimeout | |
TSTagsInvalidLanguage | |
TSTagsInvalidUtf8 | |
TSTagsInvalidRegex | |
TSTagsInvalidQuery | |
TSTagsInvalidCapture | |
Definition at line 11 of file tags.h.
◆ ts_tagger_add_language()
◆ ts_tagger_delete()
◆ ts_tagger_new()
◆ ts_tagger_syntax_kinds_for_scope_name()
◆ ts_tagger_tag()
◆ ts_tags_buffer_delete()
◆ ts_tags_buffer_docs()
◆ ts_tags_buffer_docs_len()
◆ ts_tags_buffer_found_parse_error()
◆ ts_tags_buffer_new()
◆ ts_tags_buffer_tags()
◆ ts_tags_buffer_tags_len()