Module MatchPattern.AsPattern

type target('M, 'T) =
  1. | Identifier(Identifier.t('M, 'T))
  2. | Binding('M, BindingPattern.t('M, 'T))
;
and t('M, 'T) = {
  1. pattern: MatchPattern.t('M, 'T),
  2. target: target('M, 'T),
  3. comments: option(Syntax.t('M, unit)),
};
let pp_target: (Format.formatter => 'M => unit) => (Format.formatter => 'T => unit) => Format.formatter => target('M, 'T) => unit;
let show_target: (Format.formatter => 'M => unit) => (Format.formatter => 'T => unit) => target('M, 'T) => string;
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;