package ppx_expect
Module Cst.LineSource
Source
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.
*)
}Source
type 'a t = | Blank of Base.string(*regexp: "
*)\t*"| Conflict_marker of Base.string(*regexp: "^(<
|
||>
|=
)"
*)| Not_blank of 'a not_blank
The callback receive the orig and data fields