Test if an id represents a comment of any kind.
Tests if the comment is a relative (location dependent) type comment.
Retrieve all ids associated with relative comments.
Additionally tests if the comment is a documentation type comment.
pd_is_comment(id, pd, .check = TRUE)pd_is_relative_comment(id, pd, .check = TRUE)
pd_all_relative_comment_ids(pd)
pd_is_doc_comment(id, pd, .check = TRUE)
id of the expression of interest
The parse-data
information
Perform checks for input validation?
Should return a logical vector, for parse-data and data.frame should
be length of nrow(x)
. For character same length as x.