type kind = [
| `Class
| `ClassType
| `File
| `LeafPage
| `Module
| `ModuleType
| `Page
| `Parameter of int
| `SourcePage
]
val string_of_kind : kind -> string
type t = {
kind : kind;
parent : t option;
name : string;
}
type any_pv = [
| `AssetFile of
[ `LeafPage of
Odoc_model__Paths.Identifier.Id.container_page_pv
Odoc_model__.Paths_types.id
option
* Odoc_model__.Names.PageName.t
| `Page of
Odoc_model__Paths.Identifier.Id.container_page_pv
Odoc_model__.Paths_types.id
option
* Odoc_model__.Names.PageName.t ]
Odoc_model__.Paths_types.id
* string
| `Class of
Odoc_model__Paths.Identifier.Id.signature_pv Odoc_model__.Paths_types.id
* Odoc_model__.Names.ClassName.t
| `ClassType of
Odoc_model__Paths.Identifier.Id.signature_pv Odoc_model__.Paths_types.id
* Odoc_model__.Names.ClassTypeName.t
| `LeafPage of
Odoc_model__Paths.Identifier.Id.container_page_pv Odoc_model__.Paths_types.id
option
* Odoc_model__.Names.PageName.t
| `Module of
Odoc_model__Paths.Identifier.Id.signature_pv Odoc_model__.Paths_types.id
* Odoc_model__.Names.ModuleName.t
| `ModuleType of
Odoc_model__Paths.Identifier.Id.signature_pv Odoc_model__.Paths_types.id
* Odoc_model__.Names.ModuleTypeName.t
| `Page of
Odoc_model__Paths.Identifier.Id.container_page_pv Odoc_model__.Paths_types.id
option
* Odoc_model__.Names.PageName.t
| `Parameter of
Odoc_model__Paths.Identifier.Id.signature_pv Odoc_model__.Paths_types.id
* Odoc_model__.Names.ModuleName.t
| `Result of
Odoc_model__Paths.Identifier.Id.signature_pv Odoc_model__.Paths_types.id
| `Root of
Odoc_model__Paths.Identifier.Id.container_page_pv Odoc_model__.Paths_types.id
option
* Odoc_model__.Names.ModuleName.t
| `SourceDir of
Odoc_model__Paths.Identifier.Id.source_dir_pv Odoc_model__.Paths_types.id
* string
| `SourcePage of
Odoc_model__Paths.Identifier.Id.source_dir_pv Odoc_model__.Paths_types.id
* string
]
val to_list : t -> (kind * string) list
val of_list : (kind * string) list -> t option
val split :
is_dir:(kind -> [ `Always | `IfNotLast | `Never ]) ->
(kind * string) list ->
(kind * string) list * (kind * string) list