Module Class.Body

type t('M, 'T) = ('M, t'('M, 'T));
and t'('M, 'T) = {
  1. body: list(element('M, 'T)),
  2. comments: option(Syntax.t('M, unit)),
};
and element('M, 'T) =
  1. | Method(Method.t('M, 'T))
  2. | Property(Property.t('M, 'T))
  3. | PrivateField(PrivateField.t('M, 'T))
  4. | StaticBlock(StaticBlock.t('M, 'T))
;
let pp: (Format.formatter => 'M => unit) => (Format.formatter => 'T => unit) => Format.formatter => t('M, 'T) => unit;
let show: (Format.formatter => 'M => unit) => (Format.formatter => 'T => unit) => t('M, 'T) => string;
let pp_t': (Format.formatter => 'M => unit) => (Format.formatter => 'T => unit) => Format.formatter => t'('M, 'T) => unit;
let show_t': (Format.formatter => 'M => unit) => (Format.formatter => 'T => unit) => t'('M, 'T) => string;
let pp_element: (Format.formatter => 'M => unit) => (Format.formatter => 'T => unit) => Format.formatter => element('M, 'T) => unit;
let show_element: (Format.formatter => 'M => unit) => (Format.formatter => 'T => unit) => element('M, 'T) => string;