Cst.Line
type 'a not_blank = {
trailing_blanks : Base.string; | (* regexp: " |
orig : Base.string; | (* Original contents of the line without the trailing blanks or indentation. regexp: " |
data : 'a; | (* Data associated to the line. *) |
}
val sexp_of_not_blank : ('a -> Expect_test_matcher__.Import.Ppx_sexp_conv_lib.Sexp.t) -> 'a not_blank -> Expect_test_matcher__.Import.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_t : ('a -> Expect_test_matcher__.Import.Ppx_sexp_conv_lib.Sexp.t) -> 'a t -> Expect_test_matcher__.Import.Ppx_sexp_conv_lib.Sexp.t
val map : 'a t -> f:(Base.string -> 'a -> 'b) -> 'b t
The callback receive the orig
and data
fields
val data : 'a t -> blank:'a -> 'a