package sexplib

  1. Overview
  2. Docs
type pos = {
  1. line : int;
  2. col : int;
  3. offset : int;
}
type range = {
  1. start_pos : pos;
  2. end_pos : pos;
}
type t =
  1. | Atom of range * Type.t
  2. | List of range * t list * Type.t
type 'a conv = [
  1. | `Result of 'a
  2. | `Error of exn * t
]
exception Conv_exn of string * exn
type stack = {
  1. mutable positions : pos list;
  2. mutable stack : t list list;
}
val get_sexp : t -> Type.t
val get_range : t -> range
exception Annot_sexp of t
val find_sexp : t -> Type.t -> t option
OCaml

Innovation. Community. Security.