parsetools (version 0.1.1)

pd_get_closest_call_id: Get the closest call ID.

Description

Get the id of the call that is closest to the id given. Closest is defined as the innermost call that contains the id.

Usage

pd_get_closest_call_id(id, pd, calls = NULL, .check = TRUE)

Arguments

id

id of the expression of interest

pd

The parse-data information

calls

optional calls to limit consideration to.

.check

Perform checks for input validation?