get_family_pd: Get family of nodes.

Description Usage Arguments Value

View source: R/family.R

Description

Subset the pd to the family of id.

Usage

1
2
3
4
5
6
7
8
9
get_family_pd(
  id,
  pd,
  include.self = TRUE,
  ngenerations = Inf,
  ...,
  include.doc.comments = TRUE,
  include.regular.comments = FALSE
)

Arguments

id

id of the expression of interest

pd

The parse-data information

include.self

Should the root node (id) be included?

ngenerations

Number of generations to go forwards or backwards.

...

currently ignored.

include.doc.comments

include associated documentation comments.

include.regular.comments

include associated regular comments.

Value

a subset of the parse-data pd.


RDocTaskForce/parsetools documentation built on April 10, 2020, 11:58 p.m.