package camlon

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type error = [
  1. | `Invalid_construct of Location.t
  2. | `Lexer of Location.t * Lexer.error
  3. | `Parser of Syntaxerr.error
  4. | `Syntax_error of Location.t
  5. | `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
OCaml

Innovation. Community. Security.