Skip to main content

parse_javascript

Function parse_javascript 

Source
pub fn parse_javascript(source: &str) -> Result<SProgram>
Expand description

Reads a JavaScript ES module into the surface AST.

ยงErrors

On syntax errors, type errors in JSDoc annotations and constructs outside the portable core.