Skip to main content

parse_module_with_file

Function parse_module_with_file 

Source
pub fn parse_module_with_file(code: &str, file: &str) -> StrykeResult<Program>
Expand description

Like parse_with_file, but marks the parser as loading a module. Modules are allowed to shadow stryke builtins (e.g. sub blessed { ... } in Scalar::Util.pm) unless --no-interop.