Module Statement.EnumDeclaration

module DefaultedMember: { ... };
module InitializedMember: { ... };
module BooleanBody: { ... };
module NumberBody: { ... };
module StringBody: { ... };
module SymbolBody: { ... };
type t('M, 'T) = {
  1. id: Identifier.t('M, 'T),
  2. body: body('M),
  3. comments: option(Syntax.t('M, unit)),
};
and body('M) = ('M, body'('M));
and body'('M) =
  1. | BooleanBody(BooleanBody.t('M))
  2. | NumberBody(NumberBody.t('M))
  3. | StringBody(StringBody.t('M))
  4. | SymbolBody(SymbolBody.t('M))
;