// Auto-generated code, DO NOT EDIT DIRECTLY!
// To edit this generated file you have to edit `tasks/ast_tools/src/main.rs`.

use proc_macro2::TokenStream;
use quote::quote;

pub fn get_trait_crate_and_generics(trait_name: &str) -> Option<(TokenStream, TokenStream)> {
    let res = match trait_name {
        "CloneIn" => (quote!(::oxc_allocator::CloneIn), quote!(< 'static >)),
        "Dummy" => (quote!(::oxc_allocator::Dummy), quote!(< 'static >)),
        "TakeIn" => (quote!(::oxc_allocator::TakeIn), quote!(< 'static >)),
        "ReplaceWith" => (quote!(::oxc_allocator::ReplaceWith), quote!(< 'static >)),
        "GetAddress" => (quote!(::oxc_allocator::GetAddress), TokenStream::new()),
        "UnstableAddress" => (quote!(::oxc_allocator::UnstableAddress), TokenStream::new()),
        "GetSpan" => (quote!(::oxc_span::GetSpan), TokenStream::new()),
        "GetSpanMut" => (quote!(::oxc_span::GetSpanMut), TokenStream::new()),
        "ContentEq" => (quote!(::oxc_span::ContentEq), TokenStream::new()),
        "ESTree" => (quote!(::oxc_estree::ESTree), TokenStream::new()),
        _ => return None,
    };
    Some(res)
}
