Module Sexp_with_layout.Render
type last_atom = {
immed_after : Abs_pos.t;
unescaped : bool;
}
type 'a t = (char -> unit) -> state -> 'a
val return : 'a -> 'b -> 'c -> 'd
val bind : ('a -> 'b -> 'c) -> f:('d -> 'e -> 'f -> 'g) -> 'h -> 'i -> 'j
val run : 'a -> ('b -> state -> 'c) -> 'd
val emit_char : (char -> 'a) -> state -> char -> unit
val emit_string : (char -> 'a) -> state -> string -> unit
val emit_chars : (char -> 'a) -> state -> char -> n:int -> unit
val advance :
(char -> 'a) ->
anchor:Abs_pos.t ->
state ->
by:Sexplib__Src_pos.Relative.t ->
unescaped_atom:bool ->
line_comment:bool ->
unit