File: db_writer.mli

package info (click to toggle)
ocaml-odoc 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,008 kB
  • sloc: ml: 60,567; javascript: 2,572; sh: 566; makefile: 31
file content (13 lines) | stat: -rw-r--r-- 459 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
type t
(** The type that builds a database. You can use it to add things to it, but
    you cannot make queries on it. *)

val export : summarize:bool -> t -> Db.t

val make : unit -> t
(** [make ()] returns an empty search database. *)

val load : t -> int
val type_of_odoc : db:t -> Odoc_model.Lang.TypeExpr.t -> Db.Typexpr.t
val store_type_polarities : t -> Db.Entry.t -> Db.Type_polarity.t Seq.t -> unit
val store_word : t -> string -> Db.Entry.t -> unit