[][src]Function rslint_parser::parse_module

pub fn parse_module(text: &str, file_id: usize) -> Parse<Module>

Same as parse_text but configures the parser to parse an ECMAScript module instead of a script