R/language.R
language_name.Rd
Extract a language object's language name.
language_name(x)
[tree_sitter_language]
A tree-sitter language object.
A string.
language <- treesitter.r::language() language_name(language) #> [1] "r"