Function move_ir_to_bytecode::parser::parse_script_or_module
source · [−]pub fn parse_script_or_module(s: &str) -> Result<ScriptOrModule>
Expand description
Given the raw input of a file, creates a ScriptOrModule
enum
Fails with Err(_)
if the text cannot be parsed`