package parsexp

  1. Overview
  2. Docs
type t
include sig ... end
val sexp_of_t : t -> Sexplib.Sexp.t
val position : t -> Positions.pos
val message : t -> Base.string
val report : Caml.Format.formatter -> filename:Base.string -> t -> Base.unit

Report an error in a style similar to OCaml, for instance:

File "blah", line 42, character 10: Error: s-expression parsing error; unterminated quoted string.

OCaml

Innovation. Community. Security.