Skip to main content

parse

Function parse 

Source
pub fn parse(text: &str) -> Result<(Vec<Segment>, Vec<Directive>), Vec<String>>
Expand description

Parse every top-level directive out of text. Returns the directives and the text segments between them, or every problem found.