Kappa_data_structures.LocSourceModule for type Loc.t annotating structured data with the line range * in a file which was used to define it
Create annoted variable with same annotation as existing variable
Apply operation on variable and keep annotation
merge b e creates the range from beginning of b to the end of e (filename must match)
val print_annoted :
(Format.formatter -> 'a -> unit) ->
Format.formatter ->
'a annoted ->
unitval annoted_of_yojson :
?filenames:string array ->
(Yojson.Basic.t -> 'a) ->
Yojson.Basic.t ->
'a annotedval yojson_of_annoted :
?filenames:int Kappa_data_structures.Mods.StringMap.t ->
('a -> Yojson.Basic.t) ->
'a annoted ->
Yojson.Basic.tInput JSON data of type t.
Annoted yojson helpers
val string_annoted_to_json :
filenames:int Kappa_data_structures.Mods.StringMap.t ->
string annoted ->
Yojson.Basic.tval string_option_annoted_to_json :
filenames:int Kappa_data_structures.Mods.StringMap.t ->
string option annoted ->
Yojson.Basic.tval string_option_annoted_of_json :
filenames:string array ->
Yojson.Basic.t ->
string option annoted