tcc_treesitter_functions: Parse function declarations with treesitter.c

View source: R/treesitter_helpers.R

tcc_treesitter_functionsR Documentation

Parse function declarations with treesitter.c

Description

Parse function declarations with treesitter.c

Usage

tcc_treesitter_functions(header, ...)

Arguments

header

Character scalar containing C declarations.

...

Additional arguments passed to treesitter.c::get_function_nodes().

Value

A data frame of function nodes.

Examples

## Not run: 
header <- "double sqrt(double x);"
tcc_treesitter_functions(header)

## End(Not run)

Rtinycc documentation built on April 28, 2026, 1:07 a.m.