Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type error = [
| `Invalid_construct of Location.t
| `Lexer of Location.t * Lexer.error
| `Parser of Syntaxerr.error
| `Syntax_error of Location.t
| `Exn of exn
]
exception Error of error
val loc_of_error : error -> Location.t
val format_error : Format.formatter -> error -> unit
val from_lexbuf : Lexing.lexbuf -> t list
They are not re-entrant, since OCaml's lexer is not.
val from_channel : Pervasives.in_channel -> t list
val from_string : string -> t list
val from_function : (string -> int -> int) -> t list