package ocamlformat-lib
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OCaml Code Formatter
Install
dune-project
Dependency
Authors
Maintainers
Sources
ocamlformat-0.28.1.tbz
sha256=70bda037d0bed961ed91bdb5198b2eeef542444750a8b015d80ccb94b3ff41fb
sha512=8de0517165c6f0cadcedcce66e57cb723956768a8068abd062243abb08fabf292283d0d284be230aa5647d0883a4dc7f28fcf1b70338a2b0c9b17a5bed1bbb71
doc/ocamlformat-lib.odoc_parser/Ocamlformat_odoc_parser/Token/index.html
Module Ocamlformat_odoc_parser.TokenSource
Source
type tag = [ | `Tag of [ `Author of string | `Deprecated | `Param of string | `Raise of string | `Return | `See of [ `Url | `File | `Document ] * string | `Since of string | `Before of string | `Version of string | `Canonical of string | `Children_order | `Short_title | `Inline | `Open | `Closed | `Hidden ]
]Source
type media_markup = [ | `Simple_media of media_href * media| `Media_with_replacement_text of media_href * media * string
]Source
type t = [ | `End| `Space of string| `Single_newline of string| `Blank_line of string| `Right_brace| `Right_code_delimiter| `Word of string| `Code_span of string| `Raw_markup of string option * string| `Math_span of string| `Math_block of string| `Begin_style of style| `Begin_paragraph_style of paragraph_style| `Simple_reference of string| `Begin_reference_with_replacement_text of string| `Simple_link of string| `Begin_link_with_replacement_text of string| media_markup| `Code_block of (string Loc.with_location * string Loc.with_location option) option * string * string Loc.with_location * bool| `Verbatim of string| `Modules of string| `Begin_list of [ `Unordered | `Ordered ]| `Begin_list_item of [ `Li | `Dash ]| `Begin_table_light| `Begin_table_heavy| `Begin_table_row| `Begin_table_cell of [ `Header | `Data ]| `Minus| `Plus| `Bar| section_heading| tag
]Source
val print :
[< `Bar
| `Begin_link_with_replacement_text of string & 'a
| `Begin_list_item of [ `Dash | `Li ] & [< `Dash | `Li ]
| `Begin_paragraph_style of paragraph_style & [< `Center | `Left | `Right ]
| `Begin_reference_with_replacement_text of string & 'b
| `Begin_section_heading of int * string option
| `Begin_style of
style & [< `Bold | `Emphasis | `Italic | `Subscript | `Superscript ]
| `Begin_table_cell of [ `Data | `Header ] & [< `Data | `Header ]
| `Begin_table_heavy
| `Begin_table_light
| `Begin_table_row
| `Media_with_replacement_text of
media_href * media * string & [< `Link of 'c | `Reference of 'd ]
* [< `Audio | `Image | `Video ]
* 'e
| `Minus
| `Plus
| `Raw_markup of string option * string & string option * 'f
| `Simple_media of
media_href * media & [< `Link of 'g | `Reference of 'h ]
* [< `Audio | `Image | `Video ]
| `Tag of
[ `Author of string
| `Before of string
| `Canonical of string
| `Children_order
| `Closed
| `Deprecated
| `Hidden
| `Inline
| `Open
| `Param of string
| `Raise of string
| `Return
| `See of [ `Document | `File | `Url ] * string
| `Short_title
| `Since of string
| `Version of string ] & [< `Author of 'i
| `Before of 'j
| `Canonical of 'k
| `Children_order
| `Closed
| `Deprecated
| `Hidden
| `Inline
| `Open
| `Param of 'l
| `Raise of 'm
| `Return
| `See of 'n
| `Short_title
| `Since of 'o
| `Version of 'p ] ] ->
stringSource
val describe :
[< `Bar
| `Begin_link_with_replacement_text of string & 'a
| `Begin_list of [ `Ordered | `Unordered ] & [< `Ordered | `Unordered ]
| `Begin_list_item of [ `Dash | `Li ] & [< `Dash | `Li ]
| `Begin_paragraph_style of paragraph_style & [< `Center | `Left | `Right ]
| `Begin_reference_with_replacement_text of string & 'b
| `Begin_section_heading of int * string option & int * 'c
| `Begin_style of
style & [< `Bold | `Emphasis | `Italic | `Subscript | `Superscript ]
| `Begin_table_cell of [ `Data | `Header ] & [< `Data | `Header ]
| `Begin_table_heavy
| `Begin_table_light
| `Begin_table_row
| `Blank_line of string & 'd
| `Code_block of
(string Loc.with_location * string Loc.with_location option) option
* string
* string Loc.with_location
* bool & 'e
| `Code_span of string & 'f
| `Comment
| `End
| `Math_block of string & 'g
| `Math_span of string & 'h
| `Media_with_replacement_text of
media_href * media * string & [< `Link of 'i | `Reference of 'j ]
* [< `Audio | `Image | `Video ]
* 'k
| `Minus
| `Modules of string & 'l
| `Plus
| `Raw_markup of string option * string & 'm
| `Right_brace
| `Right_code_delimiter
| `Simple_link of string & 'n
| `Simple_media of
media_href * media & [< `Link of 'o | `Reference of 'p ]
* [< `Audio | `Image | `Video ]
| `Simple_reference of string & 'q
| `Single_newline of string & 'r
| `Space of string & 's
| `Tag of
[ `Author of string
| `Before of string
| `Canonical of string
| `Children_order
| `Closed
| `Deprecated
| `Hidden
| `Inline
| `Open
| `Param of string
| `Raise of string
| `Return
| `See of [ `Document | `File | `Url ] * string
| `Short_title
| `Since of string
| `Version of string ] & [< `Author of 't
| `Before of 'u
| `Canonical of 'v
| `Children_order
| `Closed
| `Deprecated
| `Hidden
| `Inline
| `Open
| `Param of 'w
| `Raise of 'x
| `Return
| `See of 'y
| `Short_title
| `Since of 'z
| `Version of 'a1 ]
| `Verbatim of string & 'b1
| `Word of string ] ->
stringSource
val describe_element :
[< `Heading of int * 'a * 'b
| `Link of 'c
| `Reference of [< `Simple | `With_text ] * 'd * 'e ] ->
string sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>