iri

IRI (RFC3987) native OCaml implementation
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library iri
Module Iri_lexer
val pos : ?file:string -> line:int -> bol:int -> char:int -> unit -> Lexing.position
type loc = {
loc_start : Lexing.position;
loc_stop : Lexing.position;
}
type !'a with_loc = 'a * loc option
type error = loc * string
exception Error of error
val error : ?msg:string -> loc -> string -> 'a
val string_of_loc : loc -> string
val string_of_error : (loc * string) -> string
val loc_of_pos : Lexing.position -> int -> loc
val iri : ?pctdecode:bool -> ?pos:Lexing.position -> Sedlexing.lexbuf -> Iri_types.t