Flow_ast.Class
module Method: { ... };
module Property: { ... };
module PrivateField: { ... };
module Extends: { ... };
module Implements: { ... };
module Body: { ... };
module Decorator: { ... };
type t('M, 'T) = {
id: option(Identifier.t('M, 'T)),
body: Body.t('M, 'T),
tparams: option(Type.TypeParams.t('M, 'T)),
extends: option(Extends.t('M, 'T)),
implements: option(Implements.t('M, 'T)),
class_decorators: list(Decorator.t('M, 'T)),
comments: option(Syntax.t('M, unit)),
};