TreeSitter.Nif (treesitter_elixir v0.1.1)
View SourceSummary
Functions
Return the full language name and the full path, needed for parser_set_language
given the language name and the path to search
Return the start and end index of the bytestring
Set the langage given a full name of the language and the path.
Functions
Return the full language name and the full path, needed for parser_set_language
given the language name and the path to search
Examples:
TreeSitter.Nif.language_path("c", "/usr/lib")
Return the start and end index of the bytestring
Set the langage given a full name of the language and the path.
language_path
is a useful helper function to get the full language name and path if needed
Examples:
TreeSitter.Nif.language("tree_sitter_c", "/usr/lib/libtree-sitter-c.so")