[][src]Function rslint_parser::syntax::decl::function_decl

pub fn function_decl(
    p: &mut Parser<'_>,
    m: Marker,
    fn_expr: bool
) -> CompletedMarker

A function declaration, this could be async and or a generator. This takes a marker because you need to first advance over async or start a marker and feed it in.