Js_parser.Loclet pp_position: Format.formatter => position => unit;let show_position: position => string;let pp: Format.formatter => t => unit;let show: t => string;let none: t;let is_none: t => bool;let is_none_ignore_source: t => bool;lines_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.
let debug_to_string: ?include_source:bool => t => string;let to_string_no_source: t => string;let start_pos_to_string_for_vscode_loc_uri_fragment: t => string;let mk_loc: ?source:File_key.t => (int, int) => (int, int) => t;let source: t => option(File_key.t);let cursor: option(File_key.t) => int => int => t;Produces a zero-width Loc.t, where start = end
let update_source: (option(File_key.t) => option(File_key.t)) => t => t;