Skip to contents

Parse global declarations with treesitter.c

Usage

tcc_treesitter_globals(header, ...)

Arguments

header

Character scalar containing C declarations.

...

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

Value

A data frame of global names.

Examples

if (FALSE) { # \dontrun{
header <- "int global_counter;"
tcc_treesitter_globals(header)
} # }