Skip to main content

compile_with_syntax_warning_handler

Function compile_with_syntax_warning_handler 

Source
pub fn compile_with_syntax_warning_handler<'a>(
    source: &str,
    mode: Mode,
    source_path: &str,
    opts: CompileOpts,
    syntax_warning_handler: &'a mut dyn FnMut(SourceLocation, String) -> Result<(), CodegenError>,
) -> Result<CodeObject, CompileError>