Function parse

Source
pub fn parse<I: AsRef<str>>(
    contents: I,
) -> Result<Vec<Directive>, Vec<ParseError>>
Expand description

Parses the given content into a list of Hledger journal directives.

ยงErrors

Will return a list of parsing errors if input is not a valid hledger journal.