Function ir_to_bytecode::parser::parse_script
source · pub fn parse_script(file_name: Symbol, script_str: &str) -> Result<Script>
Expand description
Given the raw input of a file, creates a Script
struct
Fails with Err(_)
if the text cannot be parsed