tcc_treesitter_unions: Parse union declarations with treesitter.c

View source: R/treesitter_helpers.R

tcc_treesitter_unionsR Documentation

Parse union declarations with treesitter.c

Description

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

## Not run: 
header <- "union data { int i; double d; };"
tcc_treesitter_unions(header)

## End(Not run)

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