View source: R/treesitter_helpers.R
| tcc_treesitter_enums | R Documentation |
Parse enum declarations with treesitter.c
tcc_treesitter_enums(header, ...)
header |
Character scalar containing C declarations. |
... |
Additional arguments passed to |
A data frame of enum nodes.
## Not run:
header <- "enum status { OK = 0, ERR = 1 };"
tcc_treesitter_enums(header)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.