Sexp_pretty.Configval sexp_of_color : color -> Sexplib0.Sexp.tval color_of_sexp : Sexplib0.Sexp.t -> colorDatatypes of various thresholds
val sexp_of_atom_threshold : atom_threshold -> Sexplib0.Sexp.tval atom_threshold_of_sexp : Sexplib0.Sexp.t -> atom_thresholdval sexp_of_char_threshold : char_threshold -> Sexplib0.Sexp.tval char_threshold_of_sexp : Sexplib0.Sexp.t -> char_thresholdDepth is the depth of an atom. For example, in (a (b (c) d)), the depth of a is 1, the depth of b and d is 2, and depth of c is 3. Depth_threshold usually refers to the maximum depth of any atom in a list for it to be considered for certain heuristic, e.g. data alignment.
val sexp_of_depth_threshold : depth_threshold -> Sexplib0.Sexp.tval depth_threshold_of_sexp : Sexplib0.Sexp.t -> depth_thresholdWhether or not should closing parentheses be aligned.
val sexp_of_aligned_parens : aligned_parens -> Sexplib0.Sexp.tval aligned_parens_of_sexp : Sexplib0.Sexp.t -> aligned_parenstype data_alignment = | Data_not_aligned| Data_aligned of aligned_parens
* atom_threshold
* char_threshold
* depth_thresholdCharacter threshold is excluding spaces and parentheses, the maximum depth can't exceed the depth threshold.
*)val sexp_of_data_alignment : data_alignment -> Sexplib0.Sexp.tval data_alignment_of_sexp : Sexplib0.Sexp.t -> data_alignmenttype atom_coloring = | Color_first of Base.intColor the first one, only if the number of atoms that follow it at most the value of the constructor's argument.
*)| Color_all| Color_noneval sexp_of_atom_coloring : atom_coloring -> Sexplib0.Sexp.tval atom_coloring_of_sexp : Sexplib0.Sexp.t -> atom_coloringThis currently relates only to block comments. Auto_indent tries to infer the indentation from the original formatting, Indent_comment n indents new lines in a block comment by n spaces.
val sexp_of_comment_indent : comment_indent -> Sexplib0.Sexp.tval comment_indent_of_sexp : Sexplib0.Sexp.t -> comment_indentval all_of_comment_print_style : comment_print_style Base.listval sexp_of_comment_print_style : comment_print_style -> Sexplib0.Sexp.tval comment_print_style_of_sexp : Sexplib0.Sexp.t -> comment_print_styleComment treatment.
val sexp_of_comments : comments -> Sexplib0.Sexp.tval comments_of_sexp : Sexplib0.Sexp.t -> commentsval sexp_of_atom_printing : atom_printing -> Sexplib0.Sexp.tval atom_printing_of_sexp : Sexplib0.Sexp.t -> atom_printingSingleton_lists are lists of the following format
(ATOM_1 .. ATOM_N (....))
and are printed in the following way if they are too big to fit on a line/force a breakline for other reasons:
(ATOM_1 .. ATOM_N ( .... ))
Thresholds correspond to what's an acceptable number/size of the leading atoms ATOM_1 through ATOM_N.
Character threshold is excluding spaces.
val sexp_of_singleton_limit : singleton_limit -> Sexplib0.Sexp.tval singleton_limit_of_sexp : Sexplib0.Sexp.t -> singleton_limittype paren_coloring = Base.boolShould parentheses be colored?
val sexp_of_paren_coloring : paren_coloring -> Sexplib0.Sexp.tval paren_coloring_of_sexp : Sexplib0.Sexp.t -> paren_coloringval sexp_of_separator : separator -> Sexplib0.Sexp.tval separator_of_sexp : Sexplib0.Sexp.t -> separatorShould closing parentheses be on the same line as the last sexp in the list (modulo comments), or should they be on new lines? Should opening parentheses always be on the same line as what follows them, or should they sometimes (when the first item in the list is a list followed by some other sexp) be on a separate line?
val sexp_of_parens : parens -> Sexplib0.Sexp.tval parens_of_sexp : Sexplib0.Sexp.t -> parensWhere to put line comments relative to an associated sexp.
val sexp_of_sticky_comments : sticky_comments -> Sexplib0.Sexp.tval sticky_comments_of_sexp : Sexplib0.Sexp.t -> sticky_commentstype t = {indent : Base.int;data_alignment : data_alignment;color_scheme : color Base.array;atom_coloring : atom_coloring;atom_printing : atom_printing;paren_coloring : paren_coloring;opening_parens : parens;closing_parens : parens;comments : comments;singleton_limit : singleton_limit;leading_threshold : atom_threshold * char_threshold;separator : separator;sticky_comments : sticky_comments;}include Sexplib0.Sexpable.S with type t := tval t_of_sexp : Sexplib0.Sexp.t -> tval sexp_of_t : t -> Sexplib0.Sexp.tval default : t