Odoc_parser.Ast
type inline_element = [
| `Code_span of string
| `Link of string * inline_element with_location list
| `Math_span of string
| `Raw_markup of string option * string
| `Reference of
reference_kind * string with_location * inline_element with_location list
| `Space of string
| `Styled of style * inline_element with_location list
| `Word of string
]
type nestable_block_element = [
| `Code_block of
(string with_location * string with_location option) option
* string with_location
| `List of
[ `Ordered | `Unordered ]
* [ `Heavy | `Light ]
* nestable_block_element with_location list list
| `Math_block of string
| `Modules of string with_location list
| `Paragraph of inline_element with_location list
| `Verbatim of string
]
type ocamldoc_tag = [
| `Author of string
| `Before of string * nestable_block_element with_location list
| `Deprecated of nestable_block_element with_location list
| `Param of string * nestable_block_element with_location list
| `Raise of string * nestable_block_element with_location list
| `Return of nestable_block_element with_location list
| `See of
[ `Document | `File | `Url ]
* string
* nestable_block_element with_location list
| `Since of string
| `Version of string
]
type tag = [
| `Author of string
| `Before of string * nestable_block_element with_location list
| `Canonical of string with_location
| `Closed
| `Deprecated of nestable_block_element with_location list
| `Inline
| `Open
| `Param of string * nestable_block_element with_location list
| `Raise of string * nestable_block_element with_location list
| `Return of nestable_block_element with_location list
| `See of
[ `Document | `File | `Url ]
* string
* nestable_block_element with_location list
| `Since of string
| `Version of string
]
type heading = int * string option * inline_element with_location list
type block_element = [
| `Code_block of
(string with_location * string with_location option) option
* string with_location
| `Heading of heading
| `List of
[ `Ordered | `Unordered ]
* [ `Heavy | `Light ]
* nestable_block_element with_location list list
| `Math_block of string
| `Modules of string with_location list
| `Paragraph of inline_element with_location list
| `Tag of tag
| `Verbatim of string
]
type t = block_element with_location list