language_symbol_count: Language symbol count

View source: R/language.R

language_symbol_countR Documentation

Language symbol count

Description

Get the number of symbols contained within a language.

Usage

language_symbol_count(x)

Arguments

x

⁠[tree_sitter_language]⁠

A tree-sitter language object.

Value

A single double value.

Examples


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


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