Sexp.Annotated
type t = Sexplib.Pre_sexp.Annotated.t =
| Atom of range * Sexplib.Type.t
| List of range * t list * Sexplib.Type.t
val sexp_of_conv : ('a -> Sexplib.Type.t) -> 'a conv -> Sexplib.Type.t
val get_sexp : t -> Sexplib.Type.t
val find_sexp : t -> Sexplib.Type.t -> t option
val parse :
?parse_pos:Parse_pos.t ->
?len:int ->
string ->
(string, t) parse_result
val parse_bigstring :
?parse_pos:Parse_pos.t ->
?len:int ->
bigstring ->
(bigstring, t) parse_result
val input_sexp : ?parse_pos:Parse_pos.t -> in_channel -> t
val input_sexps : ?parse_pos:Parse_pos.t -> ?buf:bytes -> in_channel -> t list
val input_rev_sexps :
?parse_pos:Parse_pos.t ->
?buf:bytes ->
in_channel ->
t list
val load_sexp : ?strict:bool -> ?buf:bytes -> string -> t
val load_sexps : ?buf:bytes -> string -> t list
val load_rev_sexps : ?buf:bytes -> string -> t list
val of_string : string -> t
val conv : (Sexplib.Type.t -> 'a) -> t -> 'a conv
val get_conv_exn : file:string -> exc:exn -> t -> exn