Module Sexplib__Sexp_with_layout

module List : sig ... end
include Sexplib.Type_with_layout

S-expressions annotated with relative source positions and comments

parsing produces absolute positions

include Make(Sexplib.Src_pos.Relative).S
type t =
| Atom of Sexplib.Src_pos.Relative.t * string * string option
| List of Sexplib.Src_pos.Relative.t * t_or_comment list * Sexplib.Src_pos.Relative.t

S-expressions annotated with relative source positions and comments

type t_or_comment =
| Sexp of t
| Comment of comment
type comment =
| Plain_comment of Sexplib.Src_pos.Relative.t * string
| Sexp_comment of Sexplib.Src_pos.Relative.t * comment list * t
val sexp_of_t : t ‑> Sexplib.Type.t
val sexp_of_comment : comment ‑> Sexplib.Type.t
val sexp_of_t_or_comment : t_or_comment ‑> Sexplib.Type.t
val relativize : Parsed.t_or_comment ‑> t_or_comment
type pos = Sexplib.Src_pos.Relative.t = {
row : int;
col : int;
}
val sexp_of_pos : Sexplib.Src_pos.Relative.t ‑> Sexplib.Type.t
module Lexer : sig ... end
module Parser = Sexplib.Parser_with_layout
module Render : sig ... end
module Forget : sig ... end