match_containing_srcrefs: 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)
Value
A integer vector of the first index in r that fully encapsulate
the respective element in l
Arguments
- l
A list_of_srcref object
- r
A list_of_srcref object