File: pd_identify.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 (35 lines) | stat: -rw-r--r-- 846 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
23
24
25
26
27
28
29
30
31
32
33
34
35
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pd_identify.R
\name{pd_identify}
\alias{pd_identify}
\alias{pd_identify.default}
\alias{pd_identify.NULL}
\alias{pd_identify.srcref}
\title{Get the ID for an object}
\usage{
pd_identify(pd, object)

\method{pd_identify}{default}(pd, object)

\method{pd_identify}{`NULL`}(pd, object)

\method{pd_identify}{srcref}(pd, object)
}
\arguments{
\item{pd}{the parse data.}

\item{object}{an object that originated in pd,
for which to obtain the ID.}
}
\description{
Identify in pd the id for the object given.
}
\section{Methods (by class)}{
\itemize{
\item \code{default}: Default method identifies by \code{\link[base:srcref]{base::srcref()}}.

\item \code{NULL}: Passing a NULL object will result in an error.

\item \code{srcref}: Identify by explicit \code{srcref}.
}}