Module Ocamlformat_odoc_parser.TokenSource
Sourcetype section_heading = [ | `Begin_section_heading of int * string option
] Sourcetype style = [ | `Bold| `Italic| `Emphasis| `Superscript| `Subscript
] Sourcetype paragraph_style = [ | `Left| `Center| `Right
] Sourcetype 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
| `Toc_status
| `Order_category
| `Short_title
| `Inline
| `Open
| `Closed
| `Hidden ]
] Sourcetype 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 * code_block_tags) 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
] Sourceval 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
| `Order_category
| `Param of string
| `Raise of string
| `Return
| `See of [ `Document | `File | `Url ] * string
| `Short_title
| `Since of string
| `Toc_status
| `Version of string ] & [< `Author of 'i
| `Before of 'j
| `Canonical of 'k
| `Children_order
| `Closed
| `Deprecated
| `Hidden
| `Inline
| `Open
| `Order_category
| `Param of 'l
| `Raise of 'm
| `Return
| `See of 'n
| `Short_title
| `Since of 'o
| `Toc_status
| `Version of 'p ] ] ->
string Sourceval 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 * code_block_tags) 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
| `Order_category
| `Param of string
| `Raise of string
| `Return
| `See of [ `Document | `File | `Url ] * string
| `Short_title
| `Since of string
| `Toc_status
| `Version of string ] & [< `Author of 't
| `Before of 'u
| `Canonical of 'v
| `Children_order
| `Closed
| `Deprecated
| `Hidden
| `Inline
| `Open
| `Order_category
| `Param of 'w
| `Raise of 'x
| `Return
| `See of 'y
| `Short_title
| `Since of 'z
| `Toc_status
| `Version of 'a1 ]
| `Verbatim of string & 'b1
| `Word of string ] ->
string Sourceval describe_element :
[< `Heading of int * 'a * 'b
| `Link of 'c
| `Reference of [< `Simple | `With_text ] * 'd * 'e ] ->
string