Js_parser.Locval none : tval is_none : t -> boolval is_none_ignore_source : t -> boollines_intersect loc1 loc2 returns true if loc1 and loc2 cover any part of the same line, even if they don't actually intersect.
For example, if loc1 ends and then loc2 begins later on the same line, intersects loc1 loc2 is false, but lines_intersect loc1 loc2 is true.
val debug_to_string : ?include_source:bool -> t -> stringval to_string_no_source : t -> stringval mk_loc : ?source:File_key.t -> (int * int) -> (int * int) -> tval source : t -> File_key.t optionval cursor : File_key.t option -> int -> int -> tProduces a zero-width Loc.t, where start = end