use super::*;
use quote::*;
use syn::*;
pub fn core_path_attr(attrs: &[Attribute]) -> TokenStream2 {
let mut core_path = quote!(::alchemist);
for attr in attrs.iter() {
if attr.path().is_ident("core_path") {
if let Ok(path) = attr.parse_args::<Path>() {
core_path = quote!(#path);
}
}
}
core_path
}