On this page:
top
up

1Creating Rendering FunctionsπŸ”— i

function

fun make (~render:render:: Function.of_arity (2),

~render_in_space:render_in_space:: Function.of_arity (3),

~render_whitespace:render_whitespace:: Function.of_arity (1),

~render_indentation:render_indentation:: Function.of_arity (5),

~render_line:render_line:: Function.of_arity (1),

~render_one_line:render_one_line:: Function.of_arity (1),

~render_lines:render_lines:: Function.of_arity (1),

~rendered_shape:rendered_shape:: Function.of_arity (1),

~is_rendered:is_rendered:: Function.of_arity (1))

Returns two functions:

  • render_line: renders a group syntax object without comments and with simplified whitespace

  • render_block: renders a syntax object with multiple groups preserving original comments and whitespace

These functions are specialized to a rendered form bu the arguments to make .

top
up

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /