Module Shape.Item

Shape's items are elements of a structure or, in the case of constructors and labels, elements of a record or variants definition seen as a structure. These structures model module components and nested types' constructors and labels.

type t = (string, Sig_component_kind.t);
let name: t => string;
let kind: t => Sig_component_kind.t;
let make: string => Sig_component_kind.t => t;
let value: Ident.t => t;
let type_: Ident.t => t;
let constr: Ident.t => t;
let label: Ident.t => t;
let module_: Ident.t => t;
let module_type: Ident.t => t;
let extension_constructor: Ident.t => t;
let class_: Ident.t => t;
let class_type: Ident.t => t;
let print: Stdlib.Format.formatter => t => unit;
module Map: Stdlib.Map.S with type key = t;