Function tree_sitter::ffi::ts_node_string
source · pub unsafe extern "C" fn ts_node_string(self_: TSNode) -> *mut c_char
Expand description
Get an S-expression representing the node as a string.
This string is allocated with malloc
and the caller is responsible for
freeing it using free
.