[−][src]Function boa::parse
pub fn parse(src: &str) -> StdResult<StatementList, ParseError>
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.
pub fn parse(src: &str) -> StdResult<StatementList, ParseError>
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.