1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
module Kind : sig
type t =
| Doc (** Standalone doc comment *)
| Page (** Mld page *)
| Impl (** Source page *)
| Module
| Module_type
| Class
| Class_type
| Method
| Val of Typexpr.t
| Type_decl of string option
| Type_extension
| Extension_constructor of Typexpr.t
| Exception of Typexpr.t
| Constructor of Typexpr.t
| Field of Typexpr.t
val equal : t -> t -> bool
val get_type : t -> Typexpr.t option
end
module Package : sig
type t = private
{ name : string
; version : string
}
val v : name:string -> version:string -> t
val link : t -> string
end
type t =
{ name : string
; rhs : string option
; url : string
; kind : Kind.t
; cost : int
; doc_html : string
; pkg : Package.t
}
val pp : t Fmt.t
val v
: name:string
-> kind:Kind.t
-> cost:int
-> rhs:string option
-> doc_html:string
-> url:string
-> pkg:Package.t
-> unit
-> t
val link : t -> string
val compare : t -> t -> int
val equal : t -> t -> bool
|