Skip to main content

parse

Function parse 

Source
pub fn parse(source: &str) -> Document
Expand description

Lex + parse source in one shot, dropping all diagnostics. Convenience for tests + the parse bin; production callers should construct their own DiagnosticEngine.