pub fn expand_view_item(vi: &ast::ViewItem,
                        fld: &mut MacroExpander)
                        -> ast::ViewItem {
    let should_load = vi.attrs.iter().any(|attr| {
        "phase" == attr.name() &&
            attr.meta_item_list().map_or(false, |phases| {
                attr::contains_name(phases, "syntax")
            })
    });

    if should_load {
        load_extern_macros(vi, fld);
    }

    noop_fold_view_item(vi, fld)
}
// load macros from syntax-phase crates
load macros from syntax-phase crates
load macros from syntax - phase crates
pub fn expand_view_item(vi: &ast::ViewItem,
                        fld: &mut MacroExpander)
                        -> ast::ViewItem {
    let should_load = vi.attrs.iter().any(|attr| {
        "phase" == attr.name() &&
            attr.meta_item_list().map_or(false, |phases| {
                attr::contains_name(phases, "syntax")
            })
    });
    if should_load {
        load_extern_macros(vi, fld);
    }
    noop_fold_view_item(vi, fld)
}
pub fn expand_view_item ( vi : & ast :: ViewItem , fld : & mut MacroExpander ) -> ast :: ViewItem { let should_load = vi . attrs . iter ( ) . any ( | attr | { " " == attr . name ( ) && attr . meta_item_list ( ) . map_or ( false , | phases | { attr :: contains_name ( phases , " " ) } ) } ) ; if should_load { load_extern_macros ( vi , fld ) ; } noop_fold_view_item ( vi , fld ) }
load macros from syntax-phase crates
load macros from syntax - phase crates
vi
&ast::ViewItem
fld
&mut MacroExpander
vi
&ast::ViewItem
fld
&mut MacroExpander