TreeSitter.Nif (treesitter_elixir v0.1.2)
View SourceSummary
Functions
Get the langage given a full name of the language and the path to the shared library implementing the language.
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
Functions
Get the langage given a full name of the language and the path to the shared library implementing the language.
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")
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