sherlodoc.db
Db.String_automata
sherlodoc.db_store
sherlodoc.query
sherlodoc.storage_js
sherlodoc.storage_marshal
type terminals =
| Empty
| Terminals of Entry.t array
| Summary of Entry.t array
type node = {
start : int;
len : int;
size : int;
terminals : terminals;
children : node array option;
}
type t = {
str : string;
t : node;
val empty : unit -> node
val find : t -> string -> t option
val find_star : t -> string -> t list
val minimum : t -> Entry.t
val size : t -> int