Module Shape.ItemSource

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.

Sourcetype t = string * Sig_component_kind.t
Sourceval name : t -> string
Sourceval make : string -> Sig_component_kind.t -> t
Sourceval value : Ident.t -> t
Sourceval type_ : Ident.t -> t
Sourceval constr : Ident.t -> t
Sourceval label : Ident.t -> t
Sourceval module_ : Ident.t -> t
Sourceval module_type : Ident.t -> t
Sourceval extension_constructor : Ident.t -> t
Sourceval class_ : Ident.t -> t
Sourceval class_type : Ident.t -> t
Sourceval print : Format.formatter -> t -> unit
Sourcemodule Map : Map.S with type key = t