module Comment = Odoc_model.Comment
val source_of_code : string -> Types.Source.token list
module Reference : sig ... end
val leaf_inline_element : Comment.leaf_inline_element -> Types.Inline.one
val non_link_inline_element : Comment.non_link_inline_element -> Types.Inline.one
val non_link_inline_element_list : Comment.non_link_inline_element Comment.with_location list -> Types.Inline.t
val link_content : Comment.non_link_inline_element Comment.with_location list -> Types.Inline.t
val inline_element : Comment.inline_element -> Types.Inline.t
val inline_element_list : Comment.inline_element Odoc_model.Location_.with_location list -> Types.Inline.t
val nestable_block_element : Comment.nestable_block_element -> Types.Block.one
val nestable_block_element_list : Comment.nestable_block_element Odoc_model.Location_.with_location list -> Types.Block.t
val tag : Comment.tag -> Types.Block.t
val attached_block_element : Comment.attached_block_element -> Types.Block.t
val block_element : Comment.block_element -> Types.Block.t
val heading : [< `Heading of [< `Paragraph | `Section | `Subparagraph | `Subsection | `Subsubsection | `Title ] * [< `Label of 'a * Odoc_model.Names.LabelName.t ] * Comment.non_link_inline_element Comment.with_location list ] -> Types.Item.t
val item_element : Comment.block_element -> Types.Item.t list
val first_to_ir : [> `Paragraph of Comment.inline_element Comment.with_location list ] Odoc_model.Location_.with_location list -> Types.Block.t
val standalone : Comment.block_element Odoc_model.Location_.with_location list -> Types.Item.t list
val to_ir : Comment.docs -> Types.Block.t