Sexplib.Type_with_layoutS-expressions annotated with relative source positions and comments
module Parsed : Make(Src_pos.Absolute).Sparsing produces absolute positions
include Make(Src_pos.Relative).Stype t = | Atom of Src_pos.Relative.t * string * string option |
| List of Src_pos.Relative.t * t_or_comment list * Src_pos.Relative.t |
S-expressions annotated with relative source positions and comments
and comment = | Plain_comment of Src_pos.Relative.t * string |
| Sexp_comment of Src_pos.Relative.t * comment list * t |
val sexp_of_t_or_comment : t_or_comment -> Type.tval relativize : Parsed.t_or_comment -> t_or_comment