package ocp-index
Lightweight completion and documentation browsing for OCaml libraries
Install
dune-project
Dependency
Authors
Maintainers
Sources
1.1.9.tar.gz
md5=e66ce96958cc87c724e9163feaaf769f
sha512=3ecc6b5208db5be23edb2cca66324aad0768644e2a08a9fb0294f920a53ae22af46c5f6cd4768f61d1c532b3110a99873b4c5139fc2585b3b70e41c8e577b543
doc/ocp-index.lib/LibIndex/Format/index.html
Module LibIndex.Format
type coloriser = {
f : 'a. IndexTypes.kind -> ('a, Format.formatter, unit) format -> Format.formatter -> 'a;
}
val color : coloriser
val no_color : coloriser
val name : ?colorise:coloriser -> Format.formatter -> IndexTypes.info -> unit
short name of the identifier
val path :
?short:bool ->
?colorise:coloriser ->
Format.formatter ->
IndexTypes.info ->
unit
fully qualified name (with short
, returns the path the ident was found at, not the path where it was originally created)
val kind : ?colorise:coloriser -> Format.formatter -> IndexTypes.info -> unit
val ty : ?colorise:coloriser -> Format.formatter -> IndexTypes.info -> unit
val doc :
?escaped:bool ->
?colorise:coloriser ->
Format.formatter ->
IndexTypes.info ->
unit
val loc :
?root:string ->
?intf:bool ->
?colorise:coloriser ->
Format.formatter ->
IndexTypes.info ->
unit
val file : ?colorise:coloriser -> Format.formatter -> IndexTypes.info -> unit
val info : ?colorise:coloriser -> Format.formatter -> IndexTypes.info -> unit
summary of the information
val format :
?root:string ->
?separate:bool ->
string ->
?colorise:coloriser ->
Format.formatter ->
IndexTypes.info ->
unit
print following a custom format string (%n,%p,%k,%t,%d,%l,%s,%f,%i are interpreted). If ~separate
is set to true
, escapes are formatted independently.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>