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`