pd_get_tagged_comment_ids: Get tagged comment ids

Description Usage Arguments Value

View source: R/tags.R

Description

Finds all ids that are comments and contain the given '@' tag. If doc.only is true(default) then only documentation comments are considered, otherwise all comments are examined.

Usage

1
pd_get_tagged_comment_ids(pd, tag, doc.only = TRUE)

Arguments

pd

The parse-data information

tag

tag(s) to test for

doc.only

Restrict to documentation comments only?

Value

an integer vector of ids.


parsetools documentation built on April 14, 2020, 5:32 p.m.