Skip to contents

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

if (FALSE) { # \dontrun{
header <- "double sqrt(double x);"
tcc_treesitter_functions(header)
} # }