pub fn parse_stmt_like<'a, P: Parser<'a>, Type: IsDirective + From<Stmt>>(
p: &mut P,
include_decl: bool,
handle_import_export: impl Fn(&mut P, Vec<Decorator>) -> PResult<Type>,
) -> PResult<Type>
Expand description
Parse a statement, declaration or module item.