fn wrap_fun_(body: ast::FuncBody, params: Vec<ast::FunParam>, pos: Pos) -> ast::Fun_ {
    ast::Fun_ {
        span: pos.clone(),
        readonly_this: None,
        annotation: (),
        readonly_ret: None,
        ret: ast::TypeHint((), None),
        name: make_id(pos, ";anonymous"),
        tparams: vec![],
        where_constraints: vec![],
        variadic: aast::FunVariadicity::FVnonVariadic,
        params,
        body,
        fun_kind: ast::FunKind::FSync,
        ctxs: None,        // TODO(T70095684)
        unsafe_ctxs: None, // TODO(T70095684)
        user_attributes: vec![],
        external: false,
        doc_comment: None,
    }
}
/// Wrap a FuncBody into an anonymous Fun_
Wrap a FuncBody into an anonymous Fun_
Wrap a FuncBody into an anonymous Fun_
fn wrap_fun_(body: ast::FuncBody, params: Vec<ast::FunParam>, pos: Pos) -> ast::Fun_ {
    ast::Fun_ {
        span: pos.clone(),
        readonly_this: None,
        annotation: (),
        readonly_ret: None,
        ret: ast::TypeHint((), None),
        name: make_id(pos, ";anonymous"),
        tparams: vec![],
        where_constraints: vec![],
        variadic: aast::FunVariadicity::FVnonVariadic,
        params,
        body,
        fun_kind: ast::FunKind::FSync,
        ctxs: None,        // TODO(T70095684)
        unsafe_ctxs: None, // TODO(T70095684)
        user_attributes: vec![],
        external: false,
        doc_comment: None,
    }
}
fn wrap_fun_ ( body : ast :: FuncBody , params : Vec < ast :: FunParam > , pos : Pos ) -> ast :: Fun_ { ast :: Fun_ { span : pos . clone ( ) , readonly_this : None , annotation : ( ) , readonly_ret : None , ret : ast :: TypeHint ( ( ) , None ) , name : make_id ( pos , " " ) , tparams : vec ! [ ] , where_constraints : vec ! [ ] , variadic : aast :: FunVariadicity :: FVnonVariadic , params , body , fun_kind : ast :: FunKind :: FSync , ctxs : None , // TODO(T70095684) unsafe_ctxs : None , // TODO(T70095684) user_attributes : vec ! [ ] , external : false , doc_comment : None , } }
Wrap a FuncBody into an anonymous Fun_
Wrap a FuncBody into an anonymous Fun_
body
ast::FuncBody
params
Vec<ast::FunParam>
pos
Pos
body
ast::FuncBody
params
Vec<ast::FunParam>
pos
Pos