Skip to contents

Parse union declarations with treesitter.c

Usage

tcc_treesitter_unions(header, ...)

Arguments

header

Character scalar containing C declarations.

...

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

Value

A data frame of union nodes.

Examples

if (FALSE) { # \dontrun{
header <- "union data { int i; double d; };"
tcc_treesitter_unions(header)
} # }