package ppx_expect
Cram like framework for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
v0.14.2.tar.gz
sha256=c58afa94319f4c1675994e4a576a4f436675eea37b340d0ccddada6994a792bd
md5=ce1bb859cf695eb8f165fe1e03fff2c1
doc/ppx_expect.matcher/Expect_test_matcher/Cst/Line/index.html
Module Cst.Line
type 'a not_blank = {
trailing_blanks : Base.string;
(*regexp: "
*)\t
*"orig : Base.string;
(*Original contents of the line without the trailing blanks or indentation. regexp: "
*)^\n
*^ \t\n
"data : 'a;
(*Data associated to the line.
*)
}
val sexp_of_not_blank : ('a -> Base.Sexp.t) -> 'a not_blank -> Base.Sexp.t
val sexp_of_t : ('a -> Base.Sexp.t) -> 'a t -> Base.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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>