Odoc_loader
Sourcetype make_root =
module_name:string ->
digest:Digest.t ->
(Odoc_model.Root.t, [ `Msg of string ]) Result.result
val read_string :
Odoc_model.Paths.Identifier.LabelParent.t ->
string ->
string ->
(Odoc_model.Comment.docs * Odoc_model.Frontmatter.t, Odoc_model.Error.t)
Result.result
Odoc_model.Error.with_warnings
val read_cmti :
make_root:make_root ->
parent:Odoc_model.Paths.Identifier.ContainerPage.t option ->
filename:string ->
warnings_tag:string option ->
(Odoc_model.Lang.Compilation_unit.t, Odoc_model.Error.t) Result.result
Odoc_model.Error.with_warnings
val read_cmt :
make_root:make_root ->
parent:Odoc_model.Paths.Identifier.ContainerPage.t option ->
filename:string ->
warnings_tag:string option ->
(Odoc_model.Lang.Compilation_unit.t, Odoc_model.Error.t) Result.result
Odoc_model.Error.with_warnings
val read_impl :
make_root:make_root ->
filename:string ->
source_id:Odoc_model.Paths.Identifier.SourcePage.t option ->
(Odoc_model.Lang.Implementation.t, Odoc_model.Error.t) Result.result
Odoc_model.Error.with_warnings
val read_cmi :
make_root:make_root ->
parent:Odoc_model.Paths.Identifier.ContainerPage.t option ->
filename:string ->
warnings_tag:string option ->
(Odoc_model.Lang.Compilation_unit.t, Odoc_model.Error.t) Result.result
Odoc_model.Error.with_warnings
val wrap_errors :
filename:string ->
(unit -> 'a) ->
'a Odoc_model.Error.with_errors_and_warnings
val parse_attribute :
Parsetree.attribute ->
[ `Text of string * Location.t
| `Doc of string * Location.t
| `Stop of Location.t
| `Alert of string * (string * Location.t) option * Location.t ]
option