language_state_count {treesitter}R Documentation

Language state count

Description

Get the number of states traversable within a language.

Usage

language_state_count(x)

Arguments

x

⁠[tree_sitter_language]⁠

A tree-sitter language object.

Value

A single double value.

Examples


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


[Package treesitter version 0.1.0 Index]