Skip to main content

parse

Function parse 

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

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