alloy_sol_macro_input/
expander.rs

1
2
3
4
5
6
7
8
use crate::SolInput;
use proc_macro2::TokenStream;

/// Expands a `SolInput` into a `TokenStream`.
pub trait SolInputExpander {
    /// Expand a `SolInput` into a `TokenStream`.
    fn expand(&mut self, input: &SolInput) -> syn::Result<TokenStream>;
}