package merlin-lib
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Merlin's libraries
Install
dune-project
Dependency
Authors
Maintainers
Sources
merlin-5.8-505.tbz
sha256=5642cde8486a84aad98fa5c590b70e8dcc6074d7fbdb3b9b8c46b2c5b42f653b
sha512=1d7a7751157e393d3ae248ef5ae24a6b4e81430666c61cc51a3d0ec35804523317036f3d7a3c7f18a7554337f4e5f5989fb677865b261ece3fd2b317903570ba
doc/merlin-lib.ocaml_utils/Ocaml_utils/Format_doc/Doc/index.html
Module Format_doc.DocSource
Definitions and immutable API for composing documents
Type definitions and core functions
Format box types
Source
type element = | Text of string| With_size of int| Open_box of {kind : box_type;indent : int;
}| Close_box| Open_tag of Format.stag| Close_tag| Open_tbox| Tab_break of {}| Set_tab| Close_tbox| Simple_break of {}| Break of {}| Flush of {}| Newline| If_newline| Deprecated of Format.formatter -> unit(*Escape hatch: a
*)Formatprinter used to provide backward-compatibility for user-defined printer (from the#install_printertoplevel directive for instance).
Base formatting instruction recognized by Format
Immutable document type
format ppf doc sends the format instruction of doc to the Format's formatter doc.
Fold over a document as a sequence of instructions
The functions below mirror Format printers, without the pp_print_ prefix naming convention
Alignment functions
Align the right side of one "@{<ralign>...@}" tag box by inserting spaces at the beginning of boxes. Those function do nothing if the tag box appears after a break hint.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page