Module Kappa_generic_toolset.NamedDecls
type 'a t= private{decls : (string * 'a) array;the name of the stuff * the stuff
finder : int Mods.StringMap.t;fst (fst d.decls.(StringMap.find s d.finder))MUST be equal tos}
val create : ?forbidden:Mods.StringSet.t -> (string Locality.annot * 'a) array -> 'a tval size : 'a t -> intval elt_name : 'a t -> int -> stringval elt_id : ?kind:string -> 'a t -> string Locality.annot -> intval fold : (int -> string -> 'a -> 'b -> 'a) -> 'a -> 'b t -> 'aval mapi : (int -> string -> 'a -> 'b) -> 'a t -> 'b tval print : sep:(Format.formatter -> unit) -> (int -> string -> Format.formatter -> 'a -> unit) -> Format.formatter -> 'a t -> unitval debug_print : (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a t -> unitval to_json : ('a -> Yojson.Basic.t) -> 'a t -> Yojson.Basic.tval of_json : (Yojson.Basic.t -> 'a) -> Yojson.Basic.t -> 'a t- raises Yojson.Basic.Util.Type_error
if it fails