// Finds the AST for this item in the crate metadata, if any.  If the item was
// not marked for inlining, then the AST will not be present and hence none
// will be returned.
Finds the AST for this item in the crate metadata, if any.  If the item was
not marked for inlining, then the AST will not be present and hence none
will be returned.
Finds the AST for this item in the crate metadata if any . If the item was not marked for inlining then the AST will not be present and hence none will be returned .
pub fn maybe_get_item_ast<'tcx>(tcx: &ty::ctxt<'tcx>, def: DefId,
                                decode_inlined_item: decoder::DecodeInlinedItem)
                                -> FoundAst<'tcx> {
    let cstore = &tcx.sess.cstore;
    let cdata = cstore.get_crate_data(def.krate);
    decoder::maybe_get_item_ast(&*cdata, tcx, def.node, decode_inlined_item)
}
pub fn maybe_get_item_ast < ' tcx > ( tcx : & ty :: ctxt < ' tcx > , def : DefId , decode_inlined_item : decoder :: DecodeInlinedItem ) -> FoundAst < ' tcx > { let cstore = & tcx . sess . cstore ; let cdata = cstore . get_crate_data ( def . krate ) ; decoder :: maybe_get_item_ast ( & * cdata , tcx , def . node , decode_inlined_item ) }
Finds the AST for this item in the crate metadata, if any.
Finds the AST for this item in the crate metadata if any .
tcx
&ty::ctxt<'tcx>
def
DefId
decode_inlined_item
decoder::DecodeInlinedItem