Module Odoc_model.SemanticsSource
How to handle internal tags.
Source
type alerts =
[ `Tag of [ `Alert of string * string option ] ]
Odoc_model.Location_.with_location
listSource
val ast_to_comment :
internal_tags:'tags Odoc_model.Semantics.handle_internal_tags ->
tags_allowed:bool ->
parent_of_sections:Odoc_model.Paths.Identifier.LabelParent.t ->
Odoc_parser.Ast.t ->
Odoc_model.Semantics.alerts ->
(Odoc_model.Comment.elements * 'tags) Odoc_model.Error.with_warningsSource
val non_link_inline_element :
context:string ->
Odoc_parser.Ast.inline_element Odoc_model.Location_.with_location list ->
Odoc_model.Comment.non_link_inline_element Odoc_model.Location_.with_location
listSource
val parse_comment :
internal_tags:'tags Odoc_model.Semantics.handle_internal_tags ->
tags_allowed:bool ->
containing_definition:Odoc_model.Paths.Identifier.LabelParent.t ->
location:Stdlib.Lexing.position ->
text:string ->
(Odoc_model.Comment.elements * 'tags) Odoc_model.Error.with_warningsSource
val parse_reference :
string ->
Odoc_model.Paths.Reference.t Odoc_model.Error.with_errors_and_warnings