package parsexp

  1. Overview
  2. Docs
type t
include sig ... end
val sexp_of_t : t -> Sexplib.Sexp.t
val user_exn : t -> Base.exn

Exception raised by the user function

val sub_sexp : t -> Base.Sexp.t

S-expression that failed to be converted

val location : t -> Positions.range Base.option

Position of sub_sexp t in the original source, if found

val report : Caml.Format.formatter -> filename:Base.string -> t -> Base.unit

Similar to Parse_error.report

OCaml

Innovation. Community. Security.