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