dprint_swc_ext::view

Function with_ast_view_for_module

Source
pub fn with_ast_view_for_module<'a, T>(
    info: ModuleInfo<'_>,
    with_view: impl FnOnce(&'a Module<'a>) -> T,
) -> T