Concrete syntax tree of s-expressions
This module exposes a type that describe the full contents of a source file containing s-expressions.
One can use this type to do low-level rewriting of s-expression files.
type t = | Atom of {
} | ||||
| List of {
} |
type comment = | Plain_comment of {
} | (** Line or block comment *) | ||
| Sexp_comment of {
} |
include sig ... endval compare_t_or_comment : t_or_comment ‑> t_or_comment ‑> Base.intval sexp_of_t : t ‑> Sexplib.Sexp.tval sexp_of_t_or_comment : t_or_comment ‑> Sexplib.Sexp.tval sexp_of_comment : comment ‑> Sexplib.Sexp.tmodule Forget : sig ... end