pub fn compile(context: Context, module: &FeModuleAst) -> Result<NamedYulContracts, CompileError> {
    Ok(mappers::module::module(&context, module)?
        .drain()
        .map(|(name, object)| (name, object.to_string().replace("\"", "\\\"")))
        .collect::<NamedYulContracts>())
}
/// Compiles Fe source code to Yul.
Compiles Fe source code to Yul.
Compiles Fe source code to Yul .
pub fn compile(context: Context, module: &FeModuleAst) -> Result<NamedYulContracts, CompileError> {
    Ok(mappers::module::module(&context, module)?
        .drain()
        .map(|(name, object)| (name, object.to_string().replace("\"", "\\\"")))
        .collect::<NamedYulContracts>())
}
pub fn compile ( context : Context , module : & FeModuleAst ) -> Result < NamedYulContracts , CompileError > { Ok ( mappers :: module :: module ( & context , module ) ? . drain ( ) . map ( | ( name , object ) | ( name , object . to_string ( ) . replace ( " \" " , " \\ \" " ) ) ) . collect :: < NamedYulContracts > ( ) ) }
Compiles Fe source code to Yul.
Compiles Fe source code to Yul .
context
Context
module
&FeModuleAst
context
Context
module
&FeModuleAst