Function rustpython_codegen::compile::compile_top
source · pub fn compile_top(
ast: &Mod,
source_path: String,
mode: Mode,
opts: CompileOpts
) -> Result<CodeObject, CodegenError>
Expand description
Compile an located_ast::Mod produced from rustpython_parser::parse()