tree_sitter::ffi

Function 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.