package odoc

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type kind = [
  1. | Path.kind
  2. | `Section
  3. | `Type
  4. | `Extension
  5. | `ExtensionDecl
  6. | `Exception
  7. | `Method
  8. | `Val
  9. | `Constructor
  10. | `Field
]
val pp_kind : Format.formatter -> kind -> unit
val string_of_kind : kind -> string
type t = {
  1. page : Path.t;
  2. anchor : string;
    (*

    Anchor in page where the element is attached

    *)
  3. kind : kind;
    (*

    What kind of element the path points to. e.g. "module", "module-type", "exception", ...

    *)
}
val extension_decl : Odoc_model.Lang.Extension.t -> t

Anchor for the extension declaration item itself, which doesn't have an identifier in the model.

OCaml

Innovation. Community. Security.