Module Object.Property

type t('M, 'T) = ('M, t'('M, 'T));
and t'('M, 'T) = {
  1. key: Expression.Object.Property.key('M, 'T),
  2. value: value('M, 'T),
  3. optional: bool,
  4. static: bool,
  5. proto: bool,
  6. _method: bool,
  7. variance: option(Variance.t('M)),
  8. comments: option(Syntax.t('M, unit)),
};
and value('M, 'T) =
  1. | Init(Type.t('M, 'T))
  2. | Get(('M, Function.t('M, 'T)))
  3. | Set(('M, Function.t('M, 'T)))
;