Function move_ir_to_bytecode::parser::parse_module
source · [−]pub fn parse_module(modules_str: &str) -> Result<ModuleDefinition>
Expand description
Given the raw input of a file, creates a single ModuleDefinition
struct
Fails with Err(_)
if the text cannot be parsed