cairo_lang_compiler

Function get_sierra_program_for_functions

Source
pub fn get_sierra_program_for_functions(
    db: &RootDatabase,
    requested_function_ids: Vec<ConcreteFunctionWithBodyId>,
    diagnostic_reporter: DiagnosticsReporter<'_>,
) -> Result<Arc<SierraProgramWithDebug>>
Expand description

Checks if there are diagnostics in the database and if there are None, returns the SierraProgramWithDebug object of the requested functions