Function ir_to_bytecode::parser::parse_module
source · pub fn parse_module(
file_name: Symbol,
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