match_containing_srcrefs {covtracer}R Documentation

Match srcrefs against srcrefs that contain them

Description

Provided two lists of srcref objects, find the first srcrefs in r that entirely encapsulate each respective srcref in l, returning a list of indices of srcrefs in r for each srcref in l.

Usage

match_containing_srcrefs(l, r)

Arguments

l

A list_of_srcref object

r

A list_of_srcref object

Value

A integer vector of the first index in r that fully encapsulate the respective element in l


[Package covtracer version 0.0.1 Index]