Module Odoc_model.Comment
module Path = Odoc_model.Paths.Pathmodule Reference = Odoc_model.Paths.Referencemodule Identifier = Odoc_model.Paths.Identifiertype 'a with_location = 'a Odoc_model.Location_.with_locationtype leaf_inline_element = [ | `Space| `Word of string| `Code_span of string| `Math_span of string| `Raw_markup of Odoc_model.Comment.raw_markup_target * string
]type non_link_inline_element = [ | Odoc_model.Comment.leaf_inline_element| `Styled of Odoc_model.Comment.style * Odoc_model.Comment.non_link_inline_element Odoc_model.Comment.with_location list
]type link_content =
Odoc_model.Comment.non_link_inline_element Odoc_model.Comment.with_location
listtype inline_element = [ | Odoc_model.Comment.leaf_inline_element| `Styled of Odoc_model.Comment.style * Odoc_model.Comment.inline_element Odoc_model.Comment.with_location list| Odoc_model.Comment.reference_element| `Link of string * Odoc_model.Comment.link_content
]type paragraph =
Odoc_model.Comment.inline_element Odoc_model.Comment.with_location listtype module_reference = {module_reference : Reference.Module.t;module_synopsis : Odoc_model.Comment.paragraph option;
}The {!modules: ...} markup. module_synopsis is initially None, it is resolved during linking.
type 'a cell = 'a Odoc_model.Comment.with_location list * [ `Header | `Data ]type 'a row = 'a Odoc_model.Comment.cell listtype 'a grid = 'a Odoc_model.Comment.row listtype 'a abstract_table = {data : 'a Odoc_model.Comment.grid;align : Odoc_model.Comment.alignment option list option;
}type media_element = [ | `Media of Odoc_model.Comment.media_href * Odoc_model.Comment.media * string
]type nestable_block_element = [ | `Paragraph of Odoc_model.Comment.paragraph| `Code_block of string option * string Odoc_model.Comment.with_location * Odoc_model.Comment.nestable_block_element Odoc_model.Comment.with_location list option| `Math_block of string| `Verbatim of string| `Modules of Odoc_model.Comment.module_reference list| `Table of Odoc_model.Comment.nestable_block_element Odoc_model.Comment.abstract_table| `List of [ `Unordered | `Ordered ] * Odoc_model.Comment.nestable_block_element Odoc_model.Comment.with_location list list| Odoc_model.Comment.media_element
]type tag = [ | `Author of string| `Deprecated of Odoc_model.Comment.nestable_block_element Odoc_model.Comment.with_location list| `Param of string * Odoc_model.Comment.nestable_block_element Odoc_model.Comment.with_location list| `Raise of [ `Code_span of string | Odoc_model.Comment.reference_element ] * Odoc_model.Comment.nestable_block_element Odoc_model.Comment.with_location list| `Return of Odoc_model.Comment.nestable_block_element Odoc_model.Comment.with_location list| `See of [ `Url | `File | `Document ] * string * Odoc_model.Comment.nestable_block_element Odoc_model.Comment.with_location list| `Since of string| `Before of string * Odoc_model.Comment.nestable_block_element Odoc_model.Comment.with_location list| `Version of string| `Alert of string * string option
]type heading_attrs = {heading_level : Odoc_model.Comment.heading_level;heading_label_explicit : bool;(*Whether the label have been written by the user.
*)
}type block_element = [ | Odoc_model.Comment.nestable_block_element| `Heading of Odoc_model.Comment.heading_attrs * Identifier.Label.t * Odoc_model.Comment.inline_element Odoc_model.Comment.with_location list| `Tag of Odoc_model.Comment.tag
]type elements =
Odoc_model.Comment.block_element Odoc_model.Comment.with_location listval synopsis :
[> `Paragraph of 'a ] Odoc_model.Location_.with_location list ->
'a optionThe synopsis is the first element of a comment if it is a paragraph. Otherwise, there is no synopsis.
val link_content_of_inline_element :
Odoc_model.Comment.inline_element Odoc_model.Comment.with_location ->
Odoc_model.Comment.link_contentval link_content_of_inline_elements :
Odoc_model.Comment.inline_element Odoc_model.Comment.with_location list ->
Odoc_model.Comment.non_link_inline_element Odoc_model.Comment.with_location
listval find_zero_heading :
[> `Heading of
Odoc_model.Comment.heading_attrs
* 'a
* Odoc_model.Comment.inline_element Odoc_model.Comment.with_location
list ]
Odoc_model.Location_.with_location
Odoc_utils.List.t ->
Odoc_model.Comment.link_content optionval to_string : Odoc_model.Comment.link_content -> string