Module Rdf_loc

module Rdf_loc: sig .. end
Locations.

type loc = {
   loc_start : Lexing.position;
   loc_end : Lexing.position;
}
val dummy_loc : loc
Dummy location.
val source_info_string : string -> int -> int -> loc
From the given utf8 string and start and stop characters, return the corresponding location.
val source_info_file : string -> int -> int -> loc
From the given file and start and stop characters, read the content of the file as utf8, and return the corresponding location.
val string_of_loc : loc -> string
Return a string representing the given location.