package iri

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val pos : ?file:string -> line:int -> bol:int -> char:int -> unit -> Stdlib.Lexing.position
type loc = {
  1. loc_start : Stdlib.Lexing.position;
  2. loc_stop : Stdlib.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 : Stdlib.Lexing.position -> Stdlib.Lexing.position -> loc
val loc_of_pos : Stdlib.Lexing.position -> int -> loc
val iri : ?pctdecode:bool -> ?pos:Stdlib.Lexing.position -> Sedlexing.lexbuf -> Iri_types.t