S-expressions annotated with relative source positions and comments
val sexp_of_pos : pos ‑> Sexplib.Type.ttype t = Sexplib.Type_with_layout.t = | Atom of pos * string * string option |
| List of pos * t_or_comment list * pos |
S-expressions annotated with relative source positions and comments. All the positions are relative to the opening paren of the enclosing list, or the first character of the file.
type comment = Sexplib.Type_with_layout.comment = | Plain_comment of pos * string |
| Sexp_comment of pos * comment list * t |
val sexp_of_t : t ‑> Sexplib.Type.tval sexp_of_comment : comment ‑> Sexplib.Type.tval sexp_of_t_or_comment : t_or_comment ‑> Sexplib.Type.tmodule Forget : sig ... endmodule Render : sig ... end with type asexp := t_or_commentmodule Parser : sig ... endmodule Lexer : sig ... end