Next: SOFTWARE-EVOLUTION-LIBRARY/UTILITY/TASK, Previous: SOFTWARE-EVOLUTION-LIBRARY/UTILITY/JSON, Up: Software Evolution Library Index [Contents][Index]
Return true if range fully subsumes location.
Return true if a-range and b-range intersect.
Translate pos, a position in string, into a source location object.
If newlines is provided, it should be the value returned for string by
‘precompute-newline-offsets’.
Precompute a cache of newline offsets in string.
Can be used by ‘position->source-location’ and
‘source-location->position’.
Returns the range of the map, that is, the set of all values to which keys are mapped by the map.
Return true if source location A comes strictly before b.
Return true if source location A is equal to or comes
before b.
Return true if source location A is equal to b.
Return true if source location A comes strictly after b.
Return true if source location A is equal to or comes
after b.
Translate location, a source location, into a position in text.
Note the position may actually point beyond text if the source
location has an extra newline, which can happen because ‘source-range‘
addresses a node that ends in a newline as (n+1,1).
If newlines is provided it should be the value returned for text by
‘precompute-newline-offsets’.
Get the subsequence of string corresponding to source-range.
If newlines is provided it should be the value returned for string by
‘precompute-newline-offsets’.
Get the subsequence of line-octets corresponding to source-range.