Sourceror.compare_positions
You're seeing just the function
compare_positions
, go back to Sourceror module for more information.
Specs
Compares two positions.
Returns :gt
if the first position comes after the second one, and :lt
for
vice versa. If the two positions are equal, :eq
is returned.
nil
values for lines or columns are coalesced to 0
for integer
comparisons.