package melange

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Statement.EnumDeclarationSource

Sourcemodule DefaultedMember : sig ... end
Sourcemodule InitializedMember : sig ... end
Sourcemodule BooleanBody : sig ... end
Sourcemodule NumberBody : sig ... end
Sourcemodule StringBody : sig ... end
Sourcemodule SymbolBody : sig ... end
Sourcemodule BigIntBody : sig ... end
Sourcetype ('M, 'T) t = {
  1. id : ('M, 'T) Identifier.t;
  2. body : 'M body;
  3. comments : ('M, unit) Syntax.t option;
}
Sourceand 'M body = 'M * 'M body'
Sourceand 'M body' =
  1. | BooleanBody of 'M BooleanBody.t
  2. | NumberBody of 'M NumberBody.t
  3. | StringBody of 'M StringBody.t
  4. | SymbolBody of 'M SymbolBody.t
  5. | BigIntBody of 'M BigIntBody.t
Sourceval pp : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> Format.formatter -> ('M, 'T) t -> unit
Sourceval show : (Format.formatter -> 'M -> unit) -> (Format.formatter -> 'T -> unit) -> ('M, 'T) t -> string
Sourceval pp_body : (Format.formatter -> 'M -> unit) -> Format.formatter -> 'M body -> unit
Sourceval show_body : (Format.formatter -> 'M -> unit) -> 'M body -> string
Sourceval pp_body' : (Format.formatter -> 'M -> unit) -> Format.formatter -> 'M body' -> unit
Sourceval show_body' : (Format.formatter -> 'M -> unit) -> 'M body' -> string