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()
pub fn compile_top(
ast: &Mod,
source_path: String,
mode: Mode,
opts: CompileOpts,
) -> Result<CodeObject, CodegenError>
Compile an located_ast::Mod produced from rustpython_parser::parse()