pub fn derive_from_attributes(
    env: &mut CompilationEnv,
    address_map: &NamedAddressMap,
    def: &mut Definition,
) {
    if env.flags().has_flavor(EVM_FLAVOR) {
        derive_for_evm(env, address_map, def)
    }
    if env.flags().has_flavor(ASYNC_FLAVOR) {
        derive_for_async(env, address_map, def)
    }
}
/// Entry point for deriving definitions from attributes for the given module. Depending on the
/// flavor specified via the flags, this is dispatching to the according attribute processor.
Entry point for deriving definitions from attributes for the given module. Depending on the
flavor specified via the flags, this is dispatching to the according attribute processor.
Entry point for deriving definitions from attributes for the given module . Depending on the flavor specified via the flags this is dispatching to the according attribute processor .
pub fn derive_from_attributes(
    env: &mut CompilationEnv,
    address_map: &NamedAddressMap,
    def: &mut Definition,
) {
    if env.flags().has_flavor(EVM_FLAVOR) {
        derive_for_evm(env, address_map, def)
    }
    if env.flags().has_flavor(ASYNC_FLAVOR) {
        derive_for_async(env, address_map, def)
    }
}
pub fn derive_from_attributes ( env : & mut CompilationEnv , address_map : & NamedAddressMap , def : & mut Definition , ) { if env . flags ( ) . has_flavor ( EVM_FLAVOR ) { derive_for_evm ( env , address_map , def ) } if env . flags ( ) . has_flavor ( ASYNC_FLAVOR ) { derive_for_async ( env , address_map , def ) } }
Entry point for deriving definitions from attributes for the given module.
Entry point for deriving definitions from attributes for the given module .
env
&mut CompilationEnv
address_map
&NamedAddressMap
def
&mut Definition