Module Kappa_generic_toolset.Locality
type position={chr : int;line : int;}type range={file : string;from_position : position;to_position : position;}type t= rangetype 'a annot= 'a * ttype 'a maybe= ?pos:t -> 'a
val of_pos : Lexing.position -> Lexing.position -> tval dummy : tval dummy_annot : 'a -> 'a annotval has_dummy_annot : 'a annot -> boolval merge : range -> range -> rangemerge b ecreates the range from beginning ofbto the end ofe(filename must match)
val is_included_in : string -> position -> range -> boolval to_string : t -> stringval print : Format.formatter -> t -> unitval print_annot : (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a annot -> unitval annot_of_yojson : ?filenames:string array -> (Yojson.Basic.t -> 'a) -> Yojson.Basic.t -> 'a annotval annot_to_yojson : ?filenames:int Mods.StringMap.t -> ('a -> Yojson.Basic.t) -> 'a annot -> Yojson.Basic.tval write_position : Bi_outbuf.t -> position -> unitval read_position : Yojson.Safe.lexer_state -> Lexing.lexbuf -> positionval write_range : Bi_outbuf.t -> t -> unitOutput a JSON value of type
t.