pub fn parse(text: &str) -> Result<Doc, SyntaxError>
Parses text.
SyntaxError when the text doesn’t parse.
SyntaxError