Statement.ImportDeclaration
and ('M, 'T) specifier =
| ImportNamedSpecifiers of ('M, 'T) named_specifier list
| ImportNamespaceSpecifier of 'M * ('M, 'T) Identifier.t
and ('M, 'T) named_specifier = {
kind : import_kind option;
local : ('M, 'T) Identifier.t option;
remote : ('M, 'T) Identifier.t;
remote_name_def_loc : 'M option;
}
and ('M, 'T) default_identifier = {
identifier : ('M, 'T) Identifier.t;
remote_default_name_def_loc : 'M option;
}
and ('M, 'T) t = {
import_kind : import_kind;
source : 'T * 'M StringLiteral.t;
default : ('M, 'T) default_identifier option;
specifiers : ('M, 'T) specifier option;
comments : ('M, unit) Syntax.t option;
}