package merlin-lib
Merlin's libraries
Install
dune-project
Dependency
Authors
Maintainers
Sources
merlin-5.6-503.tbz
sha256=b0dcad092aaaf7a23f65ab9a089e8761bd665cc72357909e0ac6c2182f4fc2d4
sha512=9987baf2b2e82bab4c90a328bfcba9945e797e0f3d947156f04435ee84b49542844b379e35a79027c3ffe81f4b7a8f1c60803233999b4c039d4598033371880d
doc/merlin-lib.utils/Merlin_utils/Format_doc/Doc/index.html
Module Format_doc.Doc
Source
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
*)Format
printer used to provide backward-compatibility for user-defined printer (from the#install_printer
toplevel 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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page