[][src]Function rustpython_compiler::compile::compile

pub fn compile(
    source: &str,
    mode: Mode,
    source_path: String,
    optimize: u8
) -> Result<CodeObject, CompileError>

Compile a given sourcecode into a bytecode object.