Module Parsexp__.Cst
type t
=
|
Atom of
{
loc : Parsexp.Positions.range;
atom : string;
Original unescaped atom, in case it is a double-quoted atom. The string includes the enclosing double quotes.
unescaped : string option;
}
|
List of
{
loc : Parsexp.Positions.range;
elements : t_or_comment list;
}
and t_or_comment
=
|
Sexp of t
|
Comment of comment
and comment
=
|
Plain_comment of
{
loc : Parsexp.Positions.range;
comment : string;
}
Line or block comment
|
Sexp_comment of
{
hash_semi_pos : Parsexp.Positions.pos;
comments : comment list;
sexp : t;
}
val compare : t -> t -> int
val compare_t_or_comment : t_or_comment -> t_or_comment -> int
val compare_comment : comment -> comment -> int
val sexp_of_t : t -> Parsexp__.Import.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_t_or_comment : t_or_comment -> Parsexp__.Import.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_comment : comment -> Parsexp__.Import.Ppx_sexp_conv_lib.Sexp.t
module Forget : sig ... end