Module OctTypes

type style_kind =
| SK_bold
| SK_italic
| SK_emphasize
| SK_center
| SK_left
| SK_right
| SK_superscript
| SK_subscript
| SK_custom of string
type ref_kind =
| RK_element
| RK_module
| RK_module_type
| RK_class
| RK_class_type
| RK_value
| RK_type
| RK_exception
| RK_attribute
| RK_method
| RK_section
| RK_recfield
| RK_const
| RK_custom of string
type special_ref_kind =
| SRK_module_list of string list
| SRK_index_list
type text_element =
| Raw of string
| Code of string
| PreCode of string
| Verbatim of string
| Style of style_kind * text
| List of text list
| Enum of text list
| Newline
| Title of int * string option * text
| Ref of ref_kind * string * text option
| Special_ref of special_ref_kind
| Target of string option * string
type text = text_element list
type see_ref =
| See_url of string
| See_file of string
| See_doc of string
type tag =
| Author of string
| Version of string
| See of see_ref * text
| Since of string
| Before of string * text
| Deprecated of text
| Param of string * text
| Raised_exception of string * text
| Return_value of text
| Inline
| Custom of string * text
| Canonical of string
type t = text * tag list