language_name: Language name

View source: R/language.R

language_nameR Documentation

Language name

Description

Extract a language object's language name.

Usage

language_name(x)

Arguments

x

⁠[tree_sitter_language]⁠

A tree-sitter language object.

Value

A string.

Examples


language <- treesitter.r::language()
language_name(language)


treesitter documentation built on June 24, 2024, 5:07 p.m.