Module tree_sitter

Module tree_sitter 

Source

Structs§

PointWrap
Wrapper around [tree_sitter::Point] that converts Nvim’s 1-based row indexing to tree-sitter’s 0-based indexing.

Functions§

get_enclosing_fn_name_of_node 🔒
Gets the name of the function enclosing the given [Node].
get_enclosing_fn_name_of_position
get_enclosing_fn_name_of_position_internal 🔒
Gets the name of the function enclosing the given [Point] in a Rust file.