Module ComponentDeclaration.Param

type t('M, 'T) = ('M, t'('M, 'T));
and t'('M, 'T) = {
  1. name: param_name('M, 'T),
  2. local: Pattern.t('M, 'T),
  3. default: option(Expression.t('M, 'T)),
  4. shorthand: bool,
};
and param_name('M, 'T) =
  1. | Identifier(Identifier.t('M, 'T))
  2. | StringLiteral(('M, StringLiteral.t('M)))
;
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_param_name: (Format.formatter => 'M => unit) => (Format.formatter => 'T => unit) => Format.formatter => param_name('M, 'T) => unit;
let show_param_name: (Format.formatter => 'M => unit) => (Format.formatter => 'T => unit) => param_name('M, 'T) => string;