Function rslint_parser::parse_module[][src]

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

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