File: all_root_nodes.Rd

package info (click to toggle)
r-cran-parsetools 0.1.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 780 kB
  • sloc: sh: 13; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 615 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/root.R
\name{all_root_nodes}
\alias{all_root_nodes}
\title{Find all root node from parse data}
\usage{
all_root_nodes(pd, include.groups = TRUE)
}
\arguments{
\item{pd}{The \code{\link{parse-data}} information}

\item{include.groups}{descend into grouped code \code{\{\}}?}
}
\value{
\code{\link{parse-data}} with for the root nodes.
}
\description{
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.
}