parse

Function parse 

Source
pub fn parse<T: AsRef<[u8]>>(
    src: T,
    strict_mode: bool,
) -> Result<StatementList, ParseError>
Expand description

Parses the given source code.

It will return either the statement list AST node for the code, or a parsing error if something goes wrong.