parsetools (version 0.1.1)

pd_get_tagged_comment_ids: Get tagged comment ids

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

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.