A root node in a file is a standalone expression, such as in source file a function definition. when discussing a subset it is any expression that does not have a parent in the subset.
all_root_nodes(pd, include.groups = TRUE)
The parse-data
information
descend into grouped code {}
?
parse-data
with for the root nodes.