Brr.Range
Range
objects.
Constants for the first argument of compare_boundary_points
.
val end_to_end : compare_how
Range.END_TO_END
.
val end_to_start : compare_how
Range.END_TO_START
.
val start_to_end : compare_how
Range.START_TO_END
.
val start_to_start : compare_how
Range.START_TO_START
.
The type for Range
objects.
val create : unit -> t
create ()
is a new range object.
val compare_boundary_points : t -> compare_how -> t -> int
compare_boundary_points r how r'
compares r
to r'
.
intersects_node r e
is true
if el
intersects r
.
is_point_in_range r el offset
is true
if the point is in the range of r
.
to_string r
converts r
to a string.
common_ancestor_container r
is the common ancestor container of r
end_container r
is the end container of r
.
val end_offset : t -> int
end_offset r
is the end offset of r
.
end_container r
is the start container of r
.
val start_offset : t -> int
end_offset r
is the start offset of r
.