Function tree_sitter::ffi::ts_tree_language
source · pub unsafe extern "C" fn ts_tree_language(
self_: *const TSTree
) -> *const TSLanguageExpand description
Get the language that was used to parse the syntax tree.
pub unsafe extern "C" fn ts_tree_language(
self_: *const TSTree
) -> *const TSLanguageGet the language that was used to parse the syntax tree.