Returns a data frame with capture_name, text, start_line,
and start_col.
get_function_nodes(root, extract_params = FALSE, extract_return = FALSE)Data frame with function captures; when extract_params=TRUE a params list-column is present.
A tree-sitter root node.
Logical; whether to extract parameter types for found functions. Default FALSE.
Logical; whether to extract return types for found functions. Default FALSE.