jon.recoil.org

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.

val name : Ocaml_typing.Shape.Item.t -> string
val extension_constructor : Ocaml_typing.Ident.t -> Ocaml_typing.Shape.Item.t
val is_constructor : Ocaml_typing.Shape.Item.t -> bool
val is_label : Ocaml_typing.Shape.Item.t -> bool
val is_unboxed_label : Ocaml_typing.Shape.Item.t -> bool