Function ecmascript::parse [−][src]
pub fn parse(source: &str) -> Result<Program, Error>
The main entry point to the parser. This function will return a fully constructed AST or an error message describing why it couldn't parse the input string.